Limits
The demo company
The demo company comes with demonstration agents, which use this interface from inside the platform. Connecting your company’s own agents is part of a company deployment, arranged on request: request a quote.
The values below apply on synarun.com. An HTTP request over a rate or size limit gets an error, described in Errors, not a decision.
The security profile
On synarun.com, sessions use the security profile synarun.security-profile.pilot.v1, which a session names in security_profile_id. Read the durations from the answers (expires_in, session_expires_at, expires_at) instead of fixing them in the agent’s code.
| Parameter | Value | Unit | What it limits |
|---|---|---|---|
access_token_ttl_s | 600 | seconds | The lifetime of an access token. |
session_max_lifetime_s | 28,800 | seconds | The maximum lifetime of a session, that is 8 hours. |
client_assertion_max_lifetime_s | 60 | seconds | The maximum difference between the client assertion’s exp and iat. |
dpop_iat_window_s | 60 | seconds | The maximum difference between a proof’s iat and the server’s clock. |
dpop_nonce_lifetime_s | 300 | seconds | How long a server nonce stays valid. |
max_active_sessions_per_credential | 32 | sessions | The active sessions of one agent key at the same time. |
decision_ttl_s | 900 | seconds | How long an Allowed decision can lead to a new execution. |
approval_ttl_s | 86,400 | seconds | How long an approval waits, that is 24 hours. |
dpop_nonce_token_endpoint | yes | not applicable | The server’s nonce is required at /v1/token. |
dpop_nonce_resource_endpoints | no | not applicable | The server’s nonce is required at the other routes too. |
Rate limits
Each limit is counted per minute, separately. An HTTP request above a limit gets 429 RATE_LIMITED, with the Retry-After header, before anything is recorded.
| Parameter | Value | Unit | What it limits |
|---|---|---|---|
unauthenticated_per_ip_per_min | 60 | per minute | The HTTP requests without authentication, that is those to /v1/token, from the same address. |
requests_per_ip_per_min | 1,200 | per minute | Any HTTP request from the same address. |
requests_per_session_per_min | 600 | per minute | The authenticated HTTP requests of one session. |
intents_per_agent_per_min | 120 | per minute | The actions of one agent, across all its sessions. |
restricted_outcomes_per_agent_per_min | 20 | per minute | The decisions of one agent whose reason is CONTEXT_MISSING, CONTEXT_STALE, CONTEXT_CONFLICT or RULE_RESTRICTION. |
Sizes
| Field | Limit | Unit | What it limits |
|---|---|---|---|
body | 65,536 | bytes | The body of any HTTP request, that is 64 KiB. |
content_base64 | 49,104 | bytes | The uploaded document, after decoding: in base64, it must fit in the 64 KiB body, written without spaces. Synarun’s own limit on a document, 262,144 bytes, is not reached through this interface. |
justification | 2,000 | characters | An action’s explanation. |
idempotency_key | 8–128 | characters | An action’s idempotency key. |
context_refs | 50 | identifiers | The facts an action names. |
services | 64 | services | The services GET /v1/services shows. |
nesting | 32 | levels | How deep objects and arrays may be nested in a JSON body; deeper gets 400 PROTOCOL_NESTING_TOO_DEEP. |
The access request
| Field | Limit | Unit | What it limits |
|---|---|---|---|
justification | 10–2,000 | characters | The access request’s justification. |
operations | 1–16 | operations | The operations requested, each once. |
monthly_limit.amount_minor | 1–1,000,000,000,000 | minor units | The monthly limit requested, in lei (RON). |