POST
/
api
/
ai
/
configurations
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "message": "<string>"
}

Authorizations

Authorization
string
header
required

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

Body

application/json
modality
enum<string>
required
Available options:
text,
image
provider
string
required
Example:

"openrouter"

modelId
string
required
Example:

"openai/gpt-4"

systemPrompt
string

Optional system prompt for the configuration

Response

AI configuration created successfully

id
string<uuid>
message
string