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.
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-timeHeader Parameters
x-space-id?string
Space to act in. Omit to use the user's default space. Must be a space the user belongs to, otherwise the request is rejected.
Format
uuidResponse Body
application/json
curl -X GET "https://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
}
]
}