How to Use Stack Exchange post edit history in Grok
Retrieves recorded revisions of a question or answer, including edited content and edit comments. Use it to explain how a cited solution changed; several edits can collapse into one revision.
Prompts to try with Stack Exchange post edit history in Grok
Copy an example into Grok, or ask in your own words.
Use Stack Exchange post edit history to look this up and give me the result as a table.
Pull the latest numbers from Stack Exchange post edit history and tell me what changed since last week.
Check Stack Exchange post edit history and summarize what you find in three bullet points.
Pull the newest data from Stack Exchange post edit history and give me the result as a table.
Check Stack Exchange post edit history every morning and tell me only when something changed.
How to set up Stack Exchange post edit history in Grok
Pick the way that suits you. Each takes about two minutes.
Use the Grok connector
- Add a custom connector
In Grok open Settings › Connect Apps, then Add a custom connector. Name it Spiral, paste this URL, leave Headers empty and click Add MCP.
https://api.spiral.ai/mcp
- Sign in to Spiral and approve
Grok opens Spiral: sign in, pick the organization and click Authorize. Spiral gives the connection its own API key; Grok never sees it, and you can remove the connection under Settings › Connected apps.
- Check that it is connected
Connect Apps › Custom shows Spiral as Connected. It works in every Grok chat and Grok bot.
Use the Spiral skill
- Send Grok this message
Your agent reads Spiral's skill and sets itself up.
set up https://spiral.ai/SKILL.md
- Sign in or paste a key
Approve Spiral in the browser, or give the agent a key from the console.
Use the Spiral CLI
- Install and sign in
Installs the Spiral CLI, signs you in and adds its skill to your coding agents.
npx -y spiral-cli@latest init
Call the Spiral API
- Create an API key
In the console, under API keys.
- Run Stack Exchange post edit history
One request; the result comes back by polling or a webhook.
curl https://api.spiral.ai/v1/runs \ -H "Authorization: Bearer $SPIRAL_API_KEY" \ -H "Content-Type: application/json" \ -H "Idempotency-Key: $(uuidgen)" \ -d '{ "provider": "alexandria", "model": "stackexchange-com/questions/revisions", "input": { "post_id": 1 } }'
Then paste one of the prompts above: Grok finds Stack Exchange post edit history on Spiral, shows the price and runs it.
Stack Exchange post edit history providers and prices
Spiral runs Stack Exchange post edit history through Alexandria. Open a card for today's price, with every fee included.
Settings you can ask for
Ask Grok for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Page | 1 to 10000 | 1 | Pages above 25 need |
| Post ID | a number | post_id | |
| Pagesize | 1 to 100 | 30 | pagesize |
| Include body | on or off | include_body |
Every API field of Stack Exchange · Revisions is on its tool page: open its card above.
What can you do with Stack Exchange post edit history in Grok?
Turn a technical question into a reading brief with links to the original Stack Exchange evidence. A chat app can identify the relevant community and explain question context, proposed solutions, and recorded corrections in plain English.
Review migration advice
Find communities covering Ubuntu and Python, search migration problems, collect accepted solutions, and inspect cited answers and their revisions for changes in recommended commands.
Audit technical citations
Refresh questions and individual answers cited in a handbook, then inspect revisions to identify changes that alter the cited explanation or code.
Prepare a weekly topic digest
Find recent Kubernetes discussions, summarize accepted solutions and competing answers, and review recorded edits to explanations already covered in earlier digests.
Explain changes in technical advice
Find discussions about Python packaging, inspect individual answers and alternatives, and compare recorded revisions to explain how installation recommendations changed.
More on Stack Exchange post edit history and Grok
Overview
Stack Exchange post edit history in other agents
Questions about Stack Exchange post edit history in Grok
Can Grok use Stack Exchange post edit history?
Yes. Add Spiral to Grok as an MCP server, and Grok can find and run Stack Exchange post edit history like any built-in tool.
How much does Stack Exchange post edit history cost in Grok?
$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Grok plan is separate.
Do I need an Alexandria account to use Stack Exchange post edit history in Grok?
No. Spiral runs Stack Exchange post edit history on its own Alexandria account. You sign in to Spiral once and never paste a key.
How long does it take to set up Stack Exchange post edit history in Grok?
About two minutes: add a custom connector, then sign in to Spiral and approve, then check that it is connected.
Does Grok wait while Stack Exchange post edit history runs?
Stack Exchange post edit history runs in the background. Grok starts the run, checks on it and gives you the json when it's ready.
Does Stack Exchange search cover the whole network at once?
Question searches run against one community at a time. The site directory lists communities across the network so you can choose where to search.
How fresh is Stack Exchange data?
API responses are heavily cached, and Stack Exchange considers repeating an equivalent request more than once per minute abusive. The site directory changes much less often; its documentation recommends caching it for at least one day.
Does one response contain every matching result?
Stack Exchange generally limits upstream result pages to 100 items, and an endpoint may return fewer. A response indicating more results requires additional pages before the collection is complete.
Does an accepted answer mean the solution is still correct?
Acceptance means the question author received an answer that worked for them personally. Stack Exchange explicitly warns that authors may leave an answer accepted even after a better answer appears.
Does revision history show every edit separately?
No. Stack Exchange documents that multiple edits can result in a single revision, so recorded revisions cannot establish the exact number of editing actions.
Start using Stack Exchange post edit history in Grok
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into Grok:
set up https://spiral.ai/SKILL.md


