Public docs
GET /v1/history
Retrieve recent translation runs for audit and debugging.
Phase 1 shell: this docs surface is wired to the existing backend and repo documentation, and will be expanded as the private dashboard comes online.
What it does
Returns a list of recent POST /v1/translate runs, newest first. Useful for auditing what was analyzed, debugging AI output, or building history views.
Authentication
Requires X-API-Key.
Query parameters
limit— integer, optional, default:10, max recommended:100
Response fields per run
id— unique run IDcreated_at— ISO timestampstatus—successorerrormode—basicoraiplan—freeorproraw_text— the original input textproduct_area— if providedtone— tone usedimpact_level—low,medium, orhighrisk_flags— array of detected risk flag stringsdetected_scopes— array of detected scope tokensai_provider— which AI provider was used (or null)ai_fallback_used— booleanresponse_json— the full structured response object
Fetch recent history
curl "https://api.opsentry.ai/v1/history?limit=5" \ -H "X-API-Key: YOUR_API_KEY"