Skip to main content
POST
Save Meta Profile

Authorizations

X-Session-API-Key
string
header
required

Path Parameters

name
string
required
Required string length: 1 - 64
Pattern: ^[A-Za-z0-9][A-Za-z0-9._-]{0,63}$

Body

application/json

A declarative model-routing configuration.

classifier_model
string
required

Name of the saved LLM profile used to classify the task.

classes
MetaProfileClass · object[]

Ordered list of task classes and their target profiles.

model_table
string | null

Optional text inserted into {{ model_table }} for direct-routing prompts.

prompt_template
string | null

Optional direct-routing prompt template. When set, the classifier receives this rendered prompt and should return JSON with a model field instead of a class number.

Response

Successful Response

message
string
required
name
string
required