Credits per value of one metadata key given at POST /processes, net of refunds: with metadata.client on every start, key=client is the cost per client. Covers the processes the key's member can read (the whole workspace for owners and admins). Values are returned as text. Up to 500 values, highest spend first.
Authorization
bearerAuth usage:readIn: header
Scope: usage:read
Query Parameters
^[A-Za-z0-9_-]{1,64}$"month"Value in
- "week"
- "month"
- "quarter"
- "year"
- "all"
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/usage/metadata?key=string"{ "data": [ { "value": "string", "credits": 0, "processes": 0 } ], "key": "string", "range": "week", "rangeStart": "2019-08-24T14:15:22Z", "rangeEnd": "2019-08-24T14:15:22Z", "truncated": true}{ "error": { "code": "string", "message": "string", "requestId": "string" }}{ "error": { "code": "string", "message": "string", "requestId": "string" }}{ "error": { "code": "string", "message": "string", "requestId": "string" }}{ "error": { "code": "string", "message": "string", "requestId": "string" }}{ "error": { "code": "string", "message": "string", "requestId": "string" }}List member spending GET
Every current team member's credit spend in a range, highest first, with their credit cap. Matches the Team Member Spending card on the account usage page. Requires the key's member to be a team owner or admin. A member's figures equal GET /usage/breakdown with that member's id as memberIds. Returns usage_breakdown_unavailable (409) until the workspace's usage history has been indexed.
List models GET
Returns public-safe model metadata and capabilities. startable: true means POST /processes in V1 accepts the model; other models (avatars, motion control, and the Suno music model) appear in process and asset reads but cannot be started yet. Audio model capabilities include voice/reference modes and setting ranges.