# PX API Reference

Dive into the specifics of each API endpoint by checking out our complete documentation.

## Authentication

Auth authenticates the user and checks their PollinationX (PX) storage NFTs.

{% content-ref url="/pages/HbRfSy16FsK8e6rUS2Qv" %}
[Auth](/developer-section/px-api-reference/auth.md)
{% endcontent-ref %}

## File management

This API endpoints for uploading and downloading files to/from decentralized storage.

{% content-ref url="/spaces/dhAnLhcEtZNDPAiBQKzC/pages/1TGSYX8K6VDh7GI0nRya" %}
[Upload](/developer-section/px-api-reference/upload.md)
{% endcontent-ref %}

{% content-ref url="/spaces/dhAnLhcEtZNDPAiBQKzC/pages/idpg62K5f32dJjwBQS6L" %}
[Download](/developer-section/px-api-reference/download.md)
{% endcontent-ref %}

{% hint style="info" %}
**Good to know:** To enhance security and privacy, consider encrypting files before uploading them to the decentralized storage. This way, even if the storage nodes are compromised, the data remains protected. If you want encryption out of the box consider using our [PollinationX SDK](/developer-section/px-sdk.md).
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://wiki.pollinationx.io/developer-section/px-api-reference.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
