Skip to main content
GET
Get Model Spec

Authorizations

Authorization
string
header
required

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

Path Parameters

model_spec_id
string<uuid>
required
workspace
string
required

Slug of the workspace the request acts in

Maximum string length: 120
Pattern: ^[a-z0-9]+(?:-[a-z0-9]+)*$

Response

Successful Response

context_window
integer | null
required
created_at
string<date-time>
required
default_context_strategy
string | null
required
description
string | null
required
display_name
string
required
id
string
required
is_active
boolean
required
model_name
string
required
provider_spec_id
string
required
updated_at
string<date-time>
required
cache_creation_input_cost_per_token
string | null
cached_input_cost_per_token
string | null
input_cost_per_token
string | null
kind
enum<string>
default:chat

What a model produces, which decides every surface it may be bound to.

An agent's main model is chat; the media toolset takes image and video; the decide toolset and decision-backed trigger conditions take decision. A model has exactly one kind.

Available options:
chat,
embedding,
image,
video,
decision
max_output_tokens
integer | null
output_cost_per_token
string | null
provider_key
string | null
provider_name
string | null
supports_function_calling
boolean | null
default:false
supports_reasoning
boolean | null
default:false
supports_vision
boolean | null
default:false