Skip to main content
POST
/
api
/
chat
/
task
/
create
Create Task
curl --request POST \
  --url https://api.example.com/api/chat/task/create \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "title": "<string>",
  "description": "<string>",
  "agent_id": 123,
  "files": [
    "<string>"
  ],
  "llm_names": [
    "<string>"
  ],
  "memory_similarity_threshold": 1.5,
  "agent_type": "standard",
  "agent_config": {},
  "vibe_mode": "task",
  "process_description": "<string>",
  "examples": [
    {
      "input": "<string>",
      "output": "<string>"
    }
  ]
}
'
{
  "task_id": 123,
  "title": "<string>",
  "status": "<string>",
  "created_at": "<string>",
  "model_name": "<string>",
  "small_fast_model_name": "<string>",
  "visual_model_name": "<string>",
  "vibe_mode": "<string>"
}

Authorizations

Authorization
string
header
required

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

Body

application/json

Create task request

title
string
required
description
string | null
agent_id
integer | null
files
string[] | null
llm_names
(string | null)[] | null
memory_similarity_threshold
number | null
default:1.5
agent_type
string | null
default:standard
agent_config
Agent Config · object
vibe_mode
string | null
default:task
process_description
string | null
examples
ExampleItem · object[] | null

Response

Successful Response

Create task response

task_id
integer
required
title
string
required
status
string
required
created_at
string
required
model_name
string | null
small_fast_model_name
string | null
visual_model_name
string | null
vibe_mode
string | null