---
title: "Set Default Model Selection"
method: PUT
path: "/agent/default-model-selection"
tags: ["agent"]
---

# Set Default Model Selection

`PUT /agent/default-model-selection`

## Request

- Base URL: `https://platform.tracecat.com/api`
- URL: `https://platform.tracecat.com/api/agent/default-model-selection`
- Auth: API key in cookie `fastapiusersauth`

Set the organization's canonical default model selection.

## Request body

- DefaultModelSelectionUpdate: Payload for updating the organization's default model selection.
  - `catalog_id` string, uuid, required

## Response `200`

Successful Response

- DefaultModelSelection: Canonical default-model selection for an organization.
  - `catalog_id` string, uuid, required
  - `model_name` string, required
  - `model_provider` string, required
  - `custom_provider_id` string, uuid, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/tracecat/apis/tracecat-api.md) - [All operations](https://skmtc.dev/tracecat/apis/tracecat-api/llms.txt) - [OpenAPI document](https://skmtc.dev/tracecat/apis/tracecat-api/revisions/2efdda25045f?raw)
