Skip to content

Replaces the whole step graph atomically (write-tier, revisioned).

PUT
/v1/m/orchestration/workflows/{id}/steps
curl --request PUT \
--url https://example.com/v1/m/orchestration/workflows/example/steps \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "steps": [ { "config": { "schedule_id": "example" }, "depends_on": [ "example" ], "kind": "schedule-fire", "ref": "example" } ] }'

Replaces the whole step graph atomically (write-tier, revisioned).

id
required
string

Path parameter id.

X-Olivares-Tenant
string format: uuid

Target tenant id; required when the principal can act in more than one tenant.

Media type application/json
Any of:
object
steps
Any of:

The handler accepts an empty graph. Its configured step cap defaults to 50; refs must be unique, dependencies must exist, the graph must be acyclic, and fan-in/fan-out are capped at 8.

Array
One of:

Config is strictly decoded, capped at 4096 JSON bytes, and canonicalized before storage.

object
config
required
object
schedule_id
required

Must identify an existing non-retired schedule.

string
>= 1 characters
depends_on
Any of:
Array<string>
<= 8 items unique items
kind
required
Allowed value: schedule-fire
ref
required

Unique within the workflow.

string
/^[a-z0-9][a-z0-9_-]{0,63}$/

OK

Media type application/json
object
Example generated
{}

Bad request

Media type application/json
object
Example generated
{}

Unauthenticated

Media type application/json
object
Example generated
{}

Forbidden

Media type application/json
object
Example generated
{}

Not found

Media type application/json
object
Example generated
{}

Conflict / setup required

Media type application/json
object
Example generated
{}

Rate limited

Media type application/json
object
Example generated
{}