# IPFS

For a detailed guide on IPFS Kubo RPC API, check out the [IPFS reference docs](https://docs.ipfs.tech/reference/kubo/rpc/#getting-started).

This section provides instructions on how to perform common tasks.

## Dedicated Gateway

Users can set up to five exclusive domain names on <https://rpc.wetez.io/ipfs/> and designate one of them as the active domain. You may use one of these exclusive domain names to replace '<https://mainnet-rpc.wetez.io/ipfs/$AdminKey>'.

<figure><img src="/files/biCLEHNnqpGEkQimXmQR" alt=""><figcaption><p>IPFS Endpoint &#x26; Dedicated Gateway</p></figcaption></figure>

## cURL

cURL generates the auth header and encodes your credentials behind the scenes.&#x20;

<pre class="language-bash"><code class="lang-bash"><strong># Dedicated Gateway.
</strong><strong>curl -X POST -F file=@myfile "http://$dedicated-gateway.wetez-ipfs.io/api/v0/add"
</strong></code></pre>

<pre class="language-bash"><code class="lang-bash"><strong># Universal RPC call with admin key.
</strong>curl -X POST -F file=@myfile "https://mainnet-rpc.wetez.io/ipfs/$AdminKey/api/v0/add"
</code></pre>


---

# 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://docs.wetez.io/wetez/developer/storage/ipfs.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.
