Skip to main content
GET
/
v1
/
models
/
{model_id}
/
categories
Retrieve all categories for an analysis model
curl --request GET \
  --url https://api.example.com/v1/models/{model_id}/categories \
  --header 'Authorization: Bearer <token>'
[
  {
    "id": 1,
    "client_prompt_template_id": 1,
    "name": "Opening",
    "slug": "opening",
    "description": "Evaluation criteria for call opening",
    "max_score": 100,
    "order_number": 1,
    "enabled": true,
    "created_at": "2026-01-11T10:00:00Z",
    "created_by": "client_abc123"
  }
]

Authorizations

Authorization
string
header
required

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

Path Parameters

model_id
integer
required

The analysis model ID

Response

Successful Response

id
integer
required

Unique identifier

Example:

1

client_prompt_template_id
integer
required

Parent model ID

Example:

1

name
string
required

Category name

Example:

"Opening"

slug
string
required

Auto-generated slug from name (kebab-case). Used as variable name in JSON responses.

Example:

"opening"

description
string
required

Category description

max_score
integer
required

Maximum score achievable in this category

Example:

100

enabled
boolean
required

Whether the category is active

created_at
string<date-time>
required

Creation timestamp

created_by
string
required

Creator identifier

order_number
integer

Display order within the model

updated_at
string<date-time>

Last update timestamp

updated_by
string

Last updater identifier