/ v1/ workflows/ {id}Partially update a workflow
Updates only the fields provided. Useful for changing the description or name without replacing the full definition. Increments version if definition is included.
Server
API key obtained from the AgentRuntime dashboard. Pass as Authorization: Bearer <key> on every request.
Stored only in this page session. It is not saved to local storage.
Runs from your browser. Non-GET requests require explicit confirmation and tokens are sent only when you click Send.
Enter a bearer token and confirm the non-GET request to enable testing.
curl -sS -X PATCH \
'https://api.agentruntime.io/v1/workflows/{id}' \
-H 'Authorization: Bearer <token>'Request body
application/json
namerequiredstring
Example:
"customer-support-v2"descriptionstring
Example:
"Routes support tickets, drafts replies with GPT-4o, escalates on low confidence."definitionrequired
Example
{
"description": "Updated description — now includes sentiment analysis."
}Responses
- 200Updated workflow.
application/json
idrequiredstring
Unique workflow identifier, assigned on creation.
Example:
"wf_01hw3k9x4v8m"namerequiredstring
Human-readable name. Used in URLs and run logs.
Example:
"customer-support-v2"descriptionstring
Optional longer description shown in the dashboard.
Example:
"Routes support tickets, drafts replies with GPT-4o, escalates on low confidence."definitionrequiredcreated_atstring
Example:
"2026-01-15T09:30:00Z"updated_atstring
Example:
"2026-03-22T14:12:00Z"versioninteger
Increments on every update. Useful for cache-busting and auditing.
Example:
3
- 401Missing or invalid Bearer token.
application/json
errorrequiredstring
Human-readable description of what went wrong.
Example:
"workflow not found"codestring
Machine-readable error code for programmatic handling.
Example:
"NOT_FOUND"
Example response
{ "error": "unauthorized", "code": "UNAUTHORIZED" } - 404The requested resource does not exist.
application/json
errorrequiredstring
Human-readable description of what went wrong.
Example:
"workflow not found"codestring
Machine-readable error code for programmatic handling.
Example:
"NOT_FOUND"
Example response
{ "error": "workflow not found", "code": "NOT_FOUND" }