PUT
/
training
/
{id}
curl --request PUT \
  --url https://api.open.cx/training/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "title": "<string>",
  "body": "<string>",
  "category": "<string>"
}'
This response does not have an example.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Body

application/json
title
string
required

The title or question for the custom training. This serves as the prompt or situation that the AI will be trained to recognize. It should be clear and concise, ideally framed as a question or scenario.

Minimum length: 3
body
string
required

The answer content for the custom training. This is the response that the AI should provide when it encounters a question or situation similar to the one defined in the title field. It should be comprehensive and provide the information needed to address the scenario.

Minimum length: 10
category
string
required

Category for organizing custom trainings. Categories help group related training entries together, making them easier to find and manage. Examples might include "Account Management", "Billing", "Technical Support", etc.

Response

200
_mintlify/placeholder

Custom training updated successfully