Convert a file to Markdown

View as Markdown
Returns the file as Markdown text. `{ref}` is the file id or the file name. When the file was already parsed, this serves the Markdown that parsing produced and costs nothing extra. Otherwise the bytes are converted on the spot — the answer is the same either way. The result is text, not a new file: nothing is stored, and nothing is charged to your corpus. **Learn more:** [Working with files](https://docs.cloudraker.com/developers/files)

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Path parameters

refstringRequired>=1 character
spaceIdstringRequired

Response

The Markdown.
object"conversion"
format"markdown"
fileIdstring
markdownstring

Errors

404
Not Found Error
409
Conflict Error
422
Unprocessable Entity Error
429
Too Many Requests Error