Skip to Content
MindedDocsGet started

usage.read

GET
/usage

Authorization

headerAuthorizationBearer <token>

A member’s Minded API key

Query Parameters

chatId?string
Length1 <= length

Response Body

OK

application/json
  1. response
usageLeftMicroUsd*integer
Range-9007199254740991 <= value <= 9007199254740991
days*number
ownSpentMicroUsd*integer
Range-9007199254740991 <= value <= 9007199254740991
orgSpentMicroUsd*|null
chatSpentMicroUsd*|null
Example Request
curl -X GET 'https://app.minded.com/v1/usage'
Example Response200
{  "usageLeftMicroUsd": -9007199254740991,  "days": 30,  "ownSpentMicroUsd": -9007199254740991,  "orgSpentMicroUsd": -9007199254740991,  "chatSpentMicroUsd": -9007199254740991}