Api Ai Retrieve

BM25 retrieval over SEC filing chunks for a ticker.

Returns: {ticker, query, count, chunks: [{id, ticker, accession, filing_type, section, chunk_text, filed_at, url, score}]}

get/api/ai/retrieve

Request

  • Base URL: https://www.oxfordledge.com (the document declares no server; this is the origin it was published from)
  • URL: https://www.oxfordledge.com/api/ai/retrieve
  • Auth: none declared

Query parameters

tickerstring required
qstring required

Query text

kinteger

Response

Successful Response

tickerstring required

Uppercase ticker echo of the request param.

querystring required

Echo of the user's query (whitespace-trimmed).

countinteger required

len(chunks). Equal to k unless the corpus has fewer matches.

modestring required

Retrieval backend used: 'sqlite-bm25' or 'pg-bm25'. Telemetry / debugging field.

latency_msinteger required

Wall-clock retrieval latency. Telemetry / debugging field.

searchesRemaininginteger nullable

Filing searches left today on the user's daily allowance (dedicated 25/day-free counter; does not consume AI credits). BOARD 2026-07-21.

dailyLimitinteger nullable

The user's daily filing-search allowance for their tier (free = 25).

Changes

No recorded changes to this operation across all 1 revision of this API.