List the embedding models you can choose for a new knowledge base
GET/v1/knowledge_embedding_models
Every embedding model the platform offers for new knowledge bases, the recommended one first. Exactly one model is recommended: it is used when you create a knowledge base without embedding_model, and the portal preselects it. The list is short and not paginated (has_more is always false). Send an entry's id as embedding_model to POST /v1/knowledge_bases; model_name and display_label are for display only. A knowledge base's model is fixed when it is created.
processing_price_per_1m_tokens is what your organization is charged for processing one million embedding tokens with the model (a decimal string, 8 fractional digits), with its currency. Both are null when the price cannot be read right now, when the model has no processing price for your organization (creating a knowledge base with it is refused), when billing is not enforced on the platform, and always for an API key limited to a list of knowledge bases.
Access: API key scope knowledge:read or knowledge:write; portal users: any member of the organization.
Responses
- 200
- 403
- 404
OK
scope_missing, kb_not_in_allowlist, role_insufficient, actor_not_permitted, tenant_suspended, module_disabled (knowledge bases switched off on the platform: an operation that creates data or starts processing, for an organization that still has knowledge bases), web_sources_disabled, domain_blocked, domain_not_verified (website sources)
not_found (absent or owned by another organization — identical), module_disabled