Skip to content

Commit 68a0cd7

Browse files
feat: update API specifications (#52)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent cd16fbf commit 68a0cd7

File tree

1 file changed

+17
-12
lines changed

1 file changed

+17
-12
lines changed

openapi.yml

+17-12
Original file line numberDiff line numberDiff line change
@@ -1040,24 +1040,14 @@ paths:
10401040
security:
10411041
- ApiKeyAuth: []
10421042
operationId: getProjectUsageBreakdown
1043-
description: |
1044-
| Parameter | Type | Description |
1045-
|-----------|------|-------------|
1046-
| accessor | boolean | The public API key accessor used |
1047-
| deployment | boolean | The deployment type used |
1048-
| endpoint | boolean | The endpoint used |
1049-
| feature_set | boolean | The collection of features used |
1050-
| model | boolean | The model used |
1051-
| method | boolean | The processing method used |
1052-
| tags | boolean | Any tags used |
1053-
| diarize | boolean | Filter by diarization usage |
1054-
| utterances | boolean | Filter by utterances usage |
1043+
description: Retrieves the usage breakdown for a specific project, with various filter options
10551044
parameters:
10561045
- $ref: '#/components/parameters/project_id'
10571046
- $ref: '#/components/parameters/start'
10581047
- $ref: '#/components/parameters/end'
10591048
- $ref: '#/components/parameters/project_filters'
10601049
- $ref: '#/components/parameters/usage_breakdown_filters'
1050+
- $ref: '#/components/parameters/grouping'
10611051
responses:
10621052
'200':
10631053
$ref: '#/components/responses/usage_breakdown'
@@ -2111,6 +2101,21 @@ components:
21112101
tags:
21122102
type: string
21132103
description: Filter results by specific tags
2104+
grouping:
2105+
name: grouping
2106+
in: query
2107+
required: false
2108+
description: Common usage grouping parameters
2109+
schema:
2110+
type: string
2111+
enum:
2112+
- accessor
2113+
- endpoint
2114+
- feature_set
2115+
- models
2116+
- method
2117+
- tags
2118+
- deployment
21142119
distribution_scopes:
21152120
name: scopes
21162121
in: query

0 commit comments

Comments
 (0)