Skip to main content
PATCH
/
agent-config
/
heartbeat
Update heartbeat
curl --request PATCH \
  --url https://www.dench.com/api/v1/agent-config/heartbeat \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "enabled": true,
  "intervalMs": 0,
  "instructions": "<string>"
}
'
{
  "error": {
    "message": "<string>",
    "type": "<string>",
    "code": "<string>",
    "details": "<unknown>"
  }
}

Authorizations

Authorization
string
header
required

Workspace-scoped Dench API key from workspace settings. This is the same key used by DENCH_API_KEY in sandboxes.

Body

application/json
enabled
boolean
intervalMs
integer
Required range: -9007199254740991 <= x <= 9007199254740991
instructions
string

Response

Successful response