Skip to content

Commit

Permalink
Merge pull request #374 from openai/dev/jzhou/usage-api-typo
Browse files Browse the repository at this point in the history
Fix typo
  • Loading branch information
jzhou-openai authored Dec 5, 2024
2 parents ad1cc6a + d7a9f7e commit ab22d64
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4124,7 +4124,7 @@ paths:
"end_time": 1730505600,
"results": [
{
"object": "orgainzation.costs.result",
"object": "organization.costs.result",
"amount": {
"value": 0.06,
"currency": "usd"
Expand Down Expand Up @@ -5741,7 +5741,7 @@ paths:
"end_time": 1730505600,
"results": [
{
"object": "orgainzation.usage.audio_transcriptions.result",
"object": "organization.usage.audio_transcriptions.result",
"seconds": 20,
"num_model_requests": 1,
"project_id": null,
Expand Down Expand Up @@ -5854,7 +5854,7 @@ paths:
"end_time": 1730505600,
"results": [
{
"object": "orgainzation.usage.code_interpreter_sessions.result",
"object": "organization.usage.code_interpreter_sessions.result",
"sessions": 1,
"project_id": null
}
Expand Down Expand Up @@ -5999,7 +5999,7 @@ paths:
"end_time": 1730505600,
"results": [
{
"object": "orgainzation.usage.completions.result",
"object": "organization.usage.completions.result",
"input_tokens": 1000,
"output_tokens": 500,
"input_cached_tokens": 800,
Expand Down Expand Up @@ -6142,7 +6142,7 @@ paths:
"end_time": 1730505600,
"results": [
{
"object": "orgainzation.usage.embeddings.result",
"object": "organization.usage.embeddings.result",
"input_tokens": 16,
"num_model_requests": 2,
"project_id": null,
Expand Down Expand Up @@ -6314,7 +6314,7 @@ paths:
"end_time": 1730505600,
"results": [
{
"object": "orgainzation.usage.images.result",
"object": "organization.usage.images.result",
"images": 2,
"num_model_requests": 2,
"size": null,
Expand Down Expand Up @@ -6456,7 +6456,7 @@ paths:
"end_time": 1730505600,
"results": [
{
"object": "orgainzation.usage.moderations.result",
"object": "organization.usage.moderations.result",
"input_tokens": 16,
"num_model_requests": 2,
"project_id": null,
Expand Down Expand Up @@ -6568,7 +6568,7 @@ paths:
"end_time": 1730505600,
"results": [
{
"object": "orgainzation.usage.vector_stores.result",
"object": "organization.usage.vector_stores.result",
"usage_bytes": 1024,
"project_id": null
}
Expand Down Expand Up @@ -12914,7 +12914,7 @@ components:
name: Costs object
example: |
{
"object": "orgainzation.costs.result",
"object": "organization.costs.result",
"amount": {
"value": 0.06,
"currency": "usd"
Expand Down Expand Up @@ -23228,7 +23228,7 @@ components:
name: Audio speeches usage object
example: |
{
"object": "orgainzation.usage.audio_speeches.result",
"object": "organization.usage.audio_speeches.result",
"characters": 45,
"num_model_requests": 1,
"project_id": "proj_abc",
Expand Down Expand Up @@ -23275,7 +23275,7 @@ components:
name: Audio transcriptions usage object
example: |
{
"object": "orgainzation.usage.audio_transcriptions.result",
"object": "organization.usage.audio_transcriptions.result",
"seconds": 10,
"num_model_requests": 1,
"project_id": "proj_abc",
Expand Down Expand Up @@ -23306,7 +23306,7 @@ components:
name: Code interpreter sessions usage object
example: |
{
"object": "orgainzation.usage.code_interpreter_sessions.result",
"object": "organization.usage.code_interpreter_sessions.result",
"sessions": 1,
"project_id": "proj_abc"
}
Expand Down Expand Up @@ -23360,7 +23360,7 @@ components:
name: Completions usage object
example: |
{
"object": "orgainzation.usage.completions.result",
"object": "organization.usage.completions.result",
"input_tokens": 5000,
"output_tokens": 1000,
"input_cached_tokens": 4000,
Expand Down Expand Up @@ -23409,7 +23409,7 @@ components:
name: Embeddings usage object
example: |
{
"object": "orgainzation.usage.embeddings.result",
"object": "organization.usage.embeddings.result",
"input_tokens": 20,
"num_model_requests": 2,
"project_id": "proj_abc",
Expand Down Expand Up @@ -23464,7 +23464,7 @@ components:
name: Images usage object
example: |
{
"object": "orgainzation.usage.images.result",
"object": "organization.usage.images.result",
"images": 2,
"num_model_requests": 2,
"size": "1024x1024",
Expand Down Expand Up @@ -23512,7 +23512,7 @@ components:
name: Moderations usage object
example: |
{
"object": "orgainzation.usage.moderations.result",
"object": "organization.usage.moderations.result",
"input_tokens": 20,
"num_model_requests": 2,
"project_id": "proj_abc",
Expand Down Expand Up @@ -23591,7 +23591,7 @@ components:
name: Vector stores usage object
example: |
{
"object": "orgainzation.usage.vector_stores.result",
"object": "organization.usage.vector_stores.result",
"usage_bytes": 1024,
"project_id": "proj_abc"
}
Expand Down

0 comments on commit ab22d64

Please sign in to comment.