PATCH
/
api
/
v1
/
knowledge-base
/
file
/
{fileId}
/
status
Update file status
curl --request PATCH \
  --url https://prod.featherhq.com/api/v1/knowledge-base/file/{fileId}/status \
  --header 'Content-Type: application/json' \
  --data '{
  "status": "INGESTED",
  "documentCount": 123,
  "chunksCount": 123
}'
{}

Path Parameters

fileId
string
required

The ID of the knowledge base file to update

Body

application/json

Response

200
application/json

Knowledge base file status updated successfully

The response is of type object.