Agent quickstart
For coding agents: fetch the contract, run one call, then build.
This page is written for a coding agent — Claude Code, Cursor, or anything else writing the integration for a human. If you are the human: paste this URL into your agent and let it work.
1. Fetch the contract
That single Markdown file is the whole API contract: base URL, auth, all six verbs with minimal bodies, the file union, the run lifecycle, the extraction schema dialect, the error envelope with every code, and the rate limit. Read it before writing code — it is short enough to hold in context and specific enough that you should not guess a field name.
Three more machine-readable surfaces, in order of size:
2. Get a key
The human you’re working for creates it in the CloudRaker app under Admin → API keys (admin-only, shown once) and exports it:
Never write a key into source, a config file, or a docs example. Read it from the environment.
3. Run one call end to end
Extract with an inferred schema — no schema to write, no local file to stage:
The call holds until the run finishes (60 s by default) and returns the finished run: config.schema is the shape it inferred, output.value is the data, output.citations is the page-and-region evidence per field.
If it takes longer than the wait cap you get 202 with the same body minus output — poll statusUrl, don’t treat it as an error.
4. Then write the real integration
Do not ship the call above as-is. Inference chooses its own field names and can choose differently next time. Take the config.schema it returned, edit it down to the fields you actually need, and either send it as schema or save it once:
Then every call is {"file": …, "action": "w9-identity"}, and volume goes through POST /v1/extract/batch.
Install the skill
A ready-made skill file — the same contract packaged for an agent’s skills directory — is here:
Download SKILL.mdDrop it in your agent’s skills folder (for Claude Code: .claude/skills/cloudraker-api/SKILL.md) and the agent loads it whenever a task touches the CloudRaker API.
Use the MCP servers
Two MCP servers, different jobs:
https://mcp.cloudraker.com— the API itself. The agent searches the live surface and executes generated calls with your key. Setup, auth, and the bundled skills are on MCP server.https://docs.cloudraker.com/_mcp/server— these docs. Query the documentation directly instead of fetching pages.
Rules to hold on to
- Branch on the error
code, never onmessage; every/v1failure is{code, message, retryable, requestId, docUrl}. - A slow run is
202with a handle, never a timeout error. - At least 67 requests per minute per organization across all of
/v1; on429sleep forRetry-After, then back off. See Rate limits. - Nothing shows up in the CloudRaker app until you
keepthe run. - Reuse
fileIds instead of re-sending URLs — the document isn’t re-fetched or re-parsed.