accountDetails
Returns detailed information about the API account
Authorizations
MuzaicAPI-Secret-KeystringRequired
Responses
200
Account details retrieved successfully
application/json
accountIdintegerOptionalExample:
123namestringOptionalExample:
My API AccounttokensRemainingintegerOptionalExample:
Remaining tokens in account
1000tokensUsedintegerOptionalExample:
Tokens used this period
500planstringOptionalExample:
Account plan type
premiumexpiresAtstring · date-timeOptionalExample:
Account expiration date
2024-12-31T23:59:59ZcreatedAtstring · date-timeOptionalExample:
Account creation date
2024-01-01T00:00:00Z401
Unauthorized
404
Account not found
get/accountDetails
GET /accountDetails HTTP/1.1
Host: m10.muzaic.ai
MuzaicAPI-Secret-Key: YOUR_API_KEY
Accept: */*
{
"accountId": 123,
"name": "My API Account",
"tokensRemaining": 1000,
"tokensUsed": 500,
"plan": "premium",
"expiresAt": "2024-12-31T23:59:59Z",
"createdAt": "2024-01-01T00:00:00Z"
}Last updated