---
title: "Recent rejected ingest requests"
method: GET
path: "/api/{org_id}/ingest/recent_rejections"
tags: ["Ingestion"]
---

# Recent rejected ingest requests

`GET /api/{org_id}/ingest/recent_rejections`

## Request

- Base URL: `https://api.openobserve.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.openobserve.ai/api/{org_id}/ingest/recent_rejections`
- Auth: API key in header `Authorization`
- TypeScript: <https://skmtc.dev/openobserve/apis/openobserve-api-http/docs/api/:org_id/ingest/recent_rejections/get.ts> (a function with typed inputs; its response is checked against the schema)

One entry per rejection reason seen in the last hour, newest first; tracked is false once the org has data

## Path parameters

- `org_id` string, required

## Response `200`

Success

- RecentRejections: `tracked` is false when the org has user data, for which no rejection is ever stored.
  - `list` IngestRejection[], required
    - `first_seen` integer, required: Unix time in microseconds when this reason was first seen; never refreshed.
    - `path` string, required
    - `reason` 'invalid_credentials' | 'malformed_body' | 'batch_too_large' | 'rate_or_quota', required
    - `status` integer, required
    - `token_name` string, nullable
  - `tracked` boolean, required

## Other responses

- `403`: Forbidden

---

[API](https://skmtc.dev/openobserve/apis/openobserve-api-http.md) - [All operations](https://skmtc.dev/openobserve/apis/openobserve-api-http/llms.txt) - [OpenAPI document](https://skmtc.dev/openobserve/apis/openobserve-api-http/revisions/0529b8a10252?raw)
