Agents platform session create
post/platform-agents/sessions
Open a session of an agent for one of the platform's customers, optionally inside a connected business that let the platform run an agent there (agents:run), with scopes (read, act: a tool that acts is offered only with act) and how much it keeps (none: nothing of the words beyond the turn; session).
Before you call
- Credential
Authorization: Bearer $KEY- Scope
agents:write- Graphql
Mutation.agentsPlatformSessionCreate- Sdk
agents.platformSession.create- Cli
agents platform session create
Request bodyapplication/json, required
- agentIdstring (uuid)required
- customerstring (uuid)required
- connectionIdstring (uuid)
- scopeslist of stringDefault: ["read"].
- retainstringOne of: none, session. Default: none.
Responses
- 201application/jsonSuccess
- 400application/jsonThe request was malformed
- errorstringrequired
- messagestring
- 401application/jsonNo valid credential
- errorstringrequired
- messagestring
- 403application/jsonThe credential lacks the scope, origin or address
- errorstringrequired
- messagestring
- 429application/jsonOver the key's rate limit; see Retry-After
- errorstringrequired
- messagestring