cURL
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 } ] }
Get the usage of all processors in a stream
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Stream id
Currency to use for the report. If not specified, the default credits abstraction will be used
"USD"
Stream usage retrieved successfully
Show child attributes
BATCH_TRANSCRIPTION
REAL_TIME_TRANSCRIPTION
SPEAKERS_DIARIZATION
VOICE_ACTIVITY_DETECTION
TRANSCODE
TRANSLATION
SUMMARIZATION
SENTIMENT_ANALYSIS
NO_OPERATION
LLM_PROCESSING