Skip to main content
POST
/
chat
/
seed-chat-session
Seed Chat
curl --request POST \
  --url https://cloud.onyx.app/api/chat/seed-chat-session \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "persona_id": 123,
  "llm_override": {
    "model_provider": "<string>",
    "model_version": "<string>",
    "temperature": 123
  },
  "prompt_override": {
    "system_prompt": "<string>",
    "task_prompt": "<string>"
  },
  "description": "<string>",
  "message": "<string>"
}
'
{
  "redirect_url": "<string>"
}

Authorizations

Authorization
string
header
required

Authorization header with Bearer token

Body

application/json
persona_id
integer
required
llm_override
LLMOverride · object
prompt_override
PromptOverride · object
description
string | null
message
string | null

Response

Successful Response

redirect_url
string
required