Skip to main content

Workspaces

MethodPathDescription
GET/api/organizationsWorkspaces you belong to, as { id, name, slug, logo }. Ordered by join date. Start here.
GET/api/organizations/{orgId}Workspace details, including your own role.
GET/api/organizations/{orgId}/membersMembers and pending invitations.
GET/api/organizations/{orgId}/access-statusWhether the workspace can run work. Returns canAccess, reason, activeProvider, and per-provider availability.
GET/api/organizations/{orgId}/creditsFree credit status: limitUsd, usedUsd, remainingUsd, percentUsed, isUnlimited, isOverLimit, isNearLimit.
GET/api/organizations/{orgId}/usage?start=&end=Usage by day and by project, priced at retail, plus an estimate of work in flight.
GET/api/organizations/{orgId}/sandbox-limitThe concurrent sandbox limit and which sessions are currently running.
POST/api/organizations/{orgId}/stop-sandboxesStop sandboxes to free slots. Body { sessionIds: string[] }, 1 to 50 ids, all belonging to the workspace.
POST/api/organizations/{orgId}/request-creditsAsk the Kosuke team for more free credits.
GET, PATCH/api/organizations/{orgId}/getting-startedOnboarding milestones. PATCH takes { action: 'dismiss' } or { action: 'preview_opened' }.