Skip to main content
GET
/
workspaces
/
{id}
/
subscription
Get workspace subscription
curl --request GET \
  --url https://api.akua.dev/v1/workspaces/{id}/subscription \
  --header 'Authorization: Bearer <token>'
{
  "id": "<string>",
  "workspace_id": "<string>",
  "tier": "<string>",
  "status": "<string>",
  "cancellation_scheduled": true,
  "current_period_end": "<string>",
  "created_at": "2023-11-07T05:31:56Z"
}

Documentation Index

Fetch the complete documentation index at: https://akua-1dce587a.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

workspace API token (sk_akua_...) or OAuth2 JWT. Create tokens at https://akua.dev/developers/api-tokens

Headers

akua-context
string

Optional workspace/scope context for the request. Carries a single workspace wire id (ws_…) today. Only needed for broad tokens — a workspace-owned token implies its workspace.

Required string length: 1 - 53
Example:

"ws_j572abc123def456"

Path Parameters

id
string
required

Workspace ID

Required string length: 1 - 53

Response

Workspace subscription

id
string
required
workspace_id
string
required
Required string length: 1 - 53
tier
string
required
status
string
required
cancellation_scheduled
boolean
required
current_period_end
string | null
required
billed_by
enum<string>
required
Available options:
platform,
seller
created_at
string<date-time>
required