Skip to main content

Endpoint

Authentication

This endpoint requires authentication via API key. Include your API key in the X-API-Key header:

Path Parameters

Request Example

Response

Success Response

Status Code: 200 OK

Response Fields

Workflow Schema Object

Variable Object Fields

Error Responses

400 Bad Request

Returned when the version format is invalid.

401 Unauthorized

Returned when authentication fails. See the authentication errors section for details.

404 Not Found

Returned when the workflow or version doesn’t exist.

500 Internal Server Error

Returned when the request fails due to a server error.

Notes

Use "latest" as the version to always get the most recent workflow schema without tracking version numbers.
Variable types and validation rules must be respected when initiating workflows. Validation failures will result in a 422 error.

Use Cases

This endpoint is useful for:
  • Form generation - Dynamically create input forms based on workflow variables
  • Validation - Validate user input before initiating workflows
  • Documentation - Display workflow requirements to users
  • Integration planning - Understand what data is needed to start a workflow