On this page
Get workspace settings
Read the organization’s display name and retention policy.
Operation ID: tenant_settings.get.
Request
GET /api/v1/tenant/settings
- TypeScript SDK:
client.tenant_settings.get(path arguments usepath). - MCP tool:
sdk_client_callwithoperationId: "tenant_settings.get"(path arguments useinput.path). Legacy alias:tenant_settings_get. Connect to your authenticated/mcpendpoint with an API key for the same environment. - Minimum API key role: viewer.
- Idempotency: No idempotency header required.
Read resource IDs from earlier responses and use a key for the same environment.
Request example
Set each path variable to an ID returned by an earlier API request.
Set CUMULUS_BASE_URL to your workspace API URL and CUMULUS_API_KEY to a key for that environment. Example values are synthetic.
cURL
curl --fail-with-body -sS "${CUMULUS_BASE_URL%/}/api/v1/tenant/settings" \
-H "Authorization: Bearer $CUMULUS_API_KEY"
TypeScript
import { Cumulus } from "@cumulus/sdk";
const baseUrl = process.env.CUMULUS_BASE_URL;
const apiKey = process.env.CUMULUS_API_KEY;
if (!baseUrl || !apiKey) throw new Error("Set CUMULUS_BASE_URL and CUMULUS_API_KEY");
const client = new Cumulus({ baseUrl, apiKey });
const response = await client.tenant_settings.get({});
Input schema
Path, query and header parameters
No path or query parameters.
JSON request body
This operation has no JSON request body.
Complete OpenAPI schema
{
"parameters": [],
"requestBody": null
}
Responses
HTTP 200
Read the organization's display name and retention settings
application/json
| Field | Type or values | Required | Description and limits |
|---|---|---|---|
name | string | Required | minLength: 1. |
display_name | string or null | Required | — |
retention | object | Required | — |
retention.recording_days | integer | Required | At least 1. At most 3650. |
retention.transcript_days | integer | Required | At least 1. At most 3650. |
retention.document_days | integer or null | Required | At least 1. At most 3650. |
retention.source | "platform_default" · "tenant" | Required | — |
retention.version | integer | Required | At least 0. At most 9007199254740991. |
Error responses
| HTTP | Description |
|---|---|
| 4XX | Typed error (ApiError) |
| 5XX | Typed error (ApiError) |
Errors use the shared error envelope. Inspect error.code, retryable, outcome and details before retrying.
Complete OpenAPI schema
{
"200": {
"description": "Read the organization's display name and retention settings",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/TenantSettingsGetResponse200"
}
}
}
},
"4XX": {
"description": "Typed error (ApiError)",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ApiError"
}
}
}
},
"5XX": {
"description": "Typed error (ApiError)",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ApiError"
}
}
}
}
}
Referenced schemas
Expand the complete OpenAPI definitions for integrations that generate their own clients.
Complete OpenAPI schema
{
"components": {
"schemas": {
"TenantSettingsGetResponse200": {
"type": "object",
"properties": {
"name": {
"type": "string",
"minLength": 1
},
"display_name": {
"nullable": true,
"type": "string"
},
"retention": {
"type": "object",
"properties": {
"recording_days": {
"type": "integer",
"minimum": 1,
"maximum": 3650
},
"transcript_days": {
"type": "integer",
"minimum": 1,
"maximum": 3650
},
"document_days": {
"nullable": true,
"type": "integer",
"minimum": 1,
"maximum": 3650
},
"source": {
"type": "string",
"enum": [
"platform_default",
"tenant"
]
},
"version": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
}
},
"required": [
"recording_days",
"transcript_days",
"document_days",
"source",
"version"
],
"additionalProperties": false
}
},
"required": [
"name",
"display_name",
"retention"
],
"additionalProperties": false
},
"ApiError": {
"type": "object",
"properties": {
"error": {
"type": "object",
"properties": {
"code": {
"type": "string",
"enum": [
"unauthenticated",
"forbidden",
"not_found",
"conflict",
"invalid_request",
"idempotency_conflict",
"policy_denied",
"capability_unavailable",
"provider_unavailable",
"knowledge_unavailable",
"publication_invalid",
"run_not_active",
"rate_limited",
"outcome_unknown",
"internal"
]
},
"message": {
"type": "string"
},
"retryable": {
"type": "boolean"
},
"outcome": {
"type": "string",
"enum": [
"none",
"unknown"
]
},
"details": {
"type": "object",
"additionalProperties": {}
}
},
"required": [
"code",
"message",
"retryable",
"outcome"
],
"additionalProperties": false
}
},
"required": [
"error"
],
"additionalProperties": false
}
}
}
}
Errors and recovery
See API error handling and Troubleshooting.