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.

GET
/Analytics/usage
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.

Formatdate-time
to?string

End of the period, UTC.

Formatdate-time

Response 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
    }
  ]
}