Skip to main content
POST
/
api
/
tasks
/
{task_id}
/
messages
Send Task Message
curl --request POST \
  --url https://api.example.com/api/tasks/{task_id}/messages \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "content": "<string>",
  "attachment_ids": [
    "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  ],
  "develop_enabled": true,
  "is_retry": false,
  "mode": "plan",
  "model_tier": "auto",
  "plan_first_enabled": true,
  "selected_branches": {}
}
'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>",
      "ctx": {},
      "input": "<unknown>"
    }
  ]
}

Documentation Index

Fetch the complete documentation index at: https://docs.codecobra.ai/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

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

Path Parameters

task_id
string<uuid>
required

Body

application/json
content
string
required
attachment_ids
string<uuid>[] | null
develop_enabled
boolean | null
is_retry
boolean
default:false
mode
enum<string> | null
Available options:
plan,
build
model_tier
enum<string> | null
Available options:
auto,
hatchling,
striker,
apex
plan_first_enabled
boolean | null
selected_branches
Selected Branches · object

Response

Successful Response