Skip to main content

Endpoint

GET https://workflows.eachlabs.run/api/v1/categories

Code Examples

curl https://workflows.eachlabs.run/api/v1/categories \
  -H "X-API-Key: YOUR_API_KEY"

Response

{
  "categories": [
    {
      "slug": "image-generation",
      "label": "Image Generation",
      "description": "Workflows for generating images",
      "is_default": true,
      "created_at": "2025-12-01T10:00:00Z",
      "updated_at": "2025-12-01T10:00:00Z"
    },
    {
      "slug": "text-processing",
      "label": "Text Processing",
      "description": "Workflows for processing text",
      "is_default": true,
      "created_at": "2025-12-01T10:00:00Z",
      "updated_at": "2025-12-01T10:00:00Z"
    }
  ]
}

Category Fields

FieldTypeDescription
slugstringUnique identifier (use in API requests)
labelstringHuman-readable name
descriptionstringCategory description
is_defaultbooleanWhether it’s a system default category
created_atstringISO 8601 creation timestamp
updated_atstringISO 8601 update timestamp
Last modified on March 3, 2026