balance
GET
/v1/user/balanceGet the credit balance of the account/organization associated with the API key
Request
Header Params
Organization
string
optional
Allows for requests to be scoped to an organization other than the user's default. If not provided, the user's default organization will be used.
Example:
org-123456
Stability-Client-ID
string
optional
Used to identify the source of requests, such as the client application or sub-organization. Optional, but recommended for organizational clarity.
Example:
my-great-plugin
Stability-Client-Version
string
optional
Used to identify the version of the application or service making the requests. Optional, but recommended for organizational clarity.
Example:
1.2.1
Request samples
Responses
OK response.(200)
401(401)
500(500)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
credits
number <double>
required
The balance of the account/organization associated with the API key
Example:
0.41122252265928866
Example
{
"credits": 0.6336833840314097
}
Last modified: 10 months ago