Overview
This endpoint allows users to retrieve the list of workflows. It supports filtering by workflow ID, status, creator, or creation date. Authentication via an authorization token is required.
-
Method:
GET -
URL:
/v0/workflows/ - Operation: Retrieve all workflows
- Authentication Required: Yes
Authorization
You need the api key which you can get from the API tab in Workspace Settings. The api key is required in almost all the commands
Path Parameters
The project_id path parameter uniquely identifies the project whose associated workflows are to be listed. This ensures that only wokflows relevant to the specified project are retrieved, maintaining clear scoping within the system.
| Field | Type | Required | Description |
|---|---|---|---|
project_id | string | Yes | Unique identifier for the project containing the workflows |
Query Parameters
Query parameters allow you to narrow the wokflow list based on specific needs. You can filter by **workflow ID, creator’s user ID, or creation date. These filters help users efficiently find relevant workflows within a project.
| Field | Type | Required | Description |
|---|---|---|---|
id | string | No | Filter the results by a specific workflow ID |
name | string | No | Filter the results by display workflow name |
created_by | string | No | Filter workflows by the user who created them |
created_on | string | No | Filter workflows by the date they were created (ISO 8601 format) |
updated_at | string | No | Filter workflows by the date they were updated (ISO 8601 format) |
Response
A 200 OK response contains an array of wokflow objects matching the provided criteria. Each object includes metadata like wokflow ID, name , creator, and creation timestamp. The array may be empty if no workflows match the filter conditions or if none exist under the specified project.
| Name | Type | Description |
|---|---|---|
id | string | Unique identifier of the workflow |
project_id | string | Unique identifier for the project containing the workflow |
name | string | Filter the results by display workflow name |
created_by | string | User ID of the person who created the workflow |
created_at | string | Timestamp when the workflow was created (ISO 8601 format) |
updated_at | string | Timestamp when the workflow was last updated (ISO 8601 format) |
How to use the endpoint
-
Construct your Request:
Ensure you have theproject_idand a valid bearer token. Optionally include query parameters for filtering workflows. -
Send the Request:
Make a GET request tohttps://api.pixxel.space/v0/workflows. Include your Authorization header. -
Examine the Response:
On success, you’ll receive an array of workflows matching the criteria. Handle errors based on status codes and messages in the response.