Turn a parsed file into a session document
Takes a .docx or PDF the session can read and files its parsed markdown as a text/markdown artifact — the working form every agent and the editor share. Word comments arrive as CriticMarkup ({>> @author: … <<}). While the file is still being parsed this answers 409 artifact_not_ready; retry. Authorization: the same gate as every session route — work_session:read (or comment to write) on the session, OR space:contribute on one of its linked spaces; a desk session only for its owner. Any denial is 404.
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
sessionId
Request
This endpoint expects an object.
fileId
Response
The markdown artifact.
data
Errors
400
Bad Request Error
404
Not Found Error
409
Conflict Error