gliner
Gliner2 Async
Changed onSubmit 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/v1/gliner-2/async
Request
- Base URLhttps://api.pioneer.ai (the document declares no server; this is the origin it was published from)
- Auth
- API key in header X-API-Key
- or HTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Response
Successful Response
Changes
- info
endpoint added
- info