Appearance
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
Requiredinteger
Query Parameters
filename*
Type
Requiredstring
Responses
Successful Response
application/json
JSON "additionalProperties": "string"
{
}