Workflow Versions

Get workflow version

Get a workflow version by its ID

get/agents/v2/workflows/{workflowId}/versions/{versionId}

Request

  • Base URL
    https://odyssey.asteroid.ai
  • URL
    https://odyssey.asteroid.ai/agents/v2/workflows/{workflowId}/versions/{versionId}
  • Auth
    API key in header X-Api-Key

Path parameters

workflowIdstring uuid required
versionIdstring uuid required

Response

The request has succeeded.

authorstring

The email of the user who created this workflow.

createdAtstring date-time required

When this workflow was created. For the editable head this is restamped on each in-place edit, so it doubles as the last-edited time.

idstring uuid required
isPublishedboolean required

Whether this is the workflow's published version (the API default). At most one version per workflow is published.

parentIdstring uuid
revinteger required

Monotonic optimistic-concurrency revision. Only meaningful for the editable head: supply it as baseRev on the next head patch. Agent-file-only patches overlay the current head if it has moved; structural-file patches are rejected with 409 when stale. Frozen snapshots never receive in-place patches.

rulesstring required
versioninteger required

The monotonic per-workflow version number.

workflowIdstring uuid required

Changes

No recorded changes to this operation across all 1 revision of this API.