NAME

OpenAPI::Client::OpenAI::Path::files-file_id - Documentation for the /files/{file_id} path.

DESCRIPTION

This document describes the API endpoint at /files/{file_id}.

See the examples/ directory in the distribution for examples of how to use this.

DELETE /files/{file_id}

Delete a file.

Operation ID

deleteFile

$client->deleteFile( ... );

Parameters

  • file_id (in path) (Required) - The ID of the file to use for this request. Type: string

Responses

Status Code: 200

OK

Content Types:

  • application/json

GET /files/{file_id}

Returns information about a specific file.

Operation ID

retrieveFile

$client->retrieveFile( ... );

Parameters

  • file_id (in path) (Required) - The ID of the file to use for this request. Type: string

Responses

Status Code: 200

OK

Content Types:

  • application/json

SEE ALSO

OpenAPI::Client::OpenAI::Path

COPYRIGHT AND LICENSE

Copyright (C) 2023-2025 by Nelson Ferraz

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.14.0 or, at your option, any later version of Perl 5 you may have available.