Skip to content

Records a distribution agent's attested check-in: it verifies the echoed artifact hash/fingerprint against the distribution record (a mismatch is a HIGH drift finding — tampered or stale artifact), upserts the scope's OBSERVED config (credential-redacted), computes drift against the latest published revision, and audits the whole thing.

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" }'

Records a distribution agent’s attested check-in: it verifies the echoed artifact hash/fingerprint against the distribution record (a mismatch is a HIGH drift finding — tampered or stale artifact), upserts the scope’s OBSERVED config (credential-redacted), computes drift against the latest published revision, and audits the whole thing.

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
Example generated
{
"artifact_sha256": "example",
"key_fingerprint": "example",
"observed_content": "example",
"revision": 1,
"scope": "example"
}

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