OpenAPI 3.1.02026-08-226994571.1 MB

1e929292ddd5

model management

Model List

Use /model/info - to get detailed model information, example - pricing, mode, etc.

This is just for compatibility with openai projects like aider.

Query Parameters:

  • include_metadata: Include additional metadata in the response with fallback information
  • fallback_type: Type of fallbacks to include ("general", "context_window", "content_policy") Defaults to "general" when include_metadata=true
  • scope: Optional scope parameter. Currently only accepts "expand". When scope=expand is passed, proxy admins, team admins, and org admins will receive all proxy models as if they are a proxy admin.
get/models

Query parameters

return_wildcard_routesboolean nullable
team_idstring nullable
include_model_access_groupsboolean nullable
only_model_access_groupsboolean nullable
include_metadataboolean nullable
fallback_typestring nullable
scopestring nullable

Response

Successful Response

{"stackTrail":"paths:/models:get:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}