agentcc

Fetch available models from a provider's API.

Two modes:

  • provider_name: look up stored credential by provider name for this org.
  • api_key + base_url + api_format: use raw values (for create-mode).
post/agentcc/provider-credentials/fetch_models/

Request

  • Base URL: http://localhost:8000
  • URL: http://localhost:8000/agentcc/provider-credentials/fetch_models/
  • Auth: one of:
    • API key in header X-Api-Key
    • API key in header X-Secret-Key

Request body

idstring uuid
organizationstring uuid
workspacestring uuid nullable
provider_namestring required
display_namestring
credentialsstring
base_urlstring uri
api_formatstring
models_listobject
default_timeout_secondsinteger
max_concurrentinteger
conn_pool_sizeinteger
extra_configobject
is_activeboolean
last_rotated_atstring date-time nullable
created_atstring date-time
updated_atstring date-time

Response

Created

idstring uuid
organizationstring uuid
workspacestring uuid nullable
provider_namestring required
display_namestring
credentialsstring
base_urlstring uri
api_formatstring
models_listobject
default_timeout_secondsinteger
max_concurrentinteger
conn_pool_sizeinteger
extra_configobject
is_activeboolean
last_rotated_atstring date-time nullable
created_atstring date-time
updated_atstring date-time

Changes

No recorded changes to this operation across all 1 revision of this API.