Skip to main content
PATCH
Update a routine

Authorizations

X-Api-Key
string
header
required

Workspace API key, created in the dashboard under Settings → API Keys.

Path Parameters

workspaceId
string<uuid>
required

Workspace UUID. Caller must have access.

agentId
string<uuid>
required

Agent id.

routineId
string<uuid>
required

Routine id.

Body

application/json

At least one field.

name
string
Required string length: 1 - 80
prompt
string
Required string length: 1 - 8192
cadenceMinutes
integer
Required range: 5 <= x <= 525600
scheduledAt
string<date-time>

The next run.

enabled
boolean

False pauses the routine; true resumes it.

Response

The routine

data
object
required