---
title: "A file that was uploaded becomes a document; the worker reads it into the assistant's knowledge"
method: POST
path: "/v1/admin/knowledge/files"
---

# A file that was uploaded becomes a document; the worker reads it into the assistant's knowledge

`POST /v1/admin/knowledge/files`

## Request

- Base URL: `https://api.octapi.app`
- URL: `https://api.octapi.app/v1/admin/knowledge/files`
- Auth: HTTP bearer

## Request body

- object
  - `key` string, required
  - `title` string, required
  - `category` 'policy' | 'care' | 'facility' | 'faq'
  - `audience` 'customer' | 'internal'

## Response `200`

Default Response

- object
  - `id` string, required
  - `status` string, required

---

[API](https://skmtc.dev/octapi/apis/octapi-api.md) · [All operations](https://skmtc.dev/octapi/apis/octapi-api/llms.txt) · [OpenAPI document](https://skmtc.dev/octapi/apis/octapi-api/revisions/580afda787d2?raw)
