# Retrieving User Content

This endpoint assumes that you are acting as an authenticated user.

Instructions on how to authenticate can be found here: [Logging Users Into The Heat Platform](/for-partners/already-a-partner/logging-users-into-the-heat-platform.md)

### Listing a Users Files

You can retrieve the files that a user has access to with the following endpoint:

Endpoint: \`INSERT HERE\`

This will return files in the format:

```
{
    "files": [
        {
            "id": "..."
            "s3_key": "..."
        },
    ],
}
```

### Retrieving a File

You can retrieve a file out of the Heat Platform using the following endpoint.

`Insert Endpoint Here`


---

# 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.heat.tech/for-partners/already-a-partner/retrieving-user-content.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.
