Spiral gives your agent every tool with one account. Browse the tools →

Grok · Developer

How to Use Grok developer documentation page in Grok

Returns a Grok developer documentation page or a selected section as Markdown. Use it for focused answers about API behavior, such as structured outputs or rate limit rules.

Prompts to try with Grok developer documentation page in Grok

Copy an example into Grok, or ask in your own words.

Use Grok developer documentation page to look this up and give me the result as a table.

Grok developer documentation pageGrok
Try asking
  • Pull the latest numbers from Grok developer documentation page and tell me what changed since last week.

  • Check Grok developer documentation page and summarize what you find in three bullet points.

  • Pull the newest data from Grok developer documentation page and give me the result as a table.

  • Check Grok developer documentation page every morning and tell me only when something changed.

How to set up Grok developer documentation page in Grok

Pick the way that suits you. Each takes about two minutes.

Use the Grok connector

  1. 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
  2. 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.

  3. 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

  1. Send Grok this message

    Your agent reads Spiral's skill and sets itself up.

    set up https://spiral.ai/SKILL.md
  2. Sign in or paste a key

    Approve Spiral in the browser, or give the agent a key from the console.

Use the Spiral CLI

  1. 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

  1. Create an API key

    In the console, under API keys.

  2. Run Grok developer documentation page

    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": "x-ai/developer-docs/get_page",
        "input": {
          "path": "<path>"
        }
      }'

Then paste one of the prompts above: Grok finds Grok developer documentation page on Spiral, shows the price and runs it.

Grok developer documentation page providers and prices

Spiral runs Grok developer documentation page through Alexandria. Open a card for today's price, with every fee included.

AlexandriaDeveloper

Settings you can ask for

Ask Grok for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Max chars200 to 2000000

Truncate content to this many characters; the whole text is returned when omitted.

Every API field of xAI (Grok API docs and x.ai news) · Get page is on its tool page: open its card above.

What can you do with Grok developer documentation page in Grok?

Produce an xAI product brief that answers a specific question with links to the published evidence. Explain what the source says about a subscription, bot, model, or announcement in language a buyer or researcher can use.

Plan a Grok application update

Find candidate models, check individual specifications and developer guidance, then review release notes and announcements for changes that affect the proposed work.

Check a technical comparison article

Verify model names and capabilities against the catalog and specifications. Compare developer guidance, company statements, and announcement text before revising the article’s claims.

Maintain a weekly xAI change brief

Compare saved readings of model specifications, documentation, subscriptions, marketplace listings, and product pages. Add dated release entries and news articles to explain the changes.

Build an internal Grok reference guide

Create separate answers for product features, bot descriptions, model requirements, and developer behavior. Attach the relevant public page, announcement, or release entry to each answer.

Compare a ready-made bot with custom development

Inspect marketplace task descriptions, then check model capabilities and developer documentation for the same job. Produce a feature checklist for deciding which approach deserves a prototype.

Questions about Grok developer documentation page in Grok

Can Grok use Grok developer documentation page?

Yes. Add Spiral to Grok as an MCP server, and Grok can find and run Grok developer documentation page like any built-in tool.

How much does Grok developer documentation page 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 Grok developer documentation page in Grok?

No. Spiral runs Grok developer documentation page on its own Alexandria account. You sign in to Spiral once and never paste a key.

How long does it take to set up Grok developer documentation page 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 Grok developer documentation page runs?

Grok developer documentation page runs in the background. Grok starts the run, checks on it and gives you the json when it's ready.

Does the source include both developer and consumer product information?

Yes. The developer documentation covers Grok models and API behavior, while xAI’s public website includes subscription comparisons and the Grok Bot marketplace.

What kinds of models does xAI document?

The model catalog includes dedicated audio, image, and video models alongside general models. Individual specification pages provide narrower details, such as Grok 4.7’s 500,000-token context window.

Does a current model page mean the model knows current events?

No. The catalog states that Grok 4.7’s training knowledge cutoff is May 2026. A published specification and a model’s training knowledge describe different things.

Are all marketplace plugins published by xAI?

No. The Composio plugin page names Composio as its publisher, links to the Cursor Marketplace, and provides a terms link.

Can the developer documentation be read one section at a time?

Yes. The documentation reader supports a whole page or one section as clean Markdown, which helps isolate a rule such as the requests-per-second and tokens-per-minute limits.

Get started

Start using Grok developer documentation page in Grok

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into Grok:

Set up Grok

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options