Skip to content

capabilities module route (requires capabilities:config:write)

POST
/v1/m/capabilities/toolpins/approve
curl --request POST \
--url https://example.com/v1/m/capabilities/toolpins/approve \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "expected_drift_fingerprint": "example", "expected_version": 1, "fingerprint": "example", "from_drift": true, "tool": "example" }'

Approves one tool pin; the call requires an Idempotency-Key header and the version the caller expects, and answers 501 when no pin verifier is wired.

X-Olivares-Tenant
string format: uuid

Target tenant id; required when the principal can act in more than one tenant.

Media type application/json
Any of:
object
expected_drift_fingerprint
Any of:
string
expected_version
required
integer
fingerprint
required
string
>= 1 characters
from_drift
Any of:
boolean
tool
required
string
>= 1 characters
key
additional properties
any

OK

Media type application/json
object
Example generated
{}

Bad request

Media type application/json
object
Example generated
{}

Unauthenticated

Media type application/json
object
Example generated
{}

Forbidden

Media type application/json
object
Example generated
{}

Not found

Media type application/json
object
Example generated
{}

Conflict / setup required

Media type application/json
object
Example generated
{}

Rate limited

Media type application/json
object
Example generated
{}