POST
/
api
/
v1
/
knowledge-base
/
file
Create knowledge base file
curl --request POST \
  --url https://prod.featherhq.com/api/v1/knowledge-base/file \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '{
  "fileId": "<string>",
  "prompt": "<string>"
}'
{
  "id": "<string>",
  "fileName": "<string>",
  "key": "<string>",
  "status": "PENDING",
  "createdAt": "<string>",
  "updatedAt": "<string>"
}

Authorizations

X-API-Key
string
header
required

Body

application/json

Response

200
application/json

Knowledge base file created successfully

The response is of type object.