Skip to main content
POST

Authorizations

Authorization
string
header
required

User PAT (cliq_tok_…, including session-scoped) or realm token (cliq_dt_…).

Body

application/json
action
enum<string>
required

generate, status, improve_role, suggest, validate or chat.

Available options:
generate,
status,
improve_role,
suggest,
validate,
chat
intent
string

generate: what the team should do (up to 5000 characters).

Maximum string length: 5000
job_id
string

status: the job from generate.

role_name
string

improve_role: the phase whose role to rewrite.

role_content
string

improve_role: the current role prompt (up to 50000 characters).

Maximum string length: 50000
team_name
string

improve_role, suggest: the team's name.

team_description
string

improve_role: the team's description.

phases
object[]

improve_role, suggest: the team's phase names.

instruction
string

improve_role: what to focus on.

description
string

suggest: the team's description.

roles
object[]

suggest: the team's roles.

team
object

validate, chat: the team snapshot (as the console's builder holds it).

message
string

chat: your message (up to 5000 characters).

Maximum string length: 5000
history
object[]

chat: earlier turns, each { role: user | assistant, content }.

Response

Depends on action.

ok
enum<boolean>
required

Always true on success.

Available options:
true
data
object
required