CreateAgentSessionRequest

A request or response body; the type column links to the schemas it refers to.

CreateAgentSessionRequest

FieldTypeRequiredDescription
titlestringyes

1–200 characters

model_idstringno

A model the caller's role limits allow; the deployment's default when left out.

at least 1 character

scopesarray of stringno

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"
  ]
}