v1

latestOpenAPI 3.1.0raw.githubusercontent.com2026-06-2682245.2 KB
inference

Run inference (Pioneer native)

Unified inference endpoint for encoder tasks (NER, text classification, JSON extraction) and decoder tasks (text generation). Discriminated by the presence of a messages field: include messages for decoder generation; use text + schema for encoder tasks.

post/inference

Request body

OR

Response

Inference result. type is "encoder" for encoder tasks and "decoder" for generation.

OR
All 8 operations