Skip to main content
Base URL:
https://api.driftless.icu/api/v1

Authentication

Most endpoints require either a Clerk session from the dashboard or an API key from the CLI.
curl https://api.driftless.icu/api/v1/workspaces/acme/repos \
  -H "x-api-key: drift_your_api_key_here"
Treat API keys as secrets. Driftless stores keys encrypted and only shows the raw value once when created.

Public endpoints

These endpoints do not require authentication:
MethodPathPurpose
GET/healthRuntime health check
GET/versionAPI version and deploy metadata
POST/workspacesWorkspace bootstrap
GET/blog/postsPublic blog index
GET/blog/posts/:slugPublic blog post
POST/webhooks/githubGitHub App webhook receiver
POST/webhooks/clerkClerk webhook receiver

Auth and API keys

MethodPathPurpose
GET/meCurrent identity and workspace context
POST/workspaces/:slug/api-keysCreate an API key for that workspace
GET/workspaces/:slug/api-keysList a workspace’s API keys
DELETE/workspaces/:slug/api-keys/:idRevoke an API key

OAuth

OAuth 2.0 endpoints for MCP client applications:
MethodPathPurpose
GET/oauth/authorizeAuthorization consent screen
POST/oauth/tokenExchange authorization code for access token
POST/oauth/registerRegister an OAuth client
POST/oauth/revokeRevoke an access token

Resource references

Detailed endpoint references by resource: