Endpoint#
GET https://evaesi.dev/api/v1/sources/{request_id}The nested /api/v1/responses/{request_id}/sources route remains mounted as a compatibility alias. Both routes require the same bearer key used for the original request.
Live retention#
This endpoint is a live lookup, not a permanent archive. The responses API returns sources_url so clients can re-fetch sources while the request remains resident in the gateway. Once the live source bundle is gone, the API returns 404 SOURCES_NOT_FOUND.
Response format#
{
"request_id": "req_123",
"level": "focus",
"sources": [
{
"url": "https://example.com/report",
"domain": "example.com",
"title": "Example report",
"tier": "t1_authoritative",
"retrieved_at": "2026-04-20T12:34:56Z",
"snippet": "Quoted source snippet...",
"stance": "supports"
}
]
}Source fields#
| Field | Type | Meaning |
|---|---|---|
request_id | string | The original inference request ID. |
level | string? | The level the request ran at, when the gateway still has it. |
sources | array | Live source list for the request. |
url | string | Canonical source URL. |
domain | string | Domain extracted from the URL. |
title | string | Human-readable page or document title. |
tier | enum | Source tier such as t1_authoritative or t3_community. |
retrieved_at | RFC3339 timestamp | When the source was gathered. |
snippet | string | Short quoted or extracted source fragment. |
stance | enum | How the source relates to the answer: supports, contradicts, mixed, or context. |
Errors#
404 SOURCES_NOT_FOUNDwhen the gateway no longer holds live sources for that request ID503 EVA_UNAVAILABLEwhen the inference gateway is not connected401 INVALID_API_KEYand related auth failures for missing, expired, or revoked keys
