Skip to main content

Pause an Objective

curl -X POST https://api.usenaive.ai/v1/objectives/obj-abc-123/pause \
  -H "Authorization: Bearer nv_sk_live_..."
{
  "objective": {
    "id": "obj-abc-123",
    "title": "Launch email marketing campaign",
    "status": "paused"
  }
}

Behavior

Pausing sets the objective to paused status. Existing in-progress tasks continue, but no new tasks are created or dispatched for this objective. Resume with PATCH /v1/objectives/:id setting status to active.

Abandon an Objective

curl -X POST https://api.usenaive.ai/v1/objectives/obj-abc-123/abandon \
  -H "Authorization: Bearer nv_sk_live_..."
200
{
  "objective": {
    "id": "obj-abc-123",
    "title": "Launch email marketing campaign",
    "status": "abandoned"
  }
}

Behavior

Permanently abandons the objective and cancels all pending/in-progress tasks linked to it. Completed tasks are preserved. This cannot be undone.