Skip to main content
POST
Create loop

Authorizations

Authorization
string
header
required

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

Body

application/json
schedule
string
required

Cron expression. Required.

prompt
string
required

Prompt the loop runs. Required.

name
string | null
profileName
string

Agent profile to run as. Defaults to ceo when the backing cron job is created.

profile_name
string

Snake-case alias for profileName; used only when profileName is absent.

Response

Created.

loop
object
cron_job_id
string | null

Id of the backing Hermes cron job, or null when no runtime was reachable.