---
title: "Render a bullet diagram"
method: GET
path: "/v1/ammunition/{id}/bullet.svg"
tags: ["Ammunition"]
---

# Render a bullet diagram

`GET /v1/ammunition/{id}/bullet.svg`

## Request

- Base URL: `https://api.gunspec.io`
- URL: `https://api.gunspec.io/v1/ammunition/{id}/bullet.svg`
- Auth: one of:
  - none
  - API key in header `X-API-Key`
  - HTTP bearer

Returns a scale SVG cross-section of the bullet, generated from its recorded dimensions.

No API key required.

## Path parameters

- `id` string, required

## Response `200`

A scale SVG cross-section of the bullet

## Other responses

- `400`: Validation error
- `404`: Resource not found
- `429`: A limit was reached. `RATE_LIMITED` is the per-minute limit: wait `Retry-After` seconds (a minute) and retry. `DAILY_CAP_EXCEEDED` is the plan's daily limit, per key: nothing will be served until the counters return to zero at midnight UTC. `MONTHLY_CAP_EXCEEDED` is the plan's monthly allowance, for the whole account: nothing will be served until midnight UTC on the first of next month, or until the plan changes. For both, `Retry-After` is the seconds until then and `error.resetsAt` says when as an instant. Calls made after a refusal are refused too and do not spend the month, and a free key that keeps calling is paused, so stop at the first one and resume at the reset.
- `500`: Internal server error

---

[API](https://skmtc.dev/gunspec/apis/gunspec-io-api.md) · [All operations](https://skmtc.dev/gunspec/apis/gunspec-io-api/llms.txt) · [OpenAPI document](https://skmtc.dev/gunspec/apis/gunspec-io-api/revisions/f2e974d8b05c?raw)
