Skip to main content
POST
/
v1
/
cron
Create cron job
curl --request POST \
  --url https://api.usenaive.ai/v1/cron \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "schedule": "<string>",
  "prompt": "<string>",
  "skill": "<string>",
  "skills": [
    "<string>"
  ],
  "name": "<string>",
  "profileName": "ceo"
}
'
{}

Authorizations

Authorization
string
header
required

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

Body

application/json
schedule
string
required
prompt
string
required
skill
string
skills
string[]
name
string
profileName
string
default:ceo

Response

Created.

The response is of type object.