curl --request GET \
--url https://api.eqho.ai/v1/roles \
--header 'X-API-KEY: <api-key>'
{
"roles": [
{
"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"
}
],
"meta": {
"per_page": 123,
"last_page": 123,
"current_page": 123,
"next_page": 123,
"prev_page": 123,
"total": 123
}
}
curl --request GET \
--url https://api.eqho.ai/v1/roles \
--header 'X-API-KEY: <api-key>'
{
"roles": [
{
"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"
}
],
"meta": {
"per_page": 123,
"last_page": 123,
"current_page": 123,
"next_page": 123,
"prev_page": 123,
"total": 123
}
}
Was this page helpful?