Skip to main content
Deepgram's Docs

Search documentation

Type to search this documentation.

List Project Billing Fields

GET/v1/projects/{project_id}/billing/fieldsList Project Billing Fields

Lists the accessors, deployment types, tags, and line items used for billing data in the specified time period. Use this endpoint if you want to filter your results from the Billing Breakdown endpoint and want to know what filters are available.

Parameters

project_idstringpathrequired

The unique identifier of the project

startstring · datequery

Start date of the requested date range. Format accepted is YYYY-MM-DD

endstring · datequery

End date of the requested date range. Format accepted is YYYY-MM-DD

Responses

200A list of billing fields for a specific projectapplication/json
objectListBillingFieldsV1Response

ListBillingFieldsV1Response

accessorsarray of string · uuid

List of accessor UUIDs for the time period

Show child attributes
deploymentsarray of string

List of deployment types for the time period

Show child attributes
line_itemsobject

Map of line item names to human-readable descriptions for the time period

tagsarray of string

List of tags for the time period

Show child attributes
Example response
{
  "accessors": [
    "00000000-0000-0000-0000-000000000000"
  ],
  "deployments": [
    "beta"
  ],
  "line_items": {
    "additionalProp1": "string"
  },
  "tags": [
    "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