v2
latestOpenAPI 3.1.02026-08-05267431678.1 KBgliner
Gliner2 Async
Submit large GLiNER-2 request for async processing.
Use this endpoint when processing >1M tokens that would exceed the 30-second timeout. Returns immediately with a job_id. Poll GET /gliner-2/jobs/{job_id} to retrieve results.
Args: request: AsyncGlinerRequest with task, text, schema http_request: FastAPI request object auth: Authentication result
Returns: 202 Accepted with job_id for polling
post/gliner-2/async
Request body
Response
Successful Response