Retrieve Model
Changed onRetrieve metadata for a single Anthropic-compatible model.
The :path converter is required because our runtime catalog ships model IDs containing slashes (e.g. qwen/qwen3-8b). Without it, FastAPI's default single-segment path param matcher 404s every such request — breaking openai.OpenAI(...).models.retrieve("qwen/qwen3-8b") and anthropic.Anthropic(...).models.retrieve("qwen/qwen3-8b") for real SDK users.
Args: model_id: Requested model identifier (may contain /). auth: Authentication result.
Returns: Combined Anthropic-compatible and Codex/OpenAI-compatible model metadata.
Raises: HTTPException: If the model ID is not in the runtime catalog.
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.
Path parameters
Response
Successful Response
Changes
- warning
removed the optional property
from the response with the status - info
added the required property
to the response with the status
- warning