Get a specific workflow by ID.
cURL
curl --request GET \ --url https://public.api.serval.com/v2/workflows/{id} \ --header 'Authorization: Bearer <token>'
{ "data": { "id": "<string>", "teamId": "<string>", "name": "<string>", "description": "<string>", "type": "WORKFLOW_TYPE_UNSPECIFIED", "executionScope": "WORKFLOW_EXECUTION_SCOPE_UNSPECIFIED", "requireFormConfirmation": true, "isTemporary": true, "content": "<string>", "parameters": "<string>" } }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The ID of the workflow.
Success
The workflow.
Show child attributes
The ID of the team that the workflow belongs to.
The name of the workflow.
A description of the workflow.
The type of the workflow.
WORKFLOW_TYPE_UNSPECIFIED
EXECUTABLE
GUIDANCE
The execution scope of the workflow.
WORKFLOW_EXECUTION_SCOPE_UNSPECIFIED
TEAM_PRIVATE
TEAM_PUBLIC
Whether the workflow requires form confirmation.
Whether the workflow is temporary.
The content/code of the workflow.
The parameters schema of the workflow (JSON).
Was this page helpful?