API Explorer
Explore and test work.studio APIs interactively using Swagger UI. Each service exposes its OpenAPI specification at the standard endpoints.
How to Access API Documentation
Each work.studio service exposes interactive API documentation:
Production API Explorers
Authentication Required
API Explorer endpoints require authentication. Log in to the work.studio platform first, or use the API key authentication in Swagger UI.
Core Services
Account Service
User management, organizations, teams, and API key management.
Key Endpoints:
GET /account/me- Get current userGET /account/organizations- List organizationsPOST /account/api-keys- Create API keyGET /account/team/members- List team members
Catalog Service
Connector catalog, templates, marketplace, and AI agent configuration.
Key Endpoints:
GET /catalog/connectors- List available connectorsGET /catalog/templates- List workflow templatesGET /catalog/marketplace- Browse marketplaceGET /catalog/ai-agents- List AI agentsGET /catalog/llm-models- List LLM models
Connection Service
OAuth connections, API key credentials, and integration management.
Key Endpoints:
GET /connections- List connectionsPOST /connections- Create connectionPOST /connections/{id}/test- Test connectionGET /connections/{id}/operations- List connector operations
Portal Service
Workflow publishing, dashboards, and embedded forms.
Key Endpoints:
GET /portal/workflows- List published workflowsGET /portal/dashboards- List dashboardsPOST /portal/embed- Generate embed codeGET /portal/customers- List customers
Execution Services
Run Service
Workflow execution, run history, and logs.
Key Endpoints:
POST /run/workflows/{id}/execute- Execute workflowGET /run/executions- List executionsGET /run/executions/{id}- Get execution detailsGET /run/executions/{id}/logs- Get execution logsPOST /run/executions/{id}/cancel- Cancel execution
Trigger Service
Event triggers, schedules, and webhook triggers.
Key Endpoints:
GET /triggers- List triggersPOST /triggers- Create triggerGET /triggers/{id}/executions- List trigger executionsPUT /triggers/{id}/enable- Enable triggerPUT /triggers/{id}/disable- Disable trigger
Task Service
Human tasks, approvals, and interactive forms.
Key Endpoints:
GET /tasks- List pending tasksGET /tasks/{id}- Get task detailsPOST /tasks/{id}/complete- Complete taskPOST /tasks/{id}/assign- Assign task
Webhook Service
Incoming webhook management and configuration.
Key Endpoints:
GET /webhooks- List webhooksPOST /webhooks- Create webhookGET /webhooks/{id}/logs- Get webhook logs
Data Services
Storage Service
File storage, resources, and secrets management.
Key Endpoints:
GET /storage/files- List filesPOST /storage/files/upload- Upload fileGET /storage/resources- List resourcesGET /storage/secrets- List secrets (names only)
Subscription Service
Billing, plans, and usage tracking.
Key Endpoints:
GET /subscription/current- Get current subscriptionGET /subscription/usage- Get usage metricsGET /subscription/invoices- List invoices
Open Subscription API Explorer
Notification Service
Email, Slack, and Teams notifications.
Key Endpoints:
POST /notifications/send- Send notificationGET /notifications/history- Get notification historyGET /notifications/channels- List notification channels
Open Notification API Explorer
AI Services
AI Runtime
LLM execution, AI agents, and embeddings.
Key Endpoints:
POST /ai/generate- Generate text with LLMPOST /ai/chat- Chat conversationPOST /ai/embeddings- Generate embeddingsGET /ai/agents- List AI agentsPOST /ai/agents/{id}/execute- Execute AI agent
KB Worker
Knowledge base indexing and RAG (Retrieval Augmented Generation).
Key Endpoints:
GET /kb/knowledge-bases- List knowledge basesPOST /kb/knowledge-bases- Create knowledge basePOST /kb/knowledge-bases/{id}/documents- Add documentPOST /kb/knowledge-bases/{id}/query- Query knowledge base
Using the API Explorer
1. Authenticate
Click the Authorize button in Swagger UI and enter your API key:
Bearer sv_live_your_api_key_here
2. Select an Endpoint
Browse the available endpoints organized by tags/categories.
3. Try It Out
Click Try it out, fill in parameters, and click Execute to make a live API call.
4. View Response
See the response body, headers, and HTTP status code.
Download OpenAPI Specs
For code generation or importing into tools like Postman:
Code Generation
Generate client libraries from OpenAPI specs:
# Install OpenAPI Generator
npm install @openapitools/openapi-generator-cli -g
# Generate TypeScript client
openapi-generator-cli generate \
-i https://api.work.studio/v3/api-docs \
-g typescript-fetch \
-o ./workstudio-client
# Generate Python client
openapi-generator-cli generate \
-i https://api.work.studio/v3/api-docs \
-g python \
-o ./workstudio-python