Skip to main content
Deepgram's Docs

Search documentation

Type to search this documentation.

Get a Project Balance

GET/v1/projects/{project_id}/balances/{balance_id}Get a Project Balance

Retrieves details about the specified balance

Parameters

project_idstringpathrequired

The unique identifier of the project

balance_idstringpathrequired

The unique identifier of the balance

Responses

200A specific balanceapplication/json
objectGetProjectBalanceV1Response

GetProjectBalanceV1Response

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
{
  "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