bankstract
Api

Stream parse progress (SSE)

Server-Sent Events for a job: data lines carry {stage,current,total} progress, then a final `event: result` carries the ParseResponse (success) or the error envelope. No Authorization header: the unguessable job_id is the capability, since EventSource cannot send headers. One consumer per job.

GET
/v1/parse/jobs/{job_id}/stream

Path Parameters

job_id*Job Id

Response Body

application/json

application/json

curl -X GET "https://example.com/v1/parse/jobs/string/stream"
null
{  "detail": [    {      "loc": [        "string"      ],      "msg": "string",      "type": "string",      "input": null,      "ctx": {}    }  ]}