curl --request PUT \
--url https://api.open.cx/training/{id}/draft \
--header 'Content-Type: application/json' \
--data '{
"draft": true
}'{
"statusCode": 123,
"message": "<string>",
"error": "<string>"
}Toggle the draft status of a custom training. Draft trainings are not used by the AI agent. Publishing a training (draft=false) makes it available to the AI.
curl --request PUT \
--url https://api.open.cx/training/{id}/draft \
--header 'Content-Type: application/json' \
--data '{
"draft": true
}'{
"statusCode": 123,
"message": "<string>",
"error": "<string>"
}Was this page helpful?