Skip to main content
POST
/
v1
/
objectives
Create objective
curl --request POST \
  --url https://api.usenaive.ai/v1/objectives \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "title": "<string>",
  "description": "<string>",
  "status": "active",
  "drive_mode": "manual",
  "cron_schedule": "<string>",
  "success_criteria": "<unknown>",
  "metadata": {}
}
'
{}

Authorizations

Authorization
string
header
required

Workspace API key. Create one via the dashboard or POST /v1/auth/keys.

Body

application/json
title
string
required
description
string
status
string
default:active
drive_mode
string
default:manual
cron_schedule
string
success_criteria
any
metadata
object

Response

Created.

The response is of type object.