---
title: "Generate content gaps"
method: POST
path: "/api/agent/gaps/generate"
tags: ["Gaps"]
---

# Generate content gaps

`POST /api/agent/gaps/generate`

## Request body

- GenerateGapsRequest
  - `competitor_urls` string[], required

## Response `200`

Gaps generated

- GenerateGapsResponse
  - `gaps_found` integer, required
  - `gaps` object[], required
  - `credits_used` number, required

## Other responses

- `400` — Bad request
- `401` — Unauthorized
- `402` — Insufficient credits
- `429` — Rate limit exceeded
- `500` — Internal server error

## Changes

- **2026-03-01** `2df2182b5901` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/citedy/apis/citedy-agent-api/changes/api/agent/gaps/generate/post.md)

---

[API](https://skmtc.dev/citedy/apis/citedy-agent-api.md) · [All operations](https://skmtc.dev/citedy/apis/citedy-agent-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/citedy/citedy-agent-api/revisions/2df2182b5901/schema)
