audit

Get Audit Trail

Phase 48 / AUDIT-01: structured audit trail for a ticker.

Returns the AuditTrail for the given ticker, reading from screener_cache (input snapshot, per-method FVs, consensus, 80% CIs from Phase 47)

  • av_anomaly_log (data-quality anomalies in the calc window).

NO external fetches — performance target p95 ≤500ms (AUDIT-05).

Args: ticker: stock symbol (case-insensitive; uppercased internally) days: anomaly window in days (default 7, max 90)

Returns: AuditTrail with versioned schema (schema_version="1.0" in v2.0)

Raises: 401 if no JWT and no service bypass 403 if JWT lacks is_admin or is_friends_family 404 if ticker not found in screener_cache 400 if days outside [1, 90]

get/api/audit/{ticker}

Request

  • Base URL: https://api.equity-rank.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.equity-rank.com/api/audit/{ticker}
  • Auth: HTTP bearer

Path parameters

tickerstring required

Query parameters

daysinteger

Response

Successful Response

schema_versionstring
tickerstring required
sectorstring nullable
model_horizonstring
anomaly_window_daysinteger
disclaimerstring
generated_atstring
compute_msinteger nullable

Changes

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