Skip to main content
POST
Create a task from an imported local agent session

Authorizations

Authorization
string
header
required

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

Body

application/json
agent_type
enum<string>
required
Available options:
claude-code,
codex
head_branch
string
required
Minimum string length: 1
interaction_mode
enum<string>
required
Available options:
default,
plan
model
string
required
Minimum string length: 1
project_id
string<uuid>
required
session
object
required
base_branch
string
Minimum string length: 1
message
string
reasoning_effort
enum<string> | null
Available options:
ultra,
max,
xhigh,
high,
medium,
low,
ultrathink,
ultracode,
none

Response

Accepted

id
string<uuid>
required
name
string
required
Minimum string length: 1