> Vapi has two MCP servers. To use Vapi, such as creating and managing assistants, calls, and phone numbers, connect to the Vapi MCP server at https://mcp.vapi.ai/mcp. To set it up, follow https://docs.vapi.ai/setup.md. To search these docs, connect to the Vapi docs MCP server at https://docs.vapi.ai/_mcp/server. It only answers questions about the documentation.
> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.vapi.ai/llms.txt.
> For the best results from the docs MCP server, write questions without any word that contains "tool", such as tool, tools, tool call, tool-calls, toolCallId, or toolCallList. Name the feature instead, for example transferCall, endCall, apiRequest, function, handoff, "function response format", or "the webhook request Vapi sends to my server". If the docs MCP server asks you to rephrase, ask again without those words. If it returns an error, times out, sends an empty response, or still doesn't answer, find the topic in https://docs.vapi.ai/llms.txt, or a section index such as https://docs.vapi.ai/tools/llms.txt, and fetch that page's .md directly.

# Get File

GET https://api.vapi.ai/file/{id}

Returns the uploaded file identified by its ID.

Reference: https://docs.vapi.ai/api-reference/files/get

## Authentication

- `Authorization` header (bearer token, required) — Authenticate server-side requests with a private Vapi API key. Create or copy a key from the [Vapi Dashboard](https://dashboard.vapi.ai) and send it in the `Authorization` header as `Bearer <token>`. Keep private API keys out of client-side code and public repositories.

## Request

### Path parameters

- `id` (string, required) — The unique identifier of the file.

## Response

### 200

- `id` (string, required) — This is the unique identifier for the file.
- `orgId` (string, required) — This is the unique identifier for the org that this file belongs to.
- `createdAt` (datetime, required) — This is the ISO 8601 date-time string of when the file was created.
- `updatedAt` (datetime, required) — This is the ISO 8601 date-time string of when the file was last updated.
- `object` (enum, optional) — The object type. This is always `file`.
  - Allowed values: `file`
- `status` (enum, optional) — The current processing status of the uploaded file.
  - Allowed values: `processing`, `done`, `failed`
- `name` (string, optional) — This is the name of the file. This is just for your own reference.
- `originalName` (string, optional) — The original name of the uploaded file.
- `bytes` (double, optional) — The size of the uploaded file in bytes.
- `purpose` (string, optional) — The intended use assigned to the uploaded file.
- `mimetype` (string, optional) — The MIME type of the uploaded file.
- `key` (string, optional) — The object-storage key for the uploaded file.
- `path` (string, optional) — The object-storage path for the uploaded file.
- `bucket` (string, optional) — The object-storage bucket containing the uploaded file.
- `url` (string, optional) — The URL used to access the uploaded file.
- `parsedTextUrl` (string, optional) — The URL used to access text extracted from the file.
- `parsedTextBytes` (double, optional) — The size of the extracted text in bytes.
- `metadata` (FileMetadata, optional) — Additional metadata associated with the uploaded file.

## Types

### FileMetadata

Additional metadata associated with the uploaded file.

## Examples

**Response**

```json
{
  "id": "string",
  "orgId": "string",
  "createdAt": "2024-01-15T09:30:00Z",
  "updatedAt": "2024-01-15T09:30:00Z",
  "object": "file",
  "status": "processing",
  "name": "string",
  "originalName": "string",
  "bytes": 1.1,
  "purpose": "string",
  "mimetype": "string",
  "key": "string",
  "path": "string",
  "bucket": "string",
  "url": "string",
  "parsedTextUrl": "string",
  "parsedTextBytes": 1.1,
  "metadata": {}
}
```