Calls the gateway with a minimal request to verify a model is reachable. Used by the platform Models admin page (Test button).
type: "embeddings" → calls OpenAI.embeddings with input: "Salut"
and returns { ok, dimensions, response }.type: "completions" (default) → calls OpenAI.chat-completion with
a single-turn user message and a get_weather tool definition,
returns { ok, response }.On error, the call is wrapped in a try/catch and returns
{ ok: false, response: <error> }.
Documentation Index
Fetch the complete documentation index at: https://docs.prisme.ai/llms.txt
Use this file to discover all available pages before exploring further.
User session JWT or instance API key (iak_*). Send as
Authorization: Bearer <token>.