---
title: "Set default session provider"
method: PUT
path: "/sessions"
tags: ["sessions"]
---

# Set default session provider

`PUT /sessions`

Update the default session provider for the user

## Request body

- ModelsSessionSetDefaultRequest
  - `provider` string, required — Provider ID to set as default

## Response `200`

Default provider updated successfully

- object

## Other responses

- `400` — Bad request
- `404` — Provider session not found
- `500` — Internal server error

## Changes

- **2025-12-30** `9958a1552df6` — 1 info
  - endpoint added
- **2025-11-03** `6a5321fd619a` — 1 breaking
  - api removed without deprecation

[Change history](https://skmtc.dev/thand-io/apis/thand-agent-api/changes/sessions/put.md)

---

[API](https://skmtc.dev/thand-io/apis/thand-agent-api.md) · [All operations](https://skmtc.dev/thand-io/apis/thand-agent-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/thand-io/thand-agent-api/revisions/62befb178368/schema)
