Skip to main content
POST
Create a new agent session

Autorizaciones

Authorization
string
header
requerido

Use a valid JWT token in the Authorization header with the format 'Bearer {token}'

Cuerpo

application/json
agentId
string
requerido
firstMessage
null | string
planMode
null | boolean

Respuesta

Created

id
string
requerido
agentId
string
requerido
agent
object | null
requerido
topic
null | string
requerido
kind
enum<string>
requerido
Opciones disponibles:
Agent,
Chat
origin
enum<string>
requerido
Opciones disponibles:
Manual,
Scheduled,
Event
owner
string
requerido
createdAt
string<date-time>
requerido
createdBy
string
requerido
lastModifiedAt
string<date-time>
requerido
lastModifiedBy
string
requerido
credits
integer<int32>
requerido
status
enum<string>
requerido
Opciones disponibles:
Pending,
Running,
Completed,
ActionRequired,
Error
expired
boolean
requerido
planMode
boolean
requerido