v2

latestOpenAPI 3.1.02026-07-2670186350.6 KB
knowledge

Get Upload Url

Get upload URL for a knowledge base by its id

Uploading files is a three step process:

  1. Get upload URL (GET /v2/knowledge/{knowledge_base_id}/upload_url)
  2. Upload file to the URL
  3. Register file (POST /v2/knowledge/{knowledge_base_id}/register_file)
get/knowledge/{knowledge_base_id}/upload_url

Path parameters

knowledge_base_idstring uuid required

The id of the knowledge base to get the upload URL for

The id of the knowledge base to get the upload URL for

Query parameters

filenamestring required

The filename of the file to upload

Example:example.pdf

The filename of the file to upload

Response

Successful Response

urlstring required
fieldsobject required
idstring uuid required