Contents

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.

ParameterValueUnitWhat it limits
access_token_ttl_s600secondsThe lifetime of an access token.
session_max_lifetime_s28,800secondsThe maximum lifetime of a session, that is 8 hours.
client_assertion_max_lifetime_s60secondsThe maximum difference between the client assertion’s exp and iat.
dpop_iat_window_s60secondsThe maximum difference between a proof’s iat and the server’s clock.
dpop_nonce_lifetime_s300secondsHow long a server nonce stays valid.
max_active_sessions_per_credential32sessionsThe active sessions of one agent key at the same time.
decision_ttl_s900secondsHow long an Allowed decision can lead to a new execution.
approval_ttl_s86,400secondsHow long an approval waits, that is 24 hours.
dpop_nonce_token_endpointyesnot applicableThe server’s nonce is required at /v1/token.
dpop_nonce_resource_endpointsnonot applicableThe 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.

ParameterValueUnitWhat it limits
unauthenticated_per_ip_per_min60per minuteThe HTTP requests without authentication, that is those to /v1/token, from the same address.
requests_per_ip_per_min1,200per minuteAny HTTP request from the same address.
requests_per_session_per_min600per minuteThe authenticated HTTP requests of one session.
intents_per_agent_per_min120per minuteThe actions of one agent, across all its sessions.
restricted_outcomes_per_agent_per_min20per minuteThe decisions of one agent whose reason is CONTEXT_MISSING, CONTEXT_STALE, CONTEXT_CONFLICT or RULE_RESTRICTION.

Sizes

FieldLimitUnitWhat it limits
body65,536bytesThe body of any HTTP request, that is 64 KiB.
content_base6449,104bytesThe 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.
justification2,000charactersAn action’s explanation.
idempotency_key8–128charactersAn action’s idempotency key.
context_refs50identifiersThe facts an action names.
services64servicesThe services GET /v1/services shows.
nesting32levelsHow deep objects and arrays may be nested in a JSON body; deeper gets 400 PROTOCOL_NESTING_TOO_DEEP.

The access request

FieldLimitUnitWhat it limits
justification10–2,000charactersThe access request’s justification.
operations1–16operationsThe operations requested, each once.
monthly_limit.amount_minor1–1,000,000,000,000minor unitsThe monthly limit requested, in lei (RON).