Skip to main content
POST
/
tasks
/
{taskIdOrSlug}
/
approve-criteria
Approve criteria
curl --request POST \
  --url https://twill.ai/api/v1/tasks/{taskIdOrSlug}/approve-criteria \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "job": {
    "id": "<string>",
    "status": "PENDING"
  }
}
Use this endpoint after a Ralph loop task’s criteria agent finishes and the criteria are ready for approval. Approving starts the implementation and verification loop.

Authorizations

Authorization
string
header
required

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

Path Parameters

taskIdOrSlug
string
required

Response

Criteria approved

success
boolean
required
job
object
required