1
Get your API key and run the preflight check
Visit somark.ai/Studio/apikey to get an API key in the
sk-*** format.Before calling the API, check three things:api_keyis included- the file is not empty and is supported
output_formatsonly usesmarkdown,json, orzip
See Free tier rules for quota details.
2
Complete one sync parsing request first
Start with
POST /parse/sync for small files. The result comes back in the same response.3
Use async submit and check for large files
Large files, batch jobs, and background workflows should use async mode: call
POST /parse/async first, then poll POST /parse/async_check with the returned task_id.4
Open the detailed endpoint docs when needed

