Skip to main content
curl -X PATCH https://api.usenaive.ai/v1/objectives/obj-abc-123 \
  -H "Authorization: Bearer nv_sk_live_..." \
  -H "Content-Type: application/json" \
  -d '{
    "progress": 75,
    "status": "active"
  }'
{
  "objective": {
    "id": "obj-abc-123",
    "title": "Launch email marketing campaign",
    "status": "active",
    "progress": 75
  }
}

Path Parameters

ParamTypeDescription
idstringObjective ID

Request Body

FieldTypeDescription
titlestringUpdated title
descriptionstringUpdated description
statusstringactive, paused, completed, abandoned
progressintegerProgress percentage (0-100)
drive_modestringmanual or scheduled
cron_schedulestringCron expression (for scheduled mode)
success_criteriastringUpdated criteria
metadataobjectArbitrary metadata
All fields are optional — only provided fields are updated.