Use this endpoint to create or update a document for a given collection.
Documents are unique by uri across your organization.
If the document for uri does not exist, it will be created.
If the document for uri exists, it will be updated.
On success, an ID for the created or updated document will be returned.
Documents created or updated may take up to a minute to be available for use.
The API key to authenticate requests. Obtainable from the web dashboard.
The ID of the collection where the document will be added.
A short title for the document in plain text.
"Password Reset Guide"
The body of the document. Structured formats like Markdown or JSON are preferred for better AI-powered answers.
The body can be provided as:
Maximum request size including all fields: 10MB
"To reset your password, visit ..."
A URL of the original source document that uniquely identifies the document. These will be used in answer references to link back to the original source.
"https://my.company.com/apollo/ticket/123456"
OK
The ID of a resource that can be retrieved from the service.
"12345678-abcd-123456789-123456789abc"