Use this file to discover all available pages before exploring further.
Creates a durable session for an agent. The session uses the agent version that is active when the session is created.You can optionally attach string key/value metadata, session-scoped secrets, and sandbox internet access overrides when creating the session. Values passed in secrets are available to the sandbox only when their names
are declared in the agent’s sandbox.secrets. The llm_api_key field is a
separate per-session LLM provider override; it is used for model calls and is
not injected into the sandbox environment. Secret values are accepted only when
the session is created and are never returned in API responses.
Optional string key/value metadata. Metadata is returned by session endpoints,
can be used for exact-match session filtering, and is included in session and
batch webhook payloads. Use keys such as managed_run_id, kind,
task_index, or llm_id to correlate sessions with your own runs.
Optional session-scoped secret values keyed by env-var-safe names. These can
override stored credentials with the same names for this session. Secret names
must match ^[A-Z_][A-Z0-9_]*$, and values must be non-empty strings.
Optional LLM provider API key for this session. This overrides the manifest’s
stored LLM credential or the Dari-managed default for provider calls only. It
is never exposed to sandbox code.
Optional override for whether this session’s execution sandbox can access the
public internet. If omitted, Dari uses sandbox.internet_access from the
agent manifest, which defaults to false.