GET
/
prod
/
v1
/
subscription
Get workspace subscription
curl --request GET \
  --url https://api.orion.file.ai/prod/v1/subscription \
  --header 'x-api-key: <api-key>'
{
  "subscription": {
    "id": "686ccbacfe8fa1c80e69bc55",
    "workspaceId": "686ccbacfe8fa1c80e69bc55",
    "subscriptionPlan": "STARTER",
    "isTrial": true,
    "creditInCents": 500,
    "lowCreditThresholdInCents": 0,
    "expiringCreditInCents": 500,
    "expiryDate": "2025-07-22T07:41:32.607Z",
    "storageInGB": 0,
    "maxStorageInGB": 100,
    "importCount": 0,
    "maxImportCount": 1,
    "exportCount": 0,
    "maxExportCount": 1,
    "aiSchemaCount": 0,
    "maxAiSchemaCount": 2,
    "isAutoRenewal": true,
    "createdAt": "2025-07-08T07:41:32.323Z",
    "updatedAt": "2025-07-10T10:50:20.997Z"
  }
}

Authorizations

x-api-key
string
header
required

API key for authentication

Response

200
application/json

The subscription is retrieved

The response is of type object.