Skip to main content
GET
Core - Create file upload policy
Related guide: Knowledge bases guide. See the Knowledge bases guide for a walkthrough with examples.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

knowledge_id
string
required

Query Parameters

fileName
string
required

The name of the file to upload.

contentType
string
required

The media type of the file to upload.

datasourceId
string
required

The datasource identifier that will own the uploaded file.

Response

File upload url successfully retrieved

objectName
string
required
postPolicy
object
required
fileId
string
required

Identifier of the file record registered for this upload