> ## Documentation Index
> Fetch the complete documentation index at: https://octo-98895abd.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Pagination and errors

> Distinguish a complete result, a partial page, missing data, and a failed query.

All v2 data operations return an envelope with `data` and
`meta`. Inspect the actual response in the playground after selecting **Send**;
schema placeholders are not market observations.

> [accordion] More pages: next\_page\_url
>
> Request the returned URL unchanged, using the same Authorization header.
> For POST requests, resend the original body. The opaque cursor preserves the
> original filters. Do not append a new identifier or date range to a cursor.

> [accordion] Partial result: meta.tier\_cap\_reached
>
> A true flag means the tier ceiling truncated the available result, even if
> there is no next page. Report the limitation or narrow the query. Increasing
> `limit` does not bypass your tier ceiling.

> [accordion] No rows or a null field
>
> An empty `data` array means there are no matching rows for this request.
> A `null` field is missing or inapplicable, not zero. Check the identifier,
> period, family and coverage before drawing a conclusion about absence.

> [accordion] Authentication or permission failure
>
> `unauthorized` means the credential was not accepted. `forbidden_for_tier`
> means the caller cannot use that operation. Do not silently retry anonymously
> when the task requires Pro. Verify `meta.tier: pro` on successful responses.

> [accordion] Query limit, timeout or unavailable data
>
> For `over_limit`, read `error.reason`: `row_cap` means narrow the date range
> or filters, and `tier_cap` means narrow or sign in. Then read the hint. For HTTP 429, honor `Retry-After`. A timeout or unavailable response
> provides no evidence about the requested financial result.

## Record the evidence

Cite every figure by `meta.source` (the canonical request, `/v2/<resource>?...`
with every applied parameter), `meta.endpoint` (the `api.*` function read) and
`meta.data_through` (the newest period SILO holds for that dataset, from
`meta.coverage_dataset`; `null` means unknown, not current). Keep `meta.request`,
the returned dates, `meta.tier`, pagination state and retrieval time with your analysis. Query [dataset freshness](https://octo-98895abd.mintlify.site/api-docs/v2/operations/coverage/freshness.md)
before saying a value is current. Use the [research guide](https://octo-98895abd.mintlify.site/api-docs/v2/researchers.md)
for point-in-time comparisons.

## Error contract

An error response has `error.code`, `error.reason`, `error.message`,
`error.target`, and `error.innererror`. Branch on `code` and `reason`, then read
the message and hint before changing the request.

| `code` | `reason` | HTTP | What to do |
| - | - | - | - |
| `over_limit` | `row_cap` | 400 | The answer is over one 1,000-row page. Narrow the window or filters. |
| `over_limit` | `tier_cap` | 400 | The answer is over your tier ceiling. Narrow the request or sign in. |
| `over_limit` | `null` | 400 | Another SILO refusal. Read the message and hint. |
| `unknown_id` | `null` | 404 | SILO does not hold this id. Look it up again with search. |
| `rate_limited` | `null` | 429 | Wait `Retry-After` seconds. |

Every other code has `reason: null`.
The [full resource reference](https://octo-98895abd.mintlify.site/api-docs/v2/reference/index.md) lists the machine-readable
schema. Never turn a failed request into a zero, an empty successful result or an
estimated observation.

## Operation routes

Routes such as `/macro/series?series=CDI` return `data`, essential `meta` and, when more rows remain, `next_page_url`.
Use `details=true` to include the applied request and diagnostic fields. Follow the returned URL unchanged.
The original resource routes and MCP tools keep their existing full response. Units, warnings, nulls and tier limits are retained in both forms.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.