---
title: "Set Compute Tool"
method: PUT
path: "/api/admin/users/{user_id}/compute-tool"
tags: ["admin"]
---

# Set Compute Tool

`PUT /api/admin/users/{user_id}/compute-tool`

## Request

- Base URL: `https://pozeidon.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://pozeidon.ai/api/admin/users/{user_id}/compute-tool`
- Auth: none declared. Required headers: `x-admin-secret`

Switch a user's one compute tool (pozeidon.users.compute_tool, V327);
null = the default (run_python). Takes effect on the user's next turn.
Cross-tenant by nature, so the admin pool.

## Path parameters

- `user_id` string, uuid, required

## Headers

- `x-admin-secret` string, required

## Request body

- ComputeToolBody
  - `compute_tool` 'run_python' | 'run_sql', nullable, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/pozeidon/apis/pozeidon-demo.md) · [All operations](https://skmtc.dev/pozeidon/apis/pozeidon-demo/llms.txt) · [OpenAPI document](https://skmtc.dev/pozeidon/apis/pozeidon-demo/revisions/de288dc26752?raw)
