AnalyticsUsage
What the module has spent over a period and where the pipeline stands right now: conversations analysed, GPU minutes paid for recognition, tokens spent on judging, and how many gave up.
Authorization
Bearer AuthorizationBearer <token>
JWT Authorization header using Bearer scheme
In: header
Query Parameters
from?string
Start of the period, UTC. Counted by when the analysis ran.
Format
date-timeto?string
End of the period, UTC.
Format
date-timeResponse Body
application/json
curl -X GET "https://test.api.speaknode.com/api/Analytics/usage"{
"from": "2019-08-24T14:15:22Z",
"to": "2019-08-24T14:15:22Z",
"analysed_conversations": 0,
"transcribed_minutes": 0.1,
"prompt_tokens": 0,
"completion_tokens": 0,
"failed_conversations": 0,
"pipeline": [
{
"status": "Pending",
"count": 0
}
]
}