Knowledge
Create a knowledge document upload
Under knowledge:write, creates pending metadata and returns a five-minute direct R2 PUT capability. The upload remains incomplete until completion succeeds; no create idempotency key exists, so retain the returned document after an uncertain response.
POST
Create a knowledge document upload
Authorizations
Organization-scoped Auth0 user access token issued to an approved first-party client or exchanged by a trusted OBO resource server.
Body
application/json
Metadata for creating a pending document before bytes are uploaded through a direct capability.
Required string length:
1 - 255Required range:
x <= 4194304Accepted source media type for Knowledge ingestion.
Available options:
application/pdf, text/plain, text/markdown, text/html, application/vnd.openxmlformats-officedocument.wordprocessingml.document Example:
"application/pdf"
Required string length:
1 - 255Maximum string length:
4000