# `OpenaiEx.Files`
[🔗](https://github.com/cyberchitta/openai_ex/blob/v0.10.0/lib/openai_ex/files.ex#L1)

This module provides an implementation of the OpenAI files API. The API reference can be found at https://platform.openai.com/docs/api-reference/files.

# `content`

# `content!`

Calls the file retrieve_content endpoint.

https://platform.openai.com/docs/api-reference/files/retrieve-content

# `create`

# `create!`

Calls the file upload endpoint.

https://platform.openai.com/docs/api-reference/files/upload

# `delete`

# `delete!`

Calls the file delete endpoint.

https://platform.openai.com/docs/api-reference/files/delete

# `list`

# `list!`

Lists the files that belong to the user's organization.

https://platform.openai.com/docs/api-reference/files/list

# `new`

Creates a new file retrieve / deletion / retrieve_content request

# `new_upload`

Creates a new file upload request with the given arguments.

# `retrieve`

# `retrieve!`

Calls the file retrieve endpoint.

https://platform.openai.com/docs/api-reference/files/retrieve

