Container File
You can send either a multipart/form-data request with the raw file content, or a JSON request with a file ID.
=back
See L<OpenAPI::Client::OpenAI::Path::containers-container_id-fil
s://platform.openai.com/docs/assistants/tools> for details.
The Fine-tuning API only supports C<.jsonl> files. The input also has certain required formats for fine-tuning L<chat|https://platform.open
nai.com/docs/api-reference/fine-tuning/completions-input> models.
The Batch API only supports C<.jsonl> files up to 200 MB in size. The input also has a specific required L<format|https://platform.op
es
=head4 Status Code: C<200>
Success
=head4 Content Types:
=over 4
=item * C<application/json>
Example (See the L<OpenAI spec for more detail|https://github.com/openai/openai-openapi/blob/ma
921ff305e08e78805b9fdbb04\",\n \"path\": \"/mnt/data/88e12fa445d32636f190a0b33daed6cb-tsconfig.json\",\n \"source\": \"user\"\n}\n"
]
}
=back
=head2 C<POST /containers/{container_i
Container File
You can send either a multipart/form-data request with the raw file content, or a JSON request with a file ID.
=head3 Operation ID
C<CreateContainerFile>
$client->CreateContai
<200>
Certificates listed successfully.
=head4 Content Types:
=over 4
=item * C<application/json>
Example (See the L<OpenAI spec for more detail|https://github.com/openai/openai-openapi/blob/ma
ication/json>
=head3 Responses
=head4 Status Code: C<200>
Certificate uploaded successfully.
=head4 Content Types:
=over 4
=item * C<application/json>
Exam
);
=head3 Parameters
=over 4
=back
=head3 Request Body
=head3 Content Type: C<application/json>
Realtime transcription session object configuration.
Example:
{
e: C<200>
Session created successfully.
=head4 Content Types:
=over 4
=item * C<application/json>
Example (See the L<OpenAI spec for more detail|https://github.com/openai/openai-openapi/blob/ma
200>
Usage data retrieved successfully.
=head4 Content Types:
=over 4
=item * C<application/json>
Example (See the L<OpenAI spec for more detail|https://github.com/openai/openai-openapi/blob/ma
tion/json>
=head3 Responses
=head4 Status Code: C<200>
Project rate limit updated successfully.
=head4 Content Types:
=over 4
=item * C<application/json>
E
Error response for various conditions.
=head4 Content Types:
=over 4
=item * C<application/json>
Example (See the L<OpenAI spec for more detail|https://github.com/openai/openai-openapi/blob/ma
200>
Usage data retrieved successfully.
=head4 Content Types:
=over 4
=item * C<application/json>
Example (See the L<OpenAI spec for more detail|https://github.com/openai/openai-openapi/blob/ma
);
=head3 Parameters
=over 4
=back
=head3 Request Body
=head3 Content Type: C<application/json>
=head4 Models
One of the available L<TTS models|https://platform.openai.c
=head4 Status Code: C<404>
Not Found
=head4 Content Types:
=over 4
=item * C<application/json>
Example (See the L<OpenAI spec for more detail|https://github.com/openai/openai-openapi/blob/ma
sponses
=head4 Status Code: C<200>
OK
=head4 Content Types:
=over 4
=item * C<application/json>
Example (See the L<OpenAI spec for more detail|https://github.com/openai/openai-openapi/blob/ma
200>
Project users listed successfully.
=head4 Content Types:
=over 4
=item * C<application/json>
Example (See the L<OpenAI spec for more detail|https://github.com/openai/openai-openapi/blob/ma
Error response when project is archived.
=head4 Content Types:
=over 4
=item * C<application/json>
Example (See the L<OpenAI spec for more detail|https://github.com/openai/openai-openapi/blob/ma
cation/json>
=head3 Responses
=head4 Status Code: C<200>
User added to project successfully.
=head4 Content Types:
=over 4
=item * C<application/json>
Exam
C<200>
A list of organization API keys.
=head4 Content Types:
=over 4
=item * C<application/json>
Example (See the L<OpenAI spec for more detail|https://github.com/openai/openai-openapi/blob/ma
);
=head3 Parameters
=over 4
=back
=head3 Request Body
=head3 Content Type: C<application/json>
Example:
{
"name" : "New Admin Key"
}
C<200>
The newly created admin API key.
=head4 Content Types:
=over 4
=item * C<application/json>
Example (See the L<OpenAI spec for more detail|https://github.com/openai/openai-openapi/blob/ma
: C<200>
Project archived successfully.
=head4 Content Types:
=over 4
=item * C<application/json>
Example (See the L<OpenAI spec for more detail|https://github.com/openai/openai-openapi/blob/ma
Code: C<200>
A list of Chat Completions
=head4 Content Types:
=over 4
=item * C<application/json>
Example (See the L<OpenAI spec for more detail|https://github.com/openai/openai-openapi/blob/ma
ent Type: C<application/json>
=head3 Responses
=head4 Status Code: C<200>
OK
=head4 Content Types:
=over 4
=item * C<application/json>
Example (See the L<O
200>
Costs data retrieved successfully.
=head4 Content Types:
=over 4
=item * C<application/json>
Example (See the L<OpenAI spec for more detail|https://github.com/openai/openai-openapi/blob/ma
sponses
=head4 Status Code: C<200>
OK
=head4 Content Types:
=over 4
=item * C<application/json>
Example (See the L<OpenAI spec for more detail|https://github.com/openai/openai-openapi/blob/ma
ent Type: C<application/json>
=head3 Responses
=head4 Status Code: C<200>
OK
=head4 Content Types:
=over 4
=item * C<application/json>
Example (See the L<O
e: C<200>
Projects listed successfully.
=head4 Content Types:
=over 4
=item * C<application/json>
Example (See the L<OpenAI spec for more detail|https://github.com/openai/openai-openapi/blob/ma
plication/json>
=head3 Responses
=head4 Status Code: C<200>
Project created successfully.
=head4 Content Types:
=over 4
=item * C<application/json>
Example
>
Project API keys listed successfully.
=head4 Content Types:
=over 4
=item * C<application/json>
Example (See the L<OpenAI spec for more detail|https://github.com/openai/openai-openapi/blob/ma
hat completion was deleted successfully.
=head4 Content Types:
=over 4
=item * C<application/json>
Example (See the L<OpenAI spec for more detail|https://github.com/openai/openai-openapi/blob/ma
4 Status Code: C<200>
A chat completion
=head4 Content Types:
=over 4
=item * C<application/json>
Example (See the L<OpenAI spec for more detail|https://github.com/openai/openai-openapi/blob/ma
: C<application/json>
=head3 Responses
=head4 Status Code: C<200>
A chat completion
=head4 Content Types:
=over 4
=item * C<application/json>
Example (See
sponses
=head4 Status Code: C<200>
OK
=head4 Content Types:
=over 4
=item * C<application/json>
Example (See the L<OpenAI spec for more detail|https://github.com/openai/openai-openapi/blob/ma
sponses
=head4 Status Code: C<200>
OK
=head4 Content Types:
=over 4
=item * C<application/json>
Example (See the L<OpenAI spec for more detail|https://github.com/openai/openai-openapi/blob/ma
t to modify.
Type: C<string>
=back
=head3 Request Body
=head3 Content Type: C<application/json>
=head4 Models
ID of the model to use. You can use the L<List models|https
sponses
=head4 Status Code: C<200>
OK
=head4 Content Types:
=over 4
=item * C<application/json>
Example (See the L<OpenAI spec for more detail|https://github.com/openai/openai-openapi/blob/ma
s://platform.openai.com/docs/assistants/tools> for details.
The Fine-tuning API only supports C<.jsonl> files. The input also has certain required formats for fine-tuning L<chat|https://platform.open
nai.com/docs/api-reference/fine-tuning/completions-input> models.
The Batch API only supports C<.jsonl> files up to 200 MB in size. The input also has a specific required L<format|https://platform.op