KnowledgeBaseAdmin

Upload a platform knowledge document

POST
/admin/knowledge-base/documents/upload

Authorization

SupabaseBearer
AuthorizationBearer <token>

Supabase user access token (Authorization: Bearer JWT)

In: header

Header Parameters

x-user-id*string

Platform admin Supabase user id

Formatuuid
x-platform-staff-email?string

Platform staff email for @compliwise.io domain verification

Formatemail

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Placeholder: referenced in paths but missing from OpenAPI SSOT. Docs-only stub.

Response Body

application/json

application/json

application/json

curl -X POST "https://example.com/admin/knowledge-base/documents/upload" \  -H "x-user-id: 497f6eca-6276-4993-bfeb-53cbbbba6f08" \  -H "Content-Type: application/json" \  -d '{}'
{}
{  "message": "string"}
Empty
{  "message": "string"}
Empty