Saltar al contenido principal
POST
/
v1
/
agents
Create a new agent
curl --request POST \
  --url https://api.bold-factory.com/v1/agents \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "instructions": "<string>",
  "allowQuestions": true,
  "allowMemory": true
}
'
{
  "id": "<string>",
  "name": "<string>",
  "systemName": "<string>",
  "instructions": "<string>",
  "permissions": [
    "<string>"
  ],
  "allowQuestions": true,
  "allowMemory": true,
  "createdAt": "2023-11-07T05:31:56Z",
  "createdBy": "<string>",
  "lastModifiedAt": "2023-11-07T05:31:56Z",
  "lastModifiedBy": "<string>",
  "memory": "<string>"
}

Autorizaciones

Authorization
string
header
requerido

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

Cuerpo

application/json
name
string
requerido
instructions
string
requerido
intelligenceLevel
enum<string>
requerido
Opciones disponibles:
Low,
Medium,
High
allowQuestions
boolean
requerido
allowMemory
boolean
requerido

Respuesta

Created

id
string
requerido
name
string
requerido
kind
enum<string>
requerido
Opciones disponibles:
User,
System
systemName
null | string
requerido
instructions
string
requerido
permissions
string[]
requerido
intelligenceLevel
enum<string>
requerido
Opciones disponibles:
Low,
Medium,
High
allowQuestions
boolean
requerido
allowMemory
boolean
requerido
createdAt
string<date-time>
requerido
createdBy
string
requerido
lastModifiedAt
string<date-time>
requerido
lastModifiedBy
string
requerido
memory
string