# Document API endpoint

> Document API endpoint is an open-source agent skill for files and documents. Document and type a Sentry API endpoint. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/getsentry/skills/tree/main/skills/document-api-endpoint
- **Repository:** https://github.com/getsentry/skills
- **GitHub stars:** 1,174
- **License:** Apache-2.0
- **Skill name:** document-api-endpoint
- **Collection:** https://github.com/getsentry/skills
- **Categories:** files and documents, developer tools
- **Listing updated:** 2026-11-17

## About

Document and type a Sentry API endpoint. Write or fix @extend_schema decorators, specify response TypedDicts, type request parameters, correct type drift between the declared schema and the runtime response, and validate the generated spec. Use when asked to "document an endpoint", "add OpenAPI docs", "add/fix @extend_schema", "type an endpoint response", "fix the response type", "fix type drift", "reuse a response type", "split an overloaded endpoint", "specify the response schema", "add a TypedDict response", "migrate a legacy api-docs path", "fix a parameter type", or "make an endpoint public" / "promote an endpoint" (promotion is one section here).

## When your agent uses it

> Document and type a Sentry API endpoint. Write or fix @extend_schema decorators, specify response TypedDicts, type request parameters, correct type drift between the declared schema and the runtime response, and validate the generated spec. Use when asked to "document an endpoint", "add OpenAPI docs", "add/fix @extend_schema", "type an endpoint response", "fix the response type", "fix type drift", "reuse a response type", "split an overloaded endpoint", "specify the response schema", "add a TypedDict response", "migrate a legacy api-docs path", "fix a parameter type", or "make an endpoint public" / "promote an endpoint" (promotion is one section here).

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/getsentry/skills/tree/HEAD/skills/document-api-endpoint)
- [License: Apache-2.0](https://github.com/getsentry/skills/tree/HEAD/skills/document-api-endpoint)

## Install

### Claude Code

This skill ships in the `sentry-skills` plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

```sh
/plugin marketplace add getsentry/skills
/plugin install sentry-skills@sentry-skills
```

Or copy only this skill to `~/.claude/skills/document-api-endpoint`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/getsentry/skills.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/document-api-endpoint &&
cp -R "$tmp/skills/document-api-endpoint" ~/.claude/skills/document-api-endpoint &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/document-api-endpoint` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/document-api-endpoint` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/getsentry/skills.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/document-api-endpoint &&
cp -R "$tmp/skills/document-api-endpoint" ~/.agents/skills/document-api-endpoint &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/document-api-endpoint` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/document-api-endpoint` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/getsentry/skills.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/document-api-endpoint &&
cp -R "$tmp/skills/document-api-endpoint" ~/.cursor/skills/document-api-endpoint &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/document-api-endpoint` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/getsentry/skills.git --path skills/document-api-endpoint
```

Or copy the folder to `~/.gemini/skills/document-api-endpoint` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/document-api-endpoint`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/getsentry/skills.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/document-api-endpoint &&
cp -R "$tmp/skills/document-api-endpoint" ~/.copilot/skills/document-api-endpoint &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/document-api-endpoint` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/getsentry/skills.git
```

Then copy `skills/skills/document-api-endpoint` into your agent's skills folder as `document-api-endpoint`. Agents that support SKILL.md read one folder per skill.

## FAQ

### How do I install Document API endpoint in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/document-api-endpoint to use it in all your projects, or to .claude/skills/document-api-endpoint in one project. Or install the sentry-skills plugin, which includes it: /plugin marketplace add getsentry/skills, then /plugin install sentry-skills@sentry-skills.

### Does Document API endpoint run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use Document API endpoint?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

### What are the best alternatives to Document API endpoint?

The closest alternatives to Document API endpoint are Rea changelog update, Code review, PDF, DOCX and XLSX.

## Alternatives

- [Rea changelog update](https://ai-powered.com/skills/rea-changelog-update): Rea changelog update is an open-source agent skill for developer tools.
- [Code review](https://ai-powered.com/skills/code-review-mattpocock): Code review is an open-source agent skill for developer tools.
- [PDF](https://ai-powered.com/skills/pdf-anthropics): PDF is an agent skill for files and documents.
- [DOCX](https://ai-powered.com/skills/docx-anthropics): DOCX is an agent skill for files and documents.
- [XLSX](https://ai-powered.com/skills/xlsx): XLSX is an agent skill for files and documents.
- [Gem devops guidelines](https://ai-powered.com/skills/gem-devops-guidelines): Gem devops guidelines is an open-source agent skill for cloud and infrastructure.
- [Github actions hardening](https://ai-powered.com/skills/github-actions-hardening): Github actions hardening is an open-source agent skill for developer tools.
- [Github codespaces efficiency](https://ai-powered.com/skills/github-codespaces-efficiency): Github codespaces efficiency is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/document-api-endpoint
