Machine-readable endpoints
| Endpoint | What it returns |
|---|---|
/llms.txt | An index of every page with its one-line description. Start here to pick pages worth fetching. |
/llms-full.txt | The entire site as one Markdown document (capped at 100k characters). |
Any page + .md | Append .md to any page URL for clean Markdown without site chrome — for example /quickstart.md. |
/mcp | A hosted MCP server exposing search and docs-query tools over this site. Point your MCP client at https://elviskahoro.mintlify.app/mcp. |
Driving the gtm CLI from an agent
The four facts an agent needs before running commands:
- Success data is JSON on stdout; errors and logs go to stderr. Parse stdout only.
- Mutating commands preview by default. Nothing writes until you add the explicit
flag (
--applyon batch and company commands;--modal-syncgoverns Attio people mutations). Copy-pasting an example never mutates state. - Provider-backed commands execute on a deployed Modal app, not locally. They need Modal credentials plus provider keys — see Secrets and API keys.
- Exit codes:
0success,1runtime error (message on stderr, prefixedError:),2usage error.
--json payload override every command accepts, is on
the CLI contract page.
Fetching source directly
The repo is public: github.com/elviskahoro/gtm-sdk. Docs pages reference code as repo-relative paths (for examplesrc/secrets_bootstrap.py) — resolve them against
the repo root or the GitHub UI.