Connected knowledge for builders
Bring your knowledge into alignment.
Code, documentation and the answers people rely on, connected in one shared workspace.

Review the difference, not the whole document.
When your code changes, Gravity shows exactly what that means for your docs. Review the change, edit it if you need to, and publish.
- SourceConnect your repositories. Gravity notices when the code changes.
- ReviewSee what changed in the docs, with the context to decide.
- PublishReaders get the update once someone has approved it.

Write together.
Stay connected to source.
Generate API references, guides and changelogs from your source code, then add the human context. Collaborate in real time, track drift, and review changes before they go out.
- Generated from sourceKeep content in sync as your code evolves.
- Live collaborative editingWrite together, with presence and comments.
- Human review before publishingNothing reaches readers until someone approves it.

Every answer has a point of reference.
Answers cite your documentation and your source code, so anyone can check the reasoning and get back to work.
To rotate an API key, create a new key, update your configuration, and then revoke the old key.
- Create a new API key in the dashboard.
- Update your application to use the new key.
- Revoke the old key once traffic is confirmed.
Sources
- Rotate API keysguides/authentication.mdx
- Authentication APIapi-reference/authentication.mdx
- revokeKey()src/authentication.tsL88–L102
Guides
Rotate API keys
Rotate your API keys safely, without downtime.
API reference
Authentication
Endpoints, request parameters and response examples.
Source code
src/authentication.ts
88export async function revokeKey(89 keyId: string90) {91 // …92}
Know what needs attention.
Source coverage, reviews waiting on an owner and pages that have drifted from the code, in one view.

Questions, answered
A shared understanding of everything you ship.
See how Gravity would work with your docs and your code.