Reference
Limits
Stay within the size, length, and nesting bounds the API enforces.
Request body #
Event fields #
Applies to POST /v1/events.
| Field | Bound |
|---|---|
eventType | 1–255 characters of A-Z a-z 0-9 . _ : / -. Required. |
eventId | 1–256 characters, same character set. |
source, action, actorType, model, tool | 1–128 characters, same character set. |
outcome | ok, error, unset, or unknown. |
timestamp | YYYY-MM-DDTHH:mm:ssZ or YYYY-MM-DDTHH:mm:ss.sssZ, UTC only. |
| Top-level fields | Only the fields above and metadata, ten in total. Anything else is rejected. |
{
"eventType": "ai.agent.tool_call",
"metadata": {
"request": {
"route": { "region": "us-east-1" }
}
}
}metadata #
| Bound | Value |
|---|---|
| Type | JSON object (not an array). |
| Top-level keys | At most 32. |
| Serialized size | At most 8,192 bytes of UTF-8 JSON. |
| Nesting depth | Objects or arrays may nest at most 2 levels below the top-level object. |
| Keys | 1–128 characters. __proto__, constructor, and prototype are rejected. |
Witness observation fields #
| Field | Bound |
|---|---|
pairId | 16–128 characters of A-Z a-z 0-9 _ -. |
eventType, eventId, action | Required. 1–255 characters, not only whitespace. Any characters. |
source, destination, outcome | Optional. If present, 1–255 characters, not only whitespace. |
timestamp | Required. YYYY-MM-DDTHH:mm:ss.sssZ or YYYY-MM-DDTHH:mm:ssZ, a real UTC date. |
Witness evidence #
| Bound | Value |
|---|---|
| Root | A plain JSON object. |
| Nesting depth | At most 8 levels of objects or arrays below the root. |
| Members | At most 512 object keys plus array elements, counted across the whole value. |
| Strings | At most 8,192 characters each. |
| Object keys | At most 128 characters. __proto__, constructor, and prototype are rejected. |
| Canonical size | At most 64 KiB of canonical UTF-8 JSON. |
| Values | null, 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.