Training Endpoints
Manage training data for personas to enhance their knowledge and capabilities.
Note: Also, please check out for Training Slots and Special Data parameters.
Create Training
POST /v2/personas/:id/trainings
Parameters
image
string
Required URL of the training image or reference data
info
string
Optional Information or description about the training data
slot
integer
extras
text
Optional Additional metadata or training information
Curl Example
Response Example
✨ Training slots 1-7 are reserved for system use. Use slots 8+ for custom training data.
List Trainings
GET /v2/personas/:id/trainings
Parameters
id
integer
Required ID of the persona whose trainings to list
Curl Example
Response Example
Get Training
GET /v2/personas/:id/trainings/:training_id
Parameters
id
integer
Required ID of the persona
training_id
integer
Required ID of the training to retrieve
Curl Example
Response Example
Update Training
PUT /v2/personas/:id/trainings/:training_id
Parameters
id
integer
Required ID of the persona
training_id
integer
Required ID of the training to update
image
string
Optional New URL of the training image
info
string
Optional New information about the training
slot
integer
Optional New training slot number
extras
text
Optional New additional metadata
Curl Example
Response Example
Delete Training
DELETE /v2/personas/:id/trainings/:training_id
Parameters
id
integer
Required ID of the persona
training_id
integer
Required ID of the training to delete
Curl Example
Response Example
Delete Training by Slot
DELETE /v2/personas/:id/trainings/slot/:slot
Parameters
id
integer
Required ID of the persona
slot
integer
Curl Example
Response Example
Last updated