---
title: "POST /falcon-ai/files/upload/"
method: POST
path: "/falcon-ai/files/upload/"
tags: ["falcon-ai"]
---

# POST /falcon-ai/files/upload/

`POST /falcon-ai/files/upload/`

## Request

- Base URL: `http://localhost:8000`
- URL: `http://localhost:8000/falcon-ai/files/upload/`
- Auth: one of:
  - API key in header `X-Api-Key`
  - API key in header `X-Secret-Key`

Upload a file for use in Falcon AI conversations.

## Response `201`

Created

- FileUploadResponse
  - `status` boolean, required
  - `result` FileUploadResult, required
    - `id` string, uuid, required
    - `name` string, required
    - `size` integer, required
    - `content_type` string, required
    - `url` string, uri, required

## Other responses

- `400`: Bad Request
- `403`: Forbidden
- `default`: Default error response

---

[API](https://skmtc.dev/futureagi/apis/future-agi-management-api.md) · [All operations](https://skmtc.dev/futureagi/apis/future-agi-management-api/llms.txt) · [OpenAPI document](https://skmtc.dev/futureagi/apis/future-agi-management-api/revisions/c8684118e142?raw)
