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
const url = 'https://example.com/v1/m/claude-policy/example/checkin';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"artifact_sha256":"example","key_fingerprint":"example","observed_content":"example","revision":1,"scope":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}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.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” surface
required
string
Path parameter surface.
Header Parameters
Section titled “Header Parameters ” X-Olivares-Tenant
string format: uuid
Target tenant id; required when the principal can act in more than one tenant.
Request Body required
Section titled “Request Body required ” Media type application/json
object
artifact_sha256
observed_content
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"}Responses
Section titled “ Responses ”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
{}