/api/v1. Use
it from any HTTP client when you don’t want to run an MCP connection. Every endpoint uses the
same API key authentication and returns markdown (Content-Type: text/markdown), except errors, which are JSON.
Base URL: https://salesgraph.com
API inventory
All published REST endpoints below are standard Salesgraph service interfaces. No customer-specific custom APIs are published here.List commands
help tool).
Run a command
{command} is one of research, competitors, gtm-audit, audit, help. Send the
command’s arguments as a JSON body. Optionally include userContext (string) for extra context.
- Sync commands (
research,competitors,help) return200with the markdown result. - Async commands (
gtm-audit,audit) return202with the run id in theX-Run-IdorX-Audit-Idheader andX-Run-Status: running. Poll the run endpoint below.
Poll a run
{kind} is gtm-audit or audit; {id} is the run id from the start response. Returns a
status markdown line while running, and the full result markdown once completed. The
X-Run-Status header carries the current status.
404 if the id is unknown or belongs to another organization.
Org audit shortcut
202 with a run id to poll. Pass {"wait": true}
(or ?wait=true) to block until the audit finishes and return the result inline — note this can
take several minutes and returns 504 if it exceeds the server timeout (the run keeps going;
poll its id). GET /api/v1/audit?id=<id> polls an existing org audit.
For agent integrations, prefer the MCP server — it handles tool discovery and
invocation for you. The REST API is here for simple scripts and non-MCP clients.