Update Session
Path parameters
Path parameter session_id
Headers
Request body
Example request
{
"title": "Order #1234 inquiry"
}Response
Successful response (OK)
Example response
{
"type": "session",
"id": "sesn_011CZkZAtmR3yMPDzynEDxu7",
"status": "idle",
"created_at": "2026-03-15T10:00:00Z",
"updated_at": "2026-03-15T10:00:00Z",
"archived_at": null,
"budget": null,
"environment_id": "env_011CZkZ9X2dpNyB7HsEFoRfW",
"title": "Order #1234 inquiry",
"metadata": {},
"agent": {
"type": "agent",
"id": "agent_011CZkYpogX7uDKUyvBTophP",
"version": 1,
"name": "My First Agent",
"description": "A general-purpose starter agent.",
"model": {
"id": "claude-opus-5",
"speed": "standard"
},
"system": "You are a general-purpose agent that can research, write code, run commands, and use connected tools to complete the user's task end to end.",
"tools": [
{
"type": "agent_toolset_20260401",
"default_config": {
"enabled": true,
"permission_policy": {
"type": "always_ask"
}
},
"configs": []
}
],
"mcp_servers": [
{
"type": "url",
"name": "example-mcp",
"url": "https://example-server.modelcontextprotocol.io/sse"
}
],
"skills": [
{
"type": "anthropic",
"skill_id": "xlsx",
"version": "1"
},
{
"type": "custom",
"skill_id": "skill_011CZkZFNu9hAbo3jZPRgTlx",
"version": "2"
}
],
"multiagent": null
},
"resources": [
{
"type": "file",
"id": "sesrsc_011CZkZBJq5dWxk9fVLNcPht",
"file_id": "file_011CNha8iCJcU1wXNR6q4V8w",
"mount_path": "/uploads/receipt.pdf",
"created_at": "2026-03-15T10:00:00Z",
"updated_at": "2026-03-15T10:00:00Z"
},
{
"type": "github_repository",
"id": "sesrsc_011CZkZCKr6eXyl0gWMOdQiu",
"url": "https://github.com/example-org/example-repo",
"mount_path": "/workspace/example-repo",
"checkout": {
"type": "branch",
"name": "main"
},
"created_at": "2026-03-15T10:00:00Z",
"updated_at": "2026-03-15T10:00:00Z"
}
],
"vault_ids": [
"vlt_011CZkZDLs7fYzm1hXNPeRjv"
],
"usage": {
"input_tokens": 0,
"output_tokens": 0,
"cache_read_input_tokens": 0
},
"stats": {
"duration_seconds": 0,
"active_seconds": 0
},
"outcome_evaluations": [
{
"type": "outcome_evaluation",
"outcome_id": "outc_011CZkZRSw2kEfs6ncTVljxP",
"description": "Produce a 2-page summary as summary.md",
"result": "satisfied",
"iteration": 0,
"completed_at": "2026-03-15T10:02:31Z",
"explanation": "All five sections present with inline citations."
}
]
}Changes
Changed in 17 of the 68 revisions of this API.46972
- ○
added
subschema #2to the//response propertyanyOflist for the response statusresponse-property-any-of-added
- ○
added
subschema #2to the/////////////////response propertyanyOflist for the response statusresponse-property-any-of-added
This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ▲
added to the
///////////////////////response propertyoneOflist for the response statusresponse-property-one-of-added
- ▲
added to the
////////response propertyoneOflist for the response statusresponse-property-one-of-added
- ▲
removed the required property
////////////////////////from the response with the statusresponse-required-property-removed
- ▲
removed the required property
////////////////////////from the response with the statusresponse-required-property-removed
- ▲
removed the required property
////////////////////////from the response with the statusresponse-required-property-removed
- ▲
removed the required property
/////////from the response with the statusresponse-required-property-removed
- ▲
removed the required property
/////////from the response with the statusresponse-required-property-removed
- ▲
removed the required property
/////////from the response with the statusresponse-required-property-removed
- ●
removed the request property
/////////////request-property-removed
- ●
removed the request property
/////////////request-property-removed
- ●
removed the request property
/////////////request-property-removed
- ○
added discriminator to
////////////request propertyrequest-property-discriminator-added
- ○
added to the
////////////request propertyoneOflistrequest-property-one-of-added
- ○
added discriminator to
///////////////////////response property for the response statusresponse-property-discriminator-added
- ○
added discriminator to
////////response property for the response statusresponse-property-discriminator-added
- ▲
- ▲
the request property
/////////////became not nullablerequest-property-became-not-nullable
- ▲
the request property
/////////////became not nullablerequest-property-became-not-nullable
- ▲
the request property
///////////became not nullablerequest-property-became-not-nullable
- ▲
the request property
/////////////became not nullablerequest-property-became-not-nullable
- ▲
the request property
/////////////became not nullablerequest-property-became-not-nullable
- ▲
the request property
///////////became not nullablerequest-property-became-not-nullable
- ▲
the request property
became not nullablerequest-property-became-not-nullable
- ▲
the request property
became not nullablerequest-property-became-not-nullable
- ▲
the request property
became not nullablerequest-property-became-not-nullable
- ▲
response property
agent/descriptionlist-of-types was widened by adding typesnullto media typeapplication/jsonof response200response-property-list-of-types-widened
- ▲
response property
agent/systemlist-of-types was widened by adding typesnullto media typeapplication/jsonof response200response-property-list-of-types-widened
- ▲
response property
deployment_idlist-of-types was widened by adding typesnullto media typeapplication/jsonof response200response-property-list-of-types-widened
- ▲
response property
outcome_evaluations/items/explanationlist-of-types was widened by adding typesnullto media typeapplication/jsonof response200response-property-list-of-types-widened
- ▲
response property
resources/items/oneOf[BetaManagedAgentsMemoryStoreResource]/instructionslist-of-types was widened by adding typesnullto media typeapplication/jsonof response200response-property-list-of-types-widened
- ▲
response property
resources/items/oneOf[BetaManagedAgentsMemoryStoreResource]/mount_pathlist-of-types was widened by adding typesnullto media typeapplication/jsonof response200response-property-list-of-types-widened
- ▲
response property
resources/items/oneOf[BetaManagedAgentsMemoryStoreResource]/namelist-of-types was widened by adding typesnullto media typeapplication/jsonof response200response-property-list-of-types-widened
- ▲
response property
titlelist-of-types was widened by adding typesnullto media typeapplication/jsonof response200response-property-list-of-types-widened
- ▲
the
//////response property's maxLength was unset from4096for the response statusresponse-property-max-length-unset
- ▲
the
//////response's property type changed fromobjectto no type for statusresponse-property-type-changed
- ●
removed from the
///////////request propertyallOflistrequest-property-all-of-removed
- ●
removed from the
request propertyallOflistrequest-property-all-of-removed
- ●
removed from the
///////////request propertyallOflistrequest-property-all-of-removed
- ●
removed from the
/////////////request propertyallOflistrequest-property-all-of-removed
- ●
removed from the
/////////////request propertyallOflistrequest-property-all-of-removed
- ○
added
subschema #2to the///////////request propertyanyOflistrequest-property-any-of-added
- ○
added
subschema #2to therequest propertyanyOflistrequest-property-any-of-added
- ○
added
subschema #2to the///////////request propertyanyOflistrequest-property-any-of-added
- ○
added
subschema #2to the/////////////request propertyanyOflistrequest-property-any-of-added
- ○
added
subschema #2to the/////////////request propertyanyOflistrequest-property-any-of-added
- ○
request property
/////////////list-of-types was widened by adding typesnullto media typeapplication/jsonrequest-property-list-of-types-widened
- ○
request property
/////////////list-of-types was widened by adding typesnullto media typeapplication/jsonrequest-property-list-of-types-widened
- ○
request property
list-of-types was widened by adding typesnullto media typeapplication/jsonrequest-property-list-of-types-widened
- ○
request property
list-of-types was widened by adding typesnullto media typeapplication/jsonrequest-property-list-of-types-widened
- ○
the
request property's minLength was decreased from1to0request-property-min-length-decreased
- ○
removed from the
response propertyallOflist for the response statusresponse-property-all-of-removed
- ○
removed from the
//////response propertyallOflist for the response statusresponse-property-all-of-removed
- ○
removed from the
/////response propertyallOflist for the response statusresponse-property-all-of-removed
- ○
removed from the
/response propertyallOflist for the response statusresponse-property-all-of-removed
- ○
removed from the
/////response propertyallOflist for the response statusresponse-property-all-of-removed
- ○
removed from the
response propertyallOflist for the response statusresponse-property-all-of-removed
- ○
removed from the
//response propertyallOflist for the response statusresponse-property-all-of-removed
- ○
added
subschema #2to theresponse propertyanyOflist for the response statusresponse-property-any-of-added
- ○
added
subschema #2to the//////response propertyanyOflist for the response statusresponse-property-any-of-added
- ○
added
subschema #2to the//////response propertyanyOflist for the response statusresponse-property-any-of-added
- ○
added
subschema #2to the/////response propertyanyOflist for the response statusresponse-property-any-of-added
- ○
added
subschema #2to the/response propertyanyOflist for the response statusresponse-property-any-of-added
- ○
added
subschema #2to the/////response propertyanyOflist for the response statusresponse-property-any-of-added
- ○
added
subschema #2to theresponse propertyanyOflist for the response statusresponse-property-any-of-added
- ○
added
subschema #2to the//response propertyanyOflist for the response statusresponse-property-any-of-added
- ○
removed discriminator from
//////response property for the response statusresponse-property-discriminator-removed
- ○
removed from the
//////response propertyoneOflist for the response statusresponse-property-one-of-removed
- ▲
- ▲
added to the
///////////response propertyoneOflist for the response statusresponse-property-one-of-added
- ▲
the
///////////response's property type changed fromobjectto no type for statusresponse-property-type-changed
- ▲
removed the required property
////////////from the response with the statusresponse-required-property-removed
- ▲
removed the required property
////////////from the response with the statusresponse-required-property-removed
- ▲
removed the required property
////////////from the response with the statusresponse-required-property-removed
- ▲
removed the required property
////////////from the response with the statusresponse-required-property-removed
- ▲
removed the required property
////////////from the response with the statusresponse-required-property-removed
- ▲
removed the required property
////////////from the response with the statusresponse-required-property-removed
- ▲
removed the required property
////////////from the response with the statusresponse-required-property-removed
- ▲
removed the required property
////////////from the response with the statusresponse-required-property-removed
- ▲
removed the required property
////////////from the response with the statusresponse-required-property-removed
- ▲
removed the required property
////////////from the response with the statusresponse-required-property-removed
- ○
added the new optional request property
new-optional-request-property
- ○
added the optional property
//to the response with the statusresponse-optional-property-added
- ○
added the optional property
/////to the response with the statusresponse-optional-property-added
- ○
added the optional property
/////to the response with the statusresponse-optional-property-added
- ○
added the optional property
/////to the response with the statusresponse-optional-property-added
- ○
added discriminator to
///////////response property for the response statusresponse-property-discriminator-added
- ○
added the required property
to the response with the statusresponse-required-property-added
This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ○
added
subschema #4subschema #5subschema #6subschema #7subschema #11subschema #12to the//response propertyanyOflist for the response statusresponse-property-any-of-added
- ○
added
subschema #4subschema #5subschema #6subschema #7subschema #11subschema #12to the/////////////response propertyanyOflist for the response statusresponse-property-any-of-added
- ○
removed
subschema #4subschema #5subschema #6subschema #10subschema #11from the//response propertyanyOflist for the response statusresponse-property-any-of-removed
- ○
removed
subschema #4subschema #5subschema #6subschema #10subschema #11from the/////////////response propertyanyOflist for the response statusresponse-property-any-of-removed
- ○
- ○
added the optional property
//to the response with the statusresponse-optional-property-added
- ○
added the optional property
/////////////to the response with the statusresponse-optional-property-added
This revision also has 7 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ○
the
///////////request property's maxLength was increased from1024to4096request-property-max-length-increased
- ○
- ○
added
subschema #2to the//response propertyanyOflist for the response statusresponse-property-any-of-added
- ○
added
subschema #2to the/////////////response propertyanyOflist for the response statusresponse-property-any-of-added
- ○
- ○
added the optional property
to the response with the statusresponse-optional-property-added
- ○
- ○
added
subschema #2to the//response propertyanyOflist for the response statusresponse-property-any-of-added
- ○
added
subschema #2to the/////////////response propertyanyOflist for the response statusresponse-property-any-of-added
- ○