Documentation Index
Fetch the complete documentation index at: https://docs.secapi.ai/llms.txt
Use this file to discover all available pages before exploring further.
GET /v1/sections/search
Search filing sections and snippets with filing-scoped filters and cursor paginationAudience: application and coding agent.
Citation fields (OMNI-3083)
Every result row carries seven additive top-level fields:| Field | Description |
|---|---|
accession | SEC accession number for the source filing |
section_key | Canonical section identifier (e.g. item_1a) |
char_start / char_end | Half-open offsets into the section markdown text (section_snippets.content_md) — section-text-relative, stable across reparses |
highlighted_snippet | ±150 char window with query terms wrapped in **…**, sentence-boundary truncated, ≤320 chars |
source_url | Public SEC.gov filing URL |
ticker | Issuer ticker, when known |
char_start/char_end/highlighted_snippet drop to null and _citation_degraded records the reason. Identity fields (accession, section_key, source_url, ticker) are always populated when known. See api conventions → citation + char-range spans for the full contract.
Agent mode
Pass?view=agent to receive the compact agent shape: key + snippet + lifted accessionNumber / startOffset / endOffset from provenance/trace, plus the OMNI-3083 citation envelope (accession, section_key, char_start, char_end, highlighted_snippet, source_url, ticker). Content-md and metadata envelopes are dropped. See api conventions → response formats for the full ?view= contract.
Canonical metadata
requestIdtraceparentprovenancefreshnessmaterialization
Example request
Example response
Give this prompt to your agent
Failure posture
- treat non-2xx responses as contract-aware failures, not free-form errors
- preserve
requestIdandtraceparentin logs and downstream reports - if provenance or freshness metadata is present, return it unchanged so trust is not lost in the handoff