model, a messages
list, and a top-level schema describing the GLiNER task. See the Inference API
overview for authentication and cold-start/retry behavior shared across Fastino’s
inference interfaces.
Request
string
required
An inference-capable base-model ID or the UUID of a completed, deployable Fastino training
job.
object[]
required
A non-empty list of messages. For GLiNER inference, put the text to analyze in a user
message’s
content.object
Defines custom encoder tasks. Supply a dictionary containing one or more of
entities,
classifications, structures, or relations. Omit it only when the selected model has
a configured default task.A flat array of entity labels is deprecated. Always use the dictionary shape.number
default:"0.5"
Confidence threshold from
0 to 1. Lower values favor recall; higher values favor
precision.boolean
default:"true"
Include confidence values in extracted results.
boolean
default:"true"
Include half-open character offsets (
start, end) in entity results.boolean
default:"true"
Persist the inference. Set to
false to opt out.Entity schema
Use descriptive entity definitions when possible:Classification schema
Structured extraction schema
Structure fields usefield::type::description specifications:
Relation schema
The simplest relation schema is a flat list of relation names:Combined schema
Run multiple tasks over the same text by combining keys:task or task_type.
Example
model value must currently support hosted inference. Use the live model catalog rather
than assuming every Hugging Face checkpoint is available:
Response
The endpoint returns a chat-completion envelope. The GLiNER result is serialized as a JSON string inchoices[0].message.content:
choices[0].message.content as JSON before reading task results. When store=true,
x_pioneer.inference_id identifies the persisted inference.
Repeated inputs
The endpoint accepts one conversation per request. It does not support the removed native endpoint’stext: string[] batch shape. Send separate requests concurrently when processing
multiple inputs.
Errors
See Cold starts and retries for the shared retry pattern.

