Automation
Workflows, their runs, and the app connections they use.
Scope: automation:read · automation:write
The concepts — triggers, nodes, expressions, connections — are documented once, for everyone, in the Help Center: Automation overview, Triggers, The node catalog, Expressions. This page is the HTTP surface over them.
Workflows
/automation/workflowsPaged list.Try it/automation/workflowsCreate a workflow.Try it/automation/workflows/{id}One workflow with its graph.Try it/automation/workflows/{id}Update name, description or settings.Try it/automation/workflows/{id}Delete the workflow.Try it/automation/workflows/{id}/graphReplace the node graph — this edits the DRAFT.Try it/automation/workflows/for-object/{objectKey}Workflows that react to a Data Object.Try it/automation/workflows/{id}/shapesThe data shape available at each node — what your expressions can reference.Try it/automation/workflows/{id}/condition-statusWhich reactive conditions currently match.Try itLifecycle
/automation/workflows/{id}/publishPublish the draft as a new version — this is what triggers fire.Try it/automation/workflows/{id}/activateTurn the live workflow on.Try it/automation/workflows/{id}/deactivateTurn it off.Try it/automation/workflows/{id}/versionsVersion history.Try it/automation/workflows/{id}/versions/{versionId}One version.Try it/automation/workflows/{id}/versions/{versionId}/restoreRoll back to a version.Try itEditing a graph does not change what runs
Triggers fire the published version. PUT …/graph edits the draft; nothing changes in production until you publish. That separation is what makes it safe to build against a live workflow.
Running and testing
/automation/workflows/{id}/runStart a run with a payload you supply.Try it/automation/workflows/{id}/nodes/{nodeId}/testExecute a single node against sample input.Try it/automation/expressions/evaluateEvaluate an expression against a sample context.Try it/automation/node-typesThe node catalog with each node's input schema.Try itRuns
/automation/workflows/{id}/runsPaged run history for a workflow.Try it/automation/runs/{runId}One run: status, per-node input/output, errors.Try it/automation/runs/{runId}/retryRetry a failed run.Try it/automation/runs/{runId}/cancelCancel a running one.Try it/automation/statsAggregate run counts and failure rates.Try itRun states and what each failure means: Runs and errors.
Triggering a workflow from outside
A workflow with a webhook trigger gets its own URL, which authenticates with the token in the path — not with an API key:
POST https://api.onivos.com/automation/hooks/{tenantId}/{token}Post any JSON body; it becomes the run's trigger payload. The workflow's webhook security settings decide what else is required (a signature, an allowlist, a shared key):
/automation/hooks/{tenantId}/{token}Trigger a workflow from outside. Any JSON body becomes the run payload; the token in the path authenticates.no keyTry it/automation/workflows/{id}/webhook-securityThe security policy on that URL.Try it/automation/workflows/{id}/webhook-securitySet the policy.Try it/automation/workflows/{id}/webhook-security/keysMint a signing key.Try it/automation/workflows/{id}/webhook-security/keys/{keyId}Revoke a signing key.Try it/automation/resume/{tenantId}/{token}Resume a run paused on a wait step. The run hands you this URL.no keyTry it/automation/review/{tenantId}/{token}Read what an approval step is asking for.no keyTry itA workflow paused on a wait step resumes at POST /automation/resume/{tenantId}/{token}, and an approval step is answered at /automation/review/{tenantId}/{token}. Both are token URLs handed to you by the run.
Setup walkthrough: Receive webhooks.
There is no outbound webhook subscription API
Onivos does not currently expose a "subscribe my URL to event X" endpoint. To push events to your system, build a workflow: trigger on the event, and end it with an HTTP request node pointed at your endpoint. That gives you filtering, retries and a run log for free.
Connections
The credentials a workflow uses to reach third-party apps.
/automation/connectionsList connections.Try it/automation/connectionsCreate one from credentials — the fallback when a provider has no OAuth.Try it/automation/connections/{id}One connection.Try it/automation/connections/{id}Rename a connection.Try it/automation/connections/{id}Remove a connection.Try it/automation/connections/{id}/oauth/startBegin the OAuth consent flow.Try it/automation/connections/oauth/appsProviders with a one-click connect available.Try it/automation/connections/oauth/redirect-uriThe redirect URI to register when you bring your own app.Try it/automation/connections/oauth/quickRegister your own OAuth app for a provider.Try itWhere a provider supports OAuth, use it — API keys are the fallback, not the default. See Connect an app.
Variables and templates
/automation/varsWorkspace variables available to every workflow.Try it/automation/varsReplace them.Try it/automation/vars/{id}Remove one.Try it/automation/templatesPrebuilt workflow templates.Try it/automation/templates/{key}/installInstall a template into the workspace.Try it/automation/run-settings/defaultsDefault retry/timeout settings for new workflows.Try itAI authoring
/automation/workflows/{id}/ai/generateBuild a graph from a description.Try it/automation/workflows/{id}/ai/editEdit the graph from an instruction.Try it/automation/workflows/{id}/ai/explainExplain what the workflow does.Try it