Create Workflow
Create a new workflow (orchestration) with specified configuration and nodes
Request
- Base URLhttps://api.xpander.ai (the document declares no server; this is the origin it was published from)
- AuthAPI key in header x-api-key
Request body
Human-readable name for the workflow. Examples: 'Customer Onboarding Pipeline', 'Daily Report Generator'.
Description of what this workflow does, its trigger conditions, and expected outcomes.
Identity string xpi:<icon>:<colour> rendered as a gradient tile, never an emoji.
Avatar identifier for visual representation.
Default model for LLM-powered nodes. Individual nodes can override.
Custom API base URL for the LLM provider.
Reference key to stored LLM credentials.
Extra headers for LLM API requests.
Description of the workflow's expected final output.
JSON Schema for structured workflow output (when output_format is 'json').
Target deployment environment.
Enable NeMo guardrails.
Enable real-time event streaming.
Require OIDC pre-authentication before workflow execution.
Allowed OIDC token audiences.
Forward OIDC token to LLM provider.
OIDC audience for LLM access.
OIDC audience for MCP server access.
Response
Successful Response
A platform-made agent: the gateway one is hidden from lists, counts and delegation; every kind stays out of the agents quota.
Enumeration of possible agent statuses.
Attributes: DRAFT: Agent is in a draft state. ACTIVE: Agent is active and operational. INACTIVE: Agent is inactive and not operational.
Organization user to run as when a non-UI invocation has no resolved user.
Enumeration of the agent types.
Attributes: Manager: marks the agent as a Managing agent. Regular: marks the agent as a regular agent. A2A: marks the agent as an external agent used via A2A protocol. Curl: marks the agent as an external agent used via a CURL. Orchestration: marks the agent as an Orchestration object.
Changes
No recorded changes to this operation across all 4 revisions of this API.