attest Docs

Reference

Limits

Stay within the size, length, and nesting bounds the API enforces.

Request body #

Event fields #

Applies to POST /v1/events.

FieldBound
eventType1–255 characters of A-Z a-z 0-9 . _ : / -. Required.
eventId1–256 characters, same character set.
source, action, actorType, model, tool1–128 characters, same character set.
outcomeok, error, unset, or unknown.
timestampYYYY-MM-DDTHH:mm:ssZ or YYYY-MM-DDTHH:mm:ss.sssZ, UTC only.
Top-level fieldsOnly the fields above and metadata, ten in total. Anything else is rejected.
Example · JSON · metadata at the nesting limit
{
  "eventType": "ai.agent.tool_call",
  "metadata": {
    "request": {
      "route": { "region": "us-east-1" }
    }
  }
}

metadata #

BoundValue
TypeJSON object (not an array).
Top-level keysAt most 32.
Serialized sizeAt most 8,192 bytes of UTF-8 JSON.
Nesting depthObjects or arrays may nest at most 2 levels below the top-level object.
Keys1–128 characters. __proto__, constructor, and prototype are rejected.

Witness observation fields #

FieldBound
pairId16–128 characters of A-Z a-z 0-9 _ -.
eventType, eventId, actionRequired. 1–255 characters, not only whitespace. Any characters.
source, destination, outcomeOptional. If present, 1–255 characters, not only whitespace.
timestampRequired. YYYY-MM-DDTHH:mm:ss.sssZ or YYYY-MM-DDTHH:mm:ssZ, a real UTC date.

Witness evidence #

BoundValue
RootA plain JSON object.
Nesting depthAt most 8 levels of objects or arrays below the root.
MembersAt most 512 object keys plus array elements, counted across the whole value.
StringsAt most 8,192 characters each.
Object keysAt most 128 characters. __proto__, constructor, and prototype are rejected.
Canonical sizeAt most 64 KiB of canonical UTF-8 JSON.
Valuesnull, booleans, strings, finite numbers, dense arrays, and plain objects only.

The SDK applies the same evidence checks before sending. The server always checks again.

Not limited #

The /v1 endpoints apply no request-rate limit. The SDK still maps a 429 response to RATE_LIMIT_ERROR if one is ever returned.