Use Intelligence from your own code or agent
MixShift Intelligence is reachable over REST and MCP with the same credential you use for the rest of the Builder Platform, under its own scope.
REST
GET /api/intelligence/idsreturns the deployed catalog: each request's id, version, content revision, service, and a one-line purpose.POST /api/intelligence/runwith{ "id", "params" }runs a request. Add"evidence": truefor the What We Know statements, and"async": trueon a large account (see Limits and freshness).GET /api/intelligence/runs/<runId>polls or fetches an async run you started.
MCP tools
The same capability is exposed as intelligence_catalog, intelligence_run, intelligence_poll, and intelligence_get, so an AI client can call a request conversationally. See Connect AI tools over MCP for how to point a client at the MCP server in the first place.
The scope
Every call, REST or MCP, needs intelligence:read. Interactive sign-ins get it by default; a service credential needs it granted explicitly. See Get access.
Not part of /v1
Intelligence is not part of the documented /v1 partner contract. Its result shape is versioned by the engine itself, not by the /v1 conventions, so build against the envelope fields described here rather than assuming /v1 semantics.
Error kinds
Every failure comes back as { ok: false, kind, friendly }.
| Kind | Status | Meaning |
| --- | --- | --- |
| not_enrolled | 403 | MixShift has switched Intelligence off for this account. |
| bad_params | 400 | Something is wrong with the params you sent. |
| merchant_not_resolved | 422 | The merchant selector did not resolve to an account. |
| account_too_large_use_async | 422 | Retry the same request with "async": true. |
| no_data_for_period | 404 | Nothing to compute for the period you asked about. |
| busy | 429 | The account (or the service) is at its concurrency cap. Retry shortly. |
Full parameter and endpoint reference: mcp.mixshift.io/developers#intelligence.
Related
Shifty is the MixShift docs assistant. Pick a question or open the chat for anything else.