Skip to content

Commit 3689721

Browse files
feat: update API specifications from internal repo (#121)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent a6834e4 commit 3689721

File tree

1 file changed

+84
-0
lines changed

1 file changed

+84
-0
lines changed

openapi.yml

Lines changed: 84 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1019,6 +1019,47 @@ components:
10191019
example:
10201020
- tag1
10211021
- tag2
1022+
ListBillingFieldsV1Response:
1023+
type: object
1024+
properties:
1025+
accessors:
1026+
type: array
1027+
description: List of accessor UUIDs for the time period
1028+
items:
1029+
type: string
1030+
format: uuid
1031+
example:
1032+
- 12345678-1234-1234-1234-123456789012
1033+
- 87654321-4321-4321-4321-210987654321
1034+
deployments:
1035+
type: array
1036+
description: List of deployment types for the time period
1037+
items:
1038+
type: string
1039+
enum:
1040+
- hosted
1041+
- beta
1042+
- self-hosted
1043+
- dedicated
1044+
example:
1045+
- hosted
1046+
- self-hosted
1047+
tags:
1048+
type: array
1049+
description: List of tags for the time period
1050+
items:
1051+
type: string
1052+
example:
1053+
- dev
1054+
- production
1055+
line_items:
1056+
type: object
1057+
description: Map of line item names to human-readable descriptions for the time period
1058+
additionalProperties:
1059+
type: string
1060+
example:
1061+
'streaming::nova-3': Nova - 3 (Stream)
1062+
'sync::aura-2': Aura -2 (Sync)
10221063
ListProjectInvitesV1Response:
10231064
type: object
10241065
properties:
@@ -3892,6 +3933,49 @@ paths:
38923933
application/json:
38933934
schema:
38943935
$ref: '#/components/schemas/ErrorResponse'
3936+
'/v1/projects/{project_id}/billing/fields':
3937+
x-dg-public: true
3938+
description: View billing fields for a given time period
3939+
servers:
3940+
- url: 'https://api.deepgram.com'
3941+
description: Deepgram Production API
3942+
x-fern-server-name: Production
3943+
parameters:
3944+
- $ref: '#/components/parameters/ManageV1ProjectId'
3945+
get:
3946+
summary: List Project Billing Fields
3947+
tags:
3948+
- Manage
3949+
- V1
3950+
- Projects
3951+
- Billing
3952+
- Fields
3953+
x-fern-sdk-group-name:
3954+
- manage
3955+
- v1
3956+
- projects
3957+
- billing
3958+
- fields
3959+
security:
3960+
- ApiKeyAuth: []
3961+
operationId: manage.v1.projects.billing.fields.list
3962+
description: '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.'
3963+
parameters:
3964+
- $ref: '#/components/parameters/ManageV1StartDate'
3965+
- $ref: '#/components/parameters/ManageV1EndDate'
3966+
responses:
3967+
'200':
3968+
description: A list of billing fields for a specific project
3969+
content:
3970+
application/json:
3971+
schema:
3972+
$ref: '#/components/schemas/ListBillingFieldsV1Response'
3973+
'400':
3974+
description: Invalid Request
3975+
content:
3976+
application/json:
3977+
schema:
3978+
$ref: '#/components/schemas/ErrorResponse'
38953979
'/v1/projects/{project_id}/invites':
38963980
x-dg-public: true
38973981
description: Manage your project invites

0 commit comments

Comments
 (0)