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. Failure responses are plain-text bodies.
Request
Responses
- 200
- 400
- 401
- 403
- 500
The document created from the artifact
The request body, query, or path failed validation. See validationErrors.
The API key or session is missing, expired, or malformed.
No write access to the collection
Unexpected server error.