/
AG
agentarea
/
AgentArea API
Search skmtc…
⌘K
Sign in
Sign in
APIs
Generators
Stacks
Projects
Docs
History
Schema
Sources
Subscribe
v12
latest
OpenAPI 3.1.0
raw.githubusercontent.com
2026-08-01
251
238
661.6 KB
v1
protected
model-specs
Create Model Spec
Create a new model specification.
post
/v1/model-specs/
Request body
ModelSpecCreate
required
context_window
integer
required
default_context_strategy
string
nullable
description
string
nullable
display_name
string
required
input_cost_per_token
number
required
is_active
boolean
max_output_tokens
integer
nullable
model_name
string
required
output_cost_per_token
number
required
provider_spec_id
string
uuid
required
Response
Successful Response
AgentareaApiApiV1ModelSpecsModelSpecResponse
required
context_window
integer
required
created_at
string
required
default_context_strategy
string
nullable
required
description
string
nullable
required
display_name
string
required
id
string
required
input_cost_per_token
number
nullable
is_active
boolean
required
max_output_tokens
integer
nullable
model_name
string
required
output_cost_per_token
number
nullable
provider_key
string
nullable
provider_name
string
nullable
provider_spec_id
string
required
supports_function_calling
boolean
nullable
supports_reasoning
boolean
nullable
supports_vision
boolean
nullable
updated_at
string
required