---
title: "Fetch a file"
method: GET
path: "/file/{fileId}/fetch"
tags: ["File"]
---

# Fetch a file

`GET /file/{fileId}/fetch`

## Request

- Base URL: `https://api.chatbotkit.com/api/v1`
- URL: `https://api.chatbotkit.com/api/v1/file/{fileId}/fetch`
- Auth: HTTP bearer

## Path parameters

- `fileId` string, required: The ID of the file to retrieve

## Response `200`

The file was retrieved successfully

- object: Blueprint properties
  - `alias` string, nullable: The unique alias for the instance
  - `name` string: The associated name
  - `description` string: The associated description
  - `meta` Meta: Meta data information
  - `id` string, required: The instance ID
  - `createdAt` number, required: The timestamp (ms) when the instance was created
  - `updatedAt` number, required: The timestamp (ms) when the instance was updated
  - `blueprintId` string, nullable: The ID of the blueprint
  - `visibility` 'private' | 'protected' | 'public': The file visibility

## Other responses

- `default`: An error response

---

[API](https://skmtc.dev/chatbotkit/apis/cbk-api.md) · [All operations](https://skmtc.dev/chatbotkit/apis/cbk-api/llms.txt) · [OpenAPI document](https://skmtc.dev/chatbotkit/apis/cbk-api/revisions/13d250576136?raw)
