Skip to content
Peritus
API reference · Account

Create attestation

POST/v1/account/attestations

Records an attestation against its statement's text (P3). Needs the account scope as an owner or admin.

scope
account
auth
Bearer key
operationId
CreateAttestation

Request body

application/json · AttestationRequest · no other fields

Request body fields
FieldTypeRequiredLimits
kindATTEST_NOT_CAPMARKETSyes
attested_bystringyes1 to 254 characters

Response

201 · Attestation. The attestation.

Response fields
FieldType
attestation_idstring · uuid
kindstring
attested_bystring
attested_atstring · date-time
revoked_atstring · date-time · nullable

Problems

RFC 9457 application/problem+json. An abstention is not one of these: it is a 200.

Problems
HTTPCodeWhen
400INVALID_REQUESTMalformed JSON, unknown fields, bad filter, limit exceeded
401UNAUTHENTICATEDMissing, malformed, or revoked key
403FORBIDDEN_SCOPEThe key lacks the required scope
429RATE_LIMITEDRate limit or per-tenant model cap
500INTERNAL, POLICY_ASSERT_FAILED, RESPONSE_UNREPLAYABLEServer fault. The last two also alert
503STORE_UNAVAILABLE, LLM_UNAVAILABLE, LOG_UNAVAILABLEA dependency is down or a budget tripped