Repository navigation
API Workspace
Canonical source:
docs/12-reference/api-reference-workspace.md— this page is rendered from it on every publish; edit the source.
Base URL:
- via Nginx:
http://localhost:4000/api/v1 - direct:
http://localhost:4014/api/v1
POST /workspace/connectorsGET /workspace/connectorsGET /workspace/connectors/:idPATCH /workspace/connectors/:idDELETE /workspace/connectors/:idPOST /workspace/connectors/:id/healthPOST /workspace/connectors/:id/sync
{
"name": "Engineering GitHub",
"provider": "GITHUB",
"permissionLevel": "READ",
"scopes": ["repo", "read:user"]
}POST /workspace/oauth/initGET /workspace/oauth/callback
Used to start and complete provider authorization flows.
POST /workspace/searchGET /workspace/objectsGET /workspace/objects/:idPOST /internal/workspace/search
/internal/workspace/search is the path chat uses to retrieve grounded citations during context assembly.
POST /workspace/actionsGET /workspace/actionsGET /workspace/actions/:idPOST /workspace/actions/:id/approvePOST /workspace/actions/:id/reject
These routes support human-reviewed external action drafts such as issue creation or outbound messages.
| Endpoint | Method | Required permission | Notes |
|---|---|---|---|
GET /workspace/providers |
GET | (any auth role) | Provider definition catalog (no secrets). |
GET /workspace/providers/:provider |
GET | (any auth role) | Single provider definition. |
GET /workspace/provider-app-configs |
GET | WORKSPACE_APP_CONFIG_VIEW |
Sanitised list (ProviderAppConfigPublic — hasSecret: boolean, no key). |
POST /workspace/provider-app-configs |
POST | ADMIN_WORKSPACE_AUTOMATION_MANAGE |
Admin-only. Creates an OAuth client-id/secret config for a provider. |
GET /workspace/provider-app-configs/:id |
GET | WORKSPACE_APP_CONFIG_VIEW |
Sanitised single record. |
PUT /workspace/provider-app-configs/:id |
PUT | ADMIN_WORKSPACE_AUTOMATION_MANAGE |
Admin-only. Update client-id/secret. |
DELETE /workspace/provider-app-configs/:id |
DELETE | ADMIN_WORKSPACE_AUTOMATION_MANAGE |
Admin-only. 204 on success. |
USER (and OPERATOR / VIEWER) can browse the list to choose which provider app
to connect their own account against; mutations are admin-only so secret
rotations stay centralised. See
service-guide-workspace.md: USER VIEW + CONNECT Permission Scope
for the full per-endpoint permission matrix.
ClawAI Wiki · source-controlled under wiki/ · generated/mirrored from the current repository knowledge layer.
ClawAI Wiki
Product
- Product-Vision
- Flagship-Features
- Business-Overview
- Requirements-Register
- Drift-Log
- Runtime-Managed-Connector-Providers
- Threads
- ADR-Index
Architecture
- System-at-a-Glance
- Architecture-Map
- System-Architecture
- Message-Flow
- End-to-End-Data-Flow
- Routing-Engine
- Event-Bus
- Security-Architecture
Platform
- Backend-Services
- Frontend-Architecture
- Shared-Packages
- Database-Reference
- API-Reference
- Provider-Catalog
- Memory-and-Context-Architecture
- File-Support-Architecture
- Research-and-Web-Crawling
Runtime & Ops
- Docker-Guide
- Nginx-Reference
- CI-CD-Pipeline
- Logging-and-Observability
- Operational-Runbooks
- Troubleshooting
Quality
Engineering OS
- AI-Native-Engineering-OS
- Generated-Manifests
- Rules-Catalog
- Skills-Catalog
- Context-Layer
- Engineering-Memory
- Tooling-and-Automation
- Scripts-and-Operations
- ESLint-and-Architecture-Enforcement
- Extended-Work-Skills
Agents
Reference