Skip to content
Last updated

🔨 In Development — This section is still being developed and may change.
> **Pending development** > This endpoint is under active development and is not yet available in production. Details may change before release.

Retrieve available AI models for a specific organization. Models are filtered to show only those visible in the UI and currently active.

GEThttps://api.freddy.aitronos.com/v1/organizations/{organization_id}/models

Path Parameters

organization_id string required

The organization ID.


Returns

An OrganizationModelsResponse object containing available models for the organization.

Bash
curl https://api.freddy.aitronos.com/v1/organizations/ORG_797C4DDB256A300C/models \
-H "Authorization: Bearer $FREDDY_API_KEY"

Response

{
  "organization_id": "ORG_797C4DDB256A300C",
  "models": [
    {
      "id": "mdl_09adacc3e5d3",
      "title": "GPT-4o",
      "description": "Most advanced multimodal model with vision, audio, and tool calling capabilities",
      "key": "gpt-4o",
      "external": "gpt-4o",
      "provider": "freddy",
      "is_active": true,
      "is_visible_in_ui": true,
      "order": 1,
      "max_tokens": 128000,
      "cost_per_1k_tokens": null
    },
    {
      "id": "mdl_1a2b3c4d5e6f",
      "title": "Claude 3.5 Sonnet",
      "description": "Anthropic's most intelligent model for complex reasoning",
      "key": "claude-3-5-sonnet",
      "external": "claude-3-5-sonnet-20241022",
      "provider": "freddy",
      "is_active": true,
      "is_visible_in_ui": true,
      "order": 2,
      "max_tokens": 200000,
      "cost_per_1k_tokens": null
    }
  ],
  "total_count": 2
}