Skip to content

[skills] Sync ai-gateway with current docs - #345

Merged
molebox merged 2 commits into
mainfrom
eve-drift/ai-gateway
Oct 19, 2026
Merged

molebox merged 2 commits into
mainfrom
eve-drift/ai-gateway

Conversation

@vercel-gh-bot-4

@vercel-gh-bot-4 vercel-gh-bot-4 Bot commented Oct 19, 2026 •

Copy link
Copy Markdown
Contributor
  • SKILL.md CLI table, rules row: "REST CRUD exists under /v1/ai-gateway/rules" is wrong. The routing-rules REST endpoints have no /v1 prefix. Changed it to https://api.vercel.com/ai-gateway/rules. Source: https://vercel.com/docs/rest-api/ai-gateway/list-rules (last_updated 2026-10-19): "GET /ai-gateway/rules", with example curl -X GET 'https://api.vercel.com/ai-gateway/rules?...'. The create-rule (POST /ai-gateway/rules), update-rule (PATCH), and delete-rule (DELETE) pages use the same path. The shipped Vercel CLI (vercel@64.5.0) calls client.fetch("/ai-gateway/rules", ...) for create, list, update, and delete. Unauthenticated probes return 404 not_found ("The requested API endpoint was not found.") for https://api.vercel.com/v1/ai-gateway/rules and 403 forbidden (missing token) for https://api.vercel.com/ai-gateway/rules.

Verification

run_plugin_checks passed every step: build (0 updated, 7 unchanged), typecheck, validate (all checks OK), and test (1099 pass, 0 fail).

Test updates

None.

Not changed

  • metadata.docs still cites https://vercel.com/docs/ai-gateway/modalities/evaluation. That URL redirects to /docs/ai-gateway/modalities/decision, which covers the same product. I left the frontmatter alone because it is not citing the wrong product.
  • check_links flagged the API base URLs (https://ai-gateway.vercel.sh/v1, /typesafe, /coding-agent, /claude-code) as not-a-page. These are API endpoints, not docs pages, so they are not drift.
  • Other claims I spot-checked against current docs and the shipped CLI all match: CLI --limit / --default (59.13+), the deprecated --budget on api-keys create, experimental_decide in ai 7.0.128+, Node.js 22+, Python 3.12+, 90-second Logs ingestion and 30/36-day windows, 12-hour OIDC tokens, the 64-character safety identifier limit, budget roles and refresh periods, and service-tier providers.

Opened automatically by the vercel-plugin drift agent. Review before merge.


Update (@molebox)

Also updated metadata.docs from /docs/ai-gateway/modalities/evaluation (308 redirect) to /docs/ai-gateway/modalities/decision, so the frontmatter matches the page the body already links. Confirmed the REST path change against the CLI source: packages/cli/src/util/ai-gateway/rules.ts and the rules-* commands in vercel/vercel call /ai-gateway/rules; GET https://api.vercel.com/v1/ai-gateway/rules returns 404.

<!-- vercel-plugin-drift-agent -->
/docs/ai-gateway/modalities/evaluation now 308-redirects to /modalities/decision.
@molebox
molebox merged commit d0fe661 into main Oct 19, 2026
5 checks passed
@molebox
molebox deleted the eve-drift/ai-gateway branch October 19, 2026 11:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant