cURL
curl --request GET \ --url https://api.app.layer.ai/api/v1/workspaces/{workspace_id}/workflows \ --header 'Authorization: Bearer <token>'
{ "workflows": [ { "workflow_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "name": "<string>", "description": "<string>", "created_at": "2023-11-07T05:31:56Z", "inputs": [ { "name": "<string>", "type": "<string>", "required": true, "description": "<string>", "value_schema": {}, "display_name": "<string>", "default": "<unknown>" } ], "outputs": [ { "name": "<string>", "type": "<string>", "description": "<string>", "value_schema": {}, "display_name": "<string>" } ], "modality": "text", "published_at": "2023-11-07T05:31:56Z" } ], "pagination": { "has_more_results": true, "next_cursor": "<string>", "total_count": 123 } }
List available generation workflows (published blueprints) in a workspace.
Personal Access Token or OAuth2 JWT. Create a PAT at app.layer.ai → Settings → Personal Access Tokens.
Full-text search on workflow name/description
1 <= x <= 100
Successful Response
Show child attributes