Skip to main content
POST
/
api
/
tasks
/
{task_id}
/
prs
/
{pr_id}
/
fix-ci
Fix Ci
curl --request POST \
  --url https://api.example.com/api/tasks/{task_id}/prs/{pr_id}/fix-ci \
  --header 'Authorization: Bearer <token>'
{
  "prompt": "<string>"
}

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
pr_id
string<uuid>
required

Response

Successful Response

Server-composed fix-CI prompt for the frontend to send as a normal chat message via the existing useTaskStream.sendMessage flow. Returning the prompt (rather than streaming the message server-side) lets the chat UI render the optimistic user message, stream the assistant chunks live, and persist the exchange via the same code path as a hand-typed message — no separate "did the chat update?" plumbing for synthetic messages.

prompt
string
required