GET
/
usage-service
/
api
/
v1
/
usage
/
streams
/
{streamId}
curl --request GET \
  --url https://usage-service.vatis.tech/usage-service/api/v1/usage/streams/{streamId} \
  --header 'Authorization: Bearer <token>'
{
  "creatorId": "<string>",
  "groupId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "streamId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "streamConfigurationTemplateId": "<string>",
  "currency": "<string>",
  "processors": [
    {
      "creatorId": "<string>",
      "groupId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "streamId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "processorId": "<string>",
      "operationType": "BATCH_TRANSCRIPTION",
      "streamConfigurationTemplateId": "<string>",
      "timestamp": 123,
      "credits": "<string>",
      "executionTime": 123,
      "storageSize": 123,
      "ingressSize": 123,
      "egressSize": 123,
      "processedAudioLength": 123,
      "processedTokens": 123,
      "finalUsage": true,
      "errorOccurred": true,
      "processedInputTokens": 123,
      "processedOutputTokens": 123
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

streamId
string
required

Stream id

Query Parameters

currency
string

Currency to use for the report. If not specified, the default credits abstraction will be used

Example:

"USD"

Response

200
application/json

Stream usage retrieved successfully

The response is of type object.