Skip to content

Get Upload Url​

POST
/api/v1/tenants/{tenant_id}/knowledge-sources/upload-url

Return a pre-signed S3 PUT URL for uploading a knowledge document.

The frontend calls this first, PUTs the file directly to S3 using the
returned URL, then calls POST /knowledge-sources/upload with the
returned s3_key to register the source and enqueue the sync.

Authorizations​

HTTPBearer
Type
HTTP (bearer)

Parameters​

Path Parameters

tenant_id*
Type
integer
Required

Query Parameters

filename*
Type
string
Required

Responses​

Successful Response

application/json
JSON
{
  
"additionalProperties": "string"
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​

Powered by VitePress OpenAPI

XC AI Content Automation