# Polylane API

> The Polylane REST API at api.polylane.com gives your scripts and tools threads, issues, fixes and the context graph, with scoped keys and an OpenAPI spec.

Automate your on-call with the Polylane API. Plug Polylane into your own alerting, dashboards and scripts: start investigations, pull issues and query your infrastructure, with scoped keys.

- **Start investigations from your own alerting and scripts.** Start an investigation from your own alerting, pull issues into your dashboards, or query the context graph from a script.
- **Give each script an API key with only the access it needs.** Scoped keys for every job, and you can revoke any of them at any time.

## Questions

### Where are the docs?

In the API reference, generated from the OpenAPI spec at api.polylane.com/v1/doc.

### How do I authenticate?

With an API key from Settings, API Keys, sent as a bearer token, or with OAuth for apps that act for a user.

### What can I build with it?

Anything that needs production context: deploy gates, alert bridges, dashboards or your own internal tools.

## More of the product

- [Swarms](https://polylane.com/product/swarms) ([markdown](https://polylane.com/product/swarms.md)): Many agents on one problem, sharing one board.
- [Investigations](https://polylane.com/product/investigations) ([markdown](https://polylane.com/product/investigations.md)): From an issue to a proven root cause.
- [Knowledge Base](https://polylane.com/product/knowledge-base) ([markdown](https://polylane.com/product/knowledge-base.md)): Everything Polylane learns about your production, written down.
- [Autofix](https://polylane.com/product/autofix) ([markdown](https://polylane.com/product/autofix.md)): Reviewed fixes, opened in your repository.
- [Impact assessments](https://polylane.com/product/impact-assessments) ([markdown](https://polylane.com/product/impact-assessments.md)): Checks each pull request against production.
- [Anomaly detection](https://polylane.com/product/anomaly-detection) ([markdown](https://polylane.com/product/anomaly-detection.md)): Finds problems nobody set an alert for.
- [Context graph](https://polylane.com/product/context-graph) ([markdown](https://polylane.com/product/context-graph.md)): Every resource and repository, in one live graph.
- [Advisories](https://polylane.com/product/advisories) ([markdown](https://polylane.com/product/advisories.md)): Misconfigurations, found and fixed per resource.
- [Escalations](https://polylane.com/product/escalations) ([markdown](https://polylane.com/product/escalations.md)): One clear ask when a person is needed.
- [Console](https://polylane.com/product/console) ([markdown](https://polylane.com/product/console.md)): The web app: graph, threads, issues.
- [Slack](https://polylane.com/product/slack) ([markdown](https://polylane.com/product/slack.md)): Ask about production where you already talk.
- [GitHub](https://polylane.com/product/github) ([markdown](https://polylane.com/product/github.md)): Mention @polylane on any pull request.
- [MCP and plugins](https://polylane.com/product/mcp) ([markdown](https://polylane.com/product/mcp.md)): Production context for Claude Code, Cursor and Codex.
- [CLI](https://polylane.com/product/cli) ([markdown](https://polylane.com/product/cli.md)): Polylane from your terminal.

Get started with one command: `curl -fsSL https://polylane.com/setup | bash` installs the CLI, connects your coding agents, and creates the account.
