Skip to main content

Usage

The following request is used to retrieve a summary of the credits used and the audio generated in the workspace associated with the client credentials provided. It mirrors the information shown in the Usage section of Voiseed Studio.

Get Usage​

Returns the usage of the workspace associated with the client credentials provided, within the requested period. The period can be up to one year long.

The usage is reported separately for the platform (requests made from Voiseed Studio) and the api (requests made through the API). Within each of them, the usage is split in two groups:

  • audioGeneration: the usage of the audio generation services.
  • otherServices: the usage of all the other services.

Method: GET

Endpoint: https://api.voiseed.com/usage

Query Parameters:

FieldTypeDescriptionRequired
startDatestringFirst day of the period (inclusive). Format: YYYY-MM-DD, for example 2026-01-01. A date and time with a timezone, such as 2026-01-01T00:00:00Z, is also accepted.Required
endDatestringLast day of the period (inclusive), in the same format as startDate. It cannot be earlier than startDate and the period between the two cannot exceed one year.Required
serviceTypestringOptions: ["platform", "api"]
If omitted, the usage of both is returned.
Optional

Dates without a time are interpreted as full days in Irish time (Europe/Dublin), so endDate includes the whole day. A "+" sign in a timezone offset must be URL-encoded as %2B.

Example:

https://api.voiseed.com/usage?startDate=2026-01-01&endDate=2026-03-31&serviceType=api

Response:

{
"platform": {
"audioGeneration": {
"requests": number,
"generatedMinutes": number,
"creditsUsed": number
},
"otherServices": {
"requests": number,
"creditsUsed": number
}
},
"api": {
"audioGeneration": {
"requests": number,
"generatedMinutes": number,
"creditsUsed": number
},
"otherServices": {
"requests": number,
"creditsUsed": number
}
}
}

If the serviceType parameter is specified, only the corresponding object is returned. The requests attribute is the number of charged requests, generatedMinutes the minutes of audio generated and creditsUsed the credits charged. Minutes and credits are rounded to three decimal places.

Returned HTTP Codes

HTTP CodeDescription
200Success
400Invalid input
500Internal server error