Get storage volume summary
https://api.respan.ai/api/dashboard/storage-volume/summary/Returns total storage volume for the time range.
Servers
https://api.respan.ai: Respan API Server
Authentication
RespanApiKey
Use your Respan API key for Respan API authentication. Enter only the Respan API key value; clients send Authorization: Bearer <RESPAN_API_KEY>. For /api/responses, provider credentials such as Perplexity, OpenAI, or Azure OpenAI go in Settings -> Providers or respan_params.credential_override in the request body, not in this authentication field.
HTTP scheme: bearer; format: Respan API key.
Authorization: Bearer $RESPAN_API_KEYOr:
DashboardJwt
Use a dashboard JWT only for dashboard-authenticated endpoints. Respan API-key endpoints use the respanApiKey auth field instead.
HTTP scheme: bearer; format: Dashboard JWT.
Authorization: Bearer $RESPAN_DASHBOARD_JWTQuery parameters
summary_type string OptionalAllowed:
"daily", "weekly", "monthly", "quarterly", "yearly", "last_24h", "all"Default:
alldate string Optionalsummary_type presets.Format:
datetimezone_offset number OptionalDefault:
0Responses
200
Successful response.
application/json
$ object Body
summary object Required in parent
#/components/schemas/DashboardStorageSummarysummary.total_bytes integer Optionalsummary.object_count integer Optionalsummary.standard_bytes integer Optionalsummary.glacier_ir_bytes integer Optionalsummary.deep_archive_bytes integer OptionalOpenAPI response schema
{
"type": "object",
"required": [
"summary"
],
"properties": {
"summary": {
"$ref": "#/components/schemas/DashboardStorageSummary"
}
}
}403
The API key is missing, invalid or expired.
application/json
$ object Body
detail string Required in parentOpenAPI response schema
{
"type": "object",
"required": [
"detail"
],
"properties": {
"detail": {
"type": "string"
}
}
}Example
{
"detail": "Your API key is invalid or expired, please check your API key in the platform settings."
}OpenAPI source
The operation and referenced components below retain the complete OpenAPI definitions, including constraints and examples.
OpenAPI operation
{
"summary": "Get storage volume summary",
"operationId": "getStorageVolumeSummary",
"tags": [
"Dashboard"
],
"description": "Returns total storage volume for the time range.",
"parameters": [
{
"name": "summary_type",
"in": "query",
"schema": {
"type": "string",
"enum": [
"daily",
"weekly",
"monthly",
"quarterly",
"yearly",
"last_24h",
"all"
],
"default": "all"
},
"description": "Preset time range for the storage volume query."
},
{
"name": "date",
"in": "query",
"schema": {
"type": "string",
"format": "date"
},
"description": "Base date used with `summary_type` presets."
},
{
"name": "timezone_offset",
"in": "query",
"schema": {
"type": "number",
"default": 0
},
"description": "Timezone offset, in hours, used when resolving preset ranges."
}
],
"responses": {
"200": {
"description": "Successful response.",
"content": {
"application/json": {
"schema": {
"type": "object",
"required": [
"summary"
],
"properties": {
"summary": {
"$ref": "#/components/schemas/DashboardStorageSummary"
}
}
}
}
}
},
"403": {
"$ref": "#/components/responses/InvalidApiKey"
}
},
"security": [
{
"RespanApiKey": []
},
{
"DashboardJwt": []
}
]
}OpenAPI path metadata
{}Referenced OpenAPI components
{
"responses": {
"InvalidApiKey": {
"description": "The API key is missing, invalid or expired.",
"content": {
"application/json": {
"schema": {
"type": "object",
"required": [
"detail"
],
"properties": {
"detail": {
"type": "string"
}
}
},
"example": {
"detail": "Your API key is invalid or expired, please check your API key in the platform settings."
}
}
}
}
},
"schemas": {
"DashboardStorageSummary": {
"type": "object",
"properties": {
"total_bytes": {
"type": "integer"
},
"object_count": {
"type": "integer"
},
"standard_bytes": {
"type": "integer"
},
"glacier_ir_bytes": {
"type": "integer"
},
"deep_archive_bytes": {
"type": "integer"
}
}
}
},
"securitySchemes": {
"DashboardJwt": {
"type": "http",
"scheme": "bearer",
"bearerFormat": "Dashboard JWT",
"description": "Use a dashboard JWT only for dashboard-authenticated endpoints. Respan API-key endpoints use the respanApiKey auth field instead.",
"x-fern-bearer": {
"name": "dashboardJwt",
"env": "RESPAN_DASHBOARD_JWT"
}
},
"RespanApiKey": {
"type": "http",
"scheme": "bearer",
"bearerFormat": "Respan API key",
"description": "Use your Respan API key for Respan API authentication. Enter only the Respan API key value; clients send Authorization: Bearer <RESPAN_API_KEY>. For /api/responses, provider credentials such as Perplexity, OpenAI, or Azure OpenAI go in Settings -> Providers or respan_params.credential_override in the request body, not in this authentication field.",
"x-fern-bearer": {
"name": "respanApiKey",
"env": "RESPAN_API_KEY"
}
}
}
}