Workflow Versions

Execute workflow version

Execute a workflow version by its ID, published or not

post/agents/v2/workflows/{workflowId}/versions/{versionId}/execute

Request

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

Path parameters

workflowIdstring uuid required
versionIdstring uuid required

Request body

agentProfileIdstring uuid
agentProfilePoolIdstring uuid
inputVariablesobject

Deprecated: use inputs.

inputsobject

Inputs to be merged into the placeholders defined in prompts. Do not set together with inputVariables.

metadataobject

Optional metadata key-value pairs for organizing and filtering executions

parentExecutionIdstring uuid
profileGroupIdstring uuid
profileIdstring uuid

Response

The request has been accepted for processing, but processing has not yet completed.

executionIdstring uuid required

Changes

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