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
| Field | Type | Required | Limits |
|---|---|---|---|
| kind | ATTEST_NOT_CAPMARKETS | yes | |
| attested_by | string | yes | 1 to 254 characters |
Response
201 · Attestation. The attestation.
| Field | Type |
|---|---|
| attestation_id | string · uuid |
| kind | string |
| attested_by | string |
| attested_at | string · date-time |
| revoked_at | string · date-time · nullable |
Problems
RFC 9457 application/problem+json. An abstention is not one of these: it is a 200.
| HTTP | Code | When |
|---|---|---|
| 400 | INVALID_REQUEST | Malformed JSON, unknown fields, bad filter, limit exceeded |
| 401 | UNAUTHENTICATED | Missing, malformed, or revoked key |
| 403 | FORBIDDEN_SCOPE | The key lacks the required scope |
| 429 | RATE_LIMITED | Rate limit or per-tenant model cap |
| 500 | INTERNAL, POLICY_ASSERT_FAILED, RESPONSE_UNREPLAYABLE | Server fault. The last two also alert |
| 503 | STORE_UNAVAILABLE, LLM_UNAVAILABLE, LOG_UNAVAILABLE | A dependency is down or a budget tripped |