# Get file content

**API:** Model API

**Endpoint:** `GET /api/v1/files/{file_id}/content`

**Tags:** Files

Get file content

## Base URL

- `https://openapi.felo.ai` — פרודקשן

## Authentication

- `FeloBearerAuth` (http bearer) — מפתח API של Felo נשלח בכותרת `Authorization: Bearer <key>`.
- `FeloApiKey` (apiKey in header `X-API-Key`) — מפתח API של Felo נשלח בכותרת `X-API-Key: <key>`.

## Parameters

| Name | In | Required | Type | Description |
| --- | --- | --- | --- | --- |
| `file_id` | path | yes | string |  |

## Responses

### 400 — Uploaded files cannot be downloaded.

### 404 — File not found.

### 422 — Validation Error

**application/json**

Schema: `HTTPValidationError` (`#/components/schemas/HTTPValidationError`)

## Schema definitions

### HTTPValidationError

`#/components/schemas/HTTPValidationError`

```json
{
  "properties": {
    "detail": {
      "items": {
        "$ref": "#/components/schemas/ValidationError"
      },
      "type": "array",
      "title": "Detail"
    }
  },
  "type": "object",
  "title": "HTTPValidationError"
}
```

### ValidationError

`#/components/schemas/ValidationError`

```json
{
  "properties": {
    "loc": {
      "items": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "integer"
          }
        ]
      },
      "type": "array",
      "title": "Location"
    },
    "msg": {
      "type": "string",
      "title": "Message"
    },
    "type": {
      "type": "string",
      "title": "Error Type"
    },
    "input": {
      "title": "Input"
    },
    "ctx": {
      "type": "object",
      "title": "Context"
    }
  },
  "type": "object",
  "required": [
    "loc",
    "msg",
    "type"
  ],
  "title": "ValidationError"
}
```
