Skip to main content
POST
/
v1
/
tasks
/
{taskId}
/
approve
Approve a task
curl --request POST \
  --url https://api.trycomp.ai/v1/tasks/{taskId}/approve \
  --header 'X-API-Key: <api-key>'

Documentation Index

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

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

Authorizations

X-API-Key
string
header
required

API key for authentication

Path Parameters

taskId
string
required

Unique task identifier

Example:

"tsk_abc123def456"

Response

Task approved successfully