{"endpoint":{"method":"POST","path":"/api/select","content_type":"application/json"},"request":{"system_prompt":"string, optional: the agent's system prompt","code":"string, optional: the code that defines the agent and its tools","description":"string, optional: what the agent does and how it is used","weights":"any | open | closed (default any)","price_appetite":"integer 1 (cheapest that works) to 5 (best available), default 3","gateway_only":"boolean, default false: only models built in to Pydantic AI Gateway","latency":"boolean, default false: the agent is interactive, so speed matters"},"notes":"Give at least one of system_prompt, code or description, each up to 20,000 characters.","response":{"needs":["what the agent needs from a model"],"recommendations":[{"slug":"string","score":"0-100","reasons":["string"],"model":"the model, as in /models.json"}],"considered":"number of models that passed the weights and gateway_only constraints","selected_by":"the model that made the selection"}}