GET
/
account-info
curl --request GET \
  --url https://moonshine-edge-compute.com/account-info
{
  "user_id": "<string>",
  "email": "<string>",
  "total-seconds-uploaded": 123,
  "pending-seconds-uploaded": 123,
  "number-of-queries": 123,
  "balance": 123,
  "payment-history": [
    {}
  ],
  "tokens": [
    {}
  ]
}

Query Parameters

userid
string
required

The user ID to fetch account information for

Response

200
application/json
Account information response
user_id
string

User's unique identifier

email
string

User's email address

total-seconds-uploaded
integer

Total seconds of video uploaded

pending-seconds-uploaded
integer

Seconds of video pending processing

number-of-queries
integer

Number of queries made

balance
number

Account balance

payment-history
object[]

History of payments

tokens
object[]

User tokens