# Can i use the upload files option through the perplexity API?

**URL:** <https://community.perplexity.ai/t/can-i-use-the-upload-files-option-through-the-perplexity-api/92>\
**Category:** Bug Reports\
**Created:** [May 15, 2025, 12:15am UTC](https://community.perplexity.ai/t/can-i-use-the-upload-files-option-through-the-perplexity-api/92 "2025-05-15T00:15:27Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![vikvang](https://avatars.discourse-cdn.com/v4/letter/v/67e7ee/32.png) [@vikvang](https://community.perplexity.ai/u/vikvang)\
**Post date:** [May 15, 2025, 12:15am UTC](https://community.perplexity.ai/t/can-i-use-the-upload-files-option-through-the-perplexity-api/92/1 "2025-05-15T00:15:27Z")

</div>

So the thing is my usecase involves uploading files that are over 128k tokens, so i need to upload them as files. It works through the interface but i didnt find any relevant docs related to it can you provide me with the documentation or tell me if its possible or not?

---

<div class="post-metadata">

**Author:** ![vikvang](https://avatars.discourse-cdn.com/v4/letter/v/67e7ee/32.png) [@vikvang](https://community.perplexity.ai/u/vikvang)\
**Post date:** [May 15, 2025, 12:15am UTC](https://community.perplexity.ai/t/can-i-use-the-upload-files-option-through-the-perplexity-api/92/2 "2025-05-15T00:15:29Z")

</div>

Found this answered in another thread a few weeks ago, the answer is that it is not. Here’s the thread in question: [Using Perplexity AI API with attached files · ppl-ai/api-discussion · Discussion #76 · GitHub](https://github.com/ppl-ai/api-discussion/discussions/76#discussion-7528518)
