Build a team with AI
Builds a team with AI. Choose what to do with action:
generate(intent): start drafting a whole team from a description. Returns ajob_idat once; poll withstatus.status(job_id): the job’s progress (stage), then the generated team and its validation whenstatusisdone, orerror.improve_role(role_name,role_content, optionalinstruction): a rewritten role prompt.suggest(team_name, optionaldescription,phases,roles): suggestions to improve a team.validate(team): check a team snapshot; returnsvalid,errors,warnings.chat(team,message,history): one turn of a conversation about a team; returns areplyand proposedactions.
Requires a signed-in user token (Authorization: Bearer cliq_tok_…). Results are limited to what that user can see.
Authorizations
User PAT (cliq_tok_…, including session-scoped) or realm token (cliq_dt_…).
Body
generate, status, improve_role, suggest, validate or chat.
generate, status, improve_role, suggest, validate, chat generate: what the team should do (up to 5000 characters).
5000status: the job from generate.
improve_role: the phase whose role to rewrite.
improve_role: the current role prompt (up to 50000 characters).
50000improve_role, suggest: the team's name.
improve_role: the team's description.
improve_role, suggest: the team's phase names.
improve_role: what to focus on.
suggest: the team's description.
suggest: the team's roles.
validate, chat: the team snapshot (as the console's builder holds it).
chat: your message (up to 5000 characters).
5000chat: earlier turns, each { role: user | assistant, content }.