Native GLiNER
Submit an asynchronous GLiNER-2 job
Submit very large GLiNER-2 inputs for asynchronous processing when the input exceeds one million tokens or may outlast the synchronous request timeout.
POST
Submit an asynchronous GLiNER-2 job
POST /v1/gliner-2/async
Submit very large GLiNER-2 inputs for asynchronous processing. Use this endpoint when the
input exceeds one million tokens or may outlast the synchronous request timeout.
The OpenAPI panel on this page is the source of truth for every request field and 202
response field. The request uses the same native GLiNER schema as
POST /v1/gliner-2.
Request example
text may also be an array of strings. Omit the deprecated task field; the unified
schema identifies extraction, classification, structures, or relations.
Accepted response
The endpoint returns HTTP202 immediately. This illustrative payload shortens
message; the service supplies a concrete polling path containing the returned job ID.
job_id, then poll
GET /v1/gliner-2/jobs/{job_id}
with the same API key. Jobs are scoped to the authenticated user.
