Capture actual encrypted customer evidence with original source custody and reviewed retention policy
/customers/{id}/recordsFresh records writer staff or customers:records:ingest service required. An ingest service may assert only its own source_service and has no record read authority. Capture actual content, base64 in JSON and limited to 256 KiB, matching SHA-256, source custody, original creation time and reviewed category. Each record gets an AES-GCM envelope with a random data key bound to its record ID. Missing retention-event evidence preserves indefinitely until an independently approved retention_event control. Existing customer-wide holds cover new records automatically. Idempotency is exact-content and actor bound; source references are unique per customer/source.
Path parameters
idstringRequiredHeaders
Idempotency-KeystringRequiredSend on every write that creates or changes money or state; a replay with the same key returns the original result with 200.
Body parameters
categorystringRequiredcontentstring · byteRequiredBase64 in JSON; maximum 256 KiB per evidenced record
content_sha256stringRequiredcontent_typestringRequiredcreated_atstring · date-timeRequiredevidence_refstringRequiredevidence_sha256stringRequiredreasonstringRequiredretention_event_atstring · date-time or nullOptionalsource_refstringRequiredsource_servicestringRequiredReturns
200 OK
active_holdsarray of stringsRequiredcategorystringRequiredcontent_bytesintegerRequiredcontent_sha256stringRequiredcontent_typestringRequiredcreated_atstring · date-timeRequiredcustomer_idstringRequiredExample cust_2tVh8nqLxq4GbDe0K1F6S9zRcWm
disposed_atstring · date-time or nullOptionalidstringRequiredpermanentbooleanRequiredrecorded_atstring · date-timeRequiredrecorded_bystringRequiredretain_untilstring · date-time or nullOptionalretention_starts_atstring · date-time or nullOptionalschedule_idstringRequiredsource_refstringRequiredsource_servicestringRequiredErrors
Every error is a problem document with a stable code. See Errors.
400401403404409412413422424429500503