Skip to main content
Deepgram's Docs

Search documentation

Type to search this documentation.

Get Project Balances

GET/v1/projects/{project_id}/balancesGet Project Balances

Generates a list of outstanding balances for the specified project

Parameters

project_idstringpathrequired

The unique identifier of the project

Responses

200A list of outstanding balancesapplication/json
objectListProjectBalancesV1Response

ListProjectBalancesV1Response

balancesarray of object
Show child attributes
Show array items
amountnumber · double

The amount of the balance

default 0

balance_idstring

The unique identifier of the balance

purchase_order_idstring

Description or reference of the purchase

unitsstring

The units of the balance, such as "USD"

Example response
{
  "balances": [
    {
      "amount": 0,
      "balance_id": "string",
      "purchase_order_id": "string",
      "units": "string"
    }
  ]
}
400Invalid Requestapplication/json
valueErrorResponse

ErrorResponse

oneOf · 3 options
Option 1stringErrorResponseTextError

ErrorResponseTextError

Option 2objectErrorResponseLegacyError

ErrorResponseLegacyError

err_codestring

The error code

err_msgstring

The error message

request_idstring

The request ID

Option 3objectErrorResponseModernError

ErrorResponseModernError

categorystring

The category of the error

detailsstring

A description of the error

messagestring

A message about the error

request_idstring

The unique identifier of the request

Example response
{
  "err_code": "string",
  "err_msg": "string",
  "request_id": "string"
}
Documentation menu