curl --request POST \
--url https://api.eqho.ai/v1/roles \
--header 'Content-Type: application/json' \
--header 'X-API-KEY: <api-key>' \
--data '{
"name": "Customer Support",
"description": "Help customers with their problems and concerns.",
"markdown": {
"sections": [
{
"content": "Help customers with their problems and concerns.",
"level": 2,
"subsections": [
{
"content": "Help customers with their problems and concerns.",
"level": 3,
"title": "Subsection 1"
}
],
"title": "Instructions"
}
]
}
}'
{
"description": "Help customers with their problems and concerns.",
"markdown": {
"sections": [
{
"content": "Help customers with their problems and concerns.",
"level": 2,
"subsections": [
{
"content": "Help customers with their problems and concerns.",
"level": 3,
"title": "Subsection 1"
}
],
"title": "Instructions"
}
]
},
"name": "Customer Support"
}
curl --request POST \
--url https://api.eqho.ai/v1/roles \
--header 'Content-Type: application/json' \
--header 'X-API-KEY: <api-key>' \
--data '{
"name": "Customer Support",
"description": "Help customers with their problems and concerns.",
"markdown": {
"sections": [
{
"content": "Help customers with their problems and concerns.",
"level": 2,
"subsections": [
{
"content": "Help customers with their problems and concerns.",
"level": 3,
"title": "Subsection 1"
}
],
"title": "Instructions"
}
]
}
}'
{
"description": "Help customers with their problems and concerns.",
"markdown": {
"sections": [
{
"content": "Help customers with their problems and concerns.",
"level": 2,
"subsections": [
{
"content": "Help customers with their problems and concerns.",
"level": 3,
"title": "Subsection 1"
}
],
"title": "Instructions"
}
]
},
"name": "Customer Support"
}
Successful Response
The response is of type object
.
Was this page helpful?