Slugs
URL routing scheme — how org/project/flow slugs map to API endpoints.
A slug is a URL-safe identifier used to route API calls to the correct flow.
Three-Part Hierarchy
Every flow is addressable via three slugs:
| Level | Example | Uniqueness |
|---|---|---|
| Organization | acme-corp | Globally unique |
| Project | support-bot | Unique within org |
| Flow | classify-intent | Unique within project |
Slug Rules
- Lowercase letters, numbers, and hyphens only
- Cannot start or end with a hyphen
- 2-50 characters
- Must be unique within their scope
Example
Organization: "Acme Corp" → slug: acme-corp
Project: "Support Bot" → slug: support-bot
Flow: "Classify Intent" → slug: classify-intent
Full URL:
Choosing Good Slugs
- Use descriptive, readable names:
translate-and-extractnotflow-1 - Keep them stable — changing a slug changes the API URL
- Match your domain language:
sentiment-analysis,invoice-parser,email-drafter
Versioned Slugs
Append /v{N} before the action to call a specific version: