> ## Documentation Index
> Fetch the complete documentation index at: https://ekso.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# File

> Typed SDK access to the File resource — methods and HTTP routes.

## Typed access

`File` operations are reached via `client.Api.File.Download` on `EksoClient`.

```csharp theme={null}
await client.Api.File.Download.GetDownloadAsync();
```

For the full set of methods and request/response types, your IDE's auto-completion
is the fastest discovery path. Each method below maps 1-to-1 to an HTTP route in
the [API Reference](/api-reference/introduction).

## Operations

| Method   | Route                                    | Summary                                                                                                                                                                                                                   |
| -------- | ---------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `GET`    | `/api/file/download/{fileId}`            | Downloads a file's binary content from storage.                                                                                                                                                                           |
| `GET`    | `/api/file/{id}`                         | Retrieves a single file's metadata by its identifier. Useful when you have the file id (e.g. from an upload response) and want to verify existence or fetch metadata without listing the owner's full file list.          |
| `GET`    | `/api/file/{ownerType}/{ownerId}`        | Lists all files attached to a specific owner, filtered by the current user's view permissions.                                                                                                                            |
| `POST`   | `/api/file/upload/{ownerType}/{ownerId}` | Uploads a single file and attaches it to the specified owner entity. Returns the created DataFile record so callers (CLI / SDK / migration scripts) can capture the new file id without a follow-up list-and-filter call. |
| `DELETE` | `/api/file/{id}`                         | Deletes a file and removes its blob from storage.                                                                                                                                                                         |

## See also

* [SDK overview](/sdk/overview)
* [Authentication](/sdk/authentication)
* [Quickstart](/sdk/quickstart)
* [Error handling](/sdk/error-handling)
