GET
/
v1
/
roles
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"
    }
  ]
}

Authorizations

X-API-KEY
string
header
required

Response

200 - application/json
Successful Response

A list of RoleModel instances.