Lists Model APIs
Lists Model APIs visible to the caller. By default returns the full catalog; pass added_only=true to restrict to Model APIs the workspace has added.
get/v1/model_apis
Request
- Base URLhttps://model-{model_id}.api.baseten.co
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
cursorstring nullable
Opaque cursor returned by a previous page. Omit to fetch the first page.
limitinteger
Maximum number of items to return.
added_onlyboolean
When true, restrict the result to Model APIs the workspace has added. Defaults to the full visible catalog.
Response
Example response
{
"items": [
{
"name": "llama-3-3-70b-instruct",
"display_name": "Llama 3.3 70B Instruct",
"model_family": "META",
"invoke_url": "https://inference.baseten.co",
"context_length": 8192,
"rate_limits": [
{
"threshold": 1000
}
]
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.