AudioStack Analytics API
The Analytics API from AudioStack — 1 operation(s) for analytics.
The Analytics API from AudioStack — 1 operation(s) for analytics.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/audiostack:audiostack-analytics-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Audiostack Analytics API
description: Documentation for the Audiostack API - the infrastructure for audio
version: v2
termsOfService: https://audiostack.ai/en/legal/terms-of-service
contact:
email: support@audiostack.ai
servers:
- url: https://v2.api.audio
description: Production server
- url: https://staging-v2.api.audio
description: Staging server
security:
- ApiKeyAuth: []
- BearerAuth: []
tags:
- name: Analytics
paths:
/analytics/usage:
get:
tags:
- Analytics
summary: Get usage in a date range
description: 'Returns usage information between the specified start and end dates inclusive.
Usage metrics are:
- Total number of audioforms created
- Total seconds of production audio created
Both dates must be valid and not in the future. The end date must be equal to or after the start date.'
operationId: getAnalyticsUsage
parameters:
- name: dateFrom
in: query
required: true
schema:
type: string
format: date
description: Start date for the usage report (YYYY-MM-DD). Must not be in the future.
example: '2026-01-25'
- name: dateTo
in: query
required: true
schema:
type: string
format: date
description: End date for the usage report (YYYY-MM-DD). Must be equal to or after dateFrom. Must not be in the future.
example: '2026-01-26'
responses:
'200':
description: Events usage report generated successfully
content:
application/json:
schema:
$ref: '#/components/schemas/AnalyticsUsageResponse'
'422':
description: Validation error - invalid date, date in future, or date_to must be after date_from
content:
application/json:
schema:
$ref: '#/components/schemas/AnalyticsValidationError'
components:
schemas:
AnalyticsValidationError:
type: object
properties:
detail:
type: object
properties:
error:
type: string
description: Error type
example: Validation error occurred
message:
type: string
description: Detailed validation error message
examples:
invalidDate: 'date_to: Input should be a valid datetime or date, day value is outside expected range'
dateOrder: 'date_to: Value error, date_to must be after date_from'
required:
- detail
AnalyticsUsageResponse:
type: object
properties:
metadata:
type: object
properties:
request_id:
type: string
description: Unique identifier for the request
version:
type: string
description: API version
credit_used:
type: number
description: Credits used for this request
credits_remaining:
type: number
description: Credits remaining
warnings:
type: array
items:
type: string
default: []
message:
type: string
description: Success message
example: Events usage report generated successfully.
data:
type: object
properties:
totalUsage:
type: object
properties:
productionSecondsCreated:
type: number
description: Total seconds of production audio created in the date range
audioformsCreated:
type: integer
description: Total number of audioforms created in the date range
required:
- metadata
- warnings
- message
- data
securitySchemes:
ApiKeyAuth:
type: apiKey
in: header
name: x-api-key
BearerAuth:
type: http
scheme: bearer
bearerFormat: JWT