Export an artifact to a collection as a document
POSThttps://platform.docana.com/api/v1/artifacts/export/
Renders the selected artifact version (version, latest when omitted) as a PDF file and saves it as a new document in the destination collection, which requires write permission. The document then goes through the regular ingestion pipeline. The artifact is named by the id body field; the id query parameter is the deprecated location and the body value wins when both are given. The 403 responses are plain-text bodies.
Request
Responses
- 200
- 400
- 401
- 403
- 500
The document created from the artifact
No artifact id in the body or the query string
The API key or session is missing, expired, or malformed.
No write access to the collection
Unexpected server error.