Skip to main content
GET
/
v1
/
models
/
{id}
Retrieve a specific analysis model
curl --request GET \
  --url https://api.example.com/v1/models/{id} \
  --header 'Authorization: Bearer <token>'
{
  "id": 1,
  "client_id": "client_abc123",
  "name": "Customer Service Evaluation v2",
  "description": "Comprehensive evaluation model for customer service calls",
  "prompt": "<string>",
  "enabled": true,
  "created_at": "2023-11-07T05:31:56Z",
  "created_by": "<string>",
  "template_metadata": [],
  "updated_at": "2023-11-07T05:31:56Z",
  "updated_by": "<string>"
}

Authorizations

Authorization
string
header
required

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

Path Parameters

id
integer
required

Unique identifier of the analysis model

Response

Successful Response

Analysis model details and configuration

id
integer
required

Unique identifier for this model

Example:

1

client_id
string
required

Owner client identifier

Example:

"client_abc123"

name
string
required

Model name

Example:

"Customer Service Evaluation v2"

description
string
required

Detailed description of the model

Example:

"Comprehensive evaluation model for customer service calls"

prompt
string
required

Analysis configuration and evaluation criteria

enabled
boolean
required

Whether this model is active and available for use

Example:

true

created_at
string<date-time>
required

Timestamp when model was created (UTC)

created_by
string
required

Creator identifier

template_metadata
ClientTemplateMetadata · object[]

Configured metadata fields for additional data extraction

updated_at
string<date-time>

Timestamp of last update (UTC)

updated_by
string

Last updater identifier