Skip to content

Returns HTTP 501 because fleet-wide Claude Code managed settings are a Business feature; no publish, history, pull, check-in or drift action is performed.

POST
/v1/m/claude-policy/{surface}/checkin
curl --request POST \
--url https://example.com/v1/m/claude-policy/example/checkin \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "artifact_sha256": "example", "key_fingerprint": "example", "observed_content": "example", "revision": 1, "scope": "example", "tools": [ { "driver": "example", "state": "ready", "version": "example" } ] }'

Returns HTTP 501 because fleet-wide Claude Code managed settings are a Business feature; no publish, history, pull, check-in or drift action is performed.

surface
required
string

Path parameter surface.

X-Olivares-Tenant
string format: uuid

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

Media type application/json
object
artifact_sha256
Any of:

Optional artifact hash echo; a missing or mismatched value records the check-in unverified.

string
key_fingerprint
Any of:

Optional signer fingerprint echo.

string
observed_content
Any of:

Optional observed document, capped at 262144 UTF-8 bytes and credential-redacted before persistence.

string
revision
Any of:

Zero records an unattested check-in.

integer
scope
required

After trimming, must be non-empty, at most 128 UTF-8 bytes and contain no control characters.

string
tools
Any of:

The AI tools on this workstation, as the full list: a check-in that carries tools replaces the scope’s earlier report (an empty list reports none), and one without tools leaves it unchanged. A driver appears once. The report is self-declared and unattested. Business only.

Array<object>
<= 32 items
object
driver
required

The provider driver key, for example claude or codex.

string
/^[a-z0-9][a-z0-9._-]{0,63}$/
state
required

The tool’s sign-in state, as olivares tool ls reports it.

string
Allowed values: ready not_signed_in not_installed unknown error
version
Any of:

The installed version when the tool reports one.

string
/^[0-9A-Za-z][0-9A-Za-z.+_~-]{0,63}$/

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
{}