document_tags
entry in the request body.
Once created, you can add the document to your personas (see Create Persona) and your conversations (see Create Conversation).Authorizations
Body
The URL of the document to be processed
"https://example.com/document.pdf"
Optional name for the document. If not provided, a default name will be generated.
"Important Document"
Optional URL that will receive status updates about the document processing
"https://your-server.com/webhook"
Optional key-value pairs for additional document properties
{ "department": "sales", "priority": "high" }
Optional array of tags to categorize the document
["important", "meeting"]
Response
Document created successfully
Unique identifier for the created document
"d290f1ee-6c54-4b01-90e6-d701748f0851"
Name of the document
"Important Document"
URL of the document
"https://example.com/document.pdf"
Current status of the document processing
"processing"
ISO 8601 timestamp of when the document was created
"2024-01-01T12:00:00Z"
ISO 8601 timestamp of when the document was last updated
"2024-01-01T12:00:00Z"
URL that will receive status updates
"https://your-server.com/webhook"
Array of document tags
["important", "meeting"]
Additional document properties
{ "department": "sales", "priority": "high" }