이 페이지는 아직 한국어로 번역되지 않았습니다. 아래는 영어 원문입니다.

List models

GET /v1/models lists the models the calling workspace is granted: the platform catalog plus your organization’s own models. Each entry follows the official shape, with these values taken from the provider’s own model list: The official capabilities object stays null because most of its fields are not known. The platform reads each provider’s model list (GET {base_url}/models) at start and every hour, and never copies numbers by hand. A model whose context window or output limit is still unknown is rejected when an agent refers to it (model_limits_unknown, HTTP 400). A model id resolves exactly: there is no prefix or fuzzy matching. The harness takes these limits from the platform on every turn. A normal request asks for at most min(output limit, 32000) tokens, and a reply cut at its limit is continued automatically.

Connect your own provider

An organization owner or admin can register an upstream of their own. Keys are write-only: responses carry api_key_fingerprint and api_key_hint only. Also available: list, retrieve, update (including a new key) and delete for providers and models. A provider with models, or a model with grants, cannot be deleted. Rules worth knowing:
  • Your model ids must not equal a platform catalog id (409 model_id_taken). Inside your organization your model wins if the platform later adds the same id.
  • Calls go to base_url plus endpoint_path with your key; you pay your provider, usage is still recorded, and the cost is 0 on the platform’s account. Upstream errors reach the caller as they are. A call never falls back to a platform key or catalog model when your provider fails.
  • A model whose api_format does not match the endpoint answers 400 model_protocol_mismatch; the proxy does not translate protocols.
See the bma-sdk reference for the typed client calls.