CreateAgentSessionRequest
A request or response body; the type column links to the schemas it refers to.
CreateAgentSessionRequest
| Field | Type | Required | Description |
|---|---|---|---|
| title | string | yes | 1–200 characters |
| model_id | string | no | A model the caller's role limits allow; the deployment's default when left out. at least 1 character |
| scopes | array of string | no | The scopes to grant the session's agent, from the allowance's `allowed_scopes`; empty grants none, so the agent works in its sandbox alone. Left out, the session follows the role limits: every scope they allow, now and later. at most 100 items |
jsonExample
{
"title": "Overdue forklift certifications",
"model_id": "claude-opus-5-5",
"scopes": [
"records:read",
"certifications:read"
]
}