---
title: "Set Agent Global"
method: PATCH
path: "/api/admin/agents/{agent_id}/global"
tags: ["admin-agents"]
---

# Set Agent Global

`PATCH /api/admin/agents/{agent_id}/global`

## Request

- Base URL: `https://app.thinqos.com` (the document declares no server; this is the origin it was published from)
- URL: `https://app.thinqos.com/api/admin/agents/{agent_id}/global`
- Auth: none declared

Mark an agent global (visible to all users) or revert it. Admin only.

Unsetting does NOT archive chats already started against the agent - it
only removes the agent from pickers for users without a controller row.

## Path parameters

- `agent_id` string, uuid, required

## Request body

- SetGlobalIn
  - `is_global` boolean, required

## Response `200`

Successful Response

- AgentGlobalOut
  - `id` string, uuid, required
  - `display_name` string, required
  - `is_global` boolean, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/thinqos/apis/thinqos-api.md) · [All operations](https://skmtc.dev/thinqos/apis/thinqos-api/llms.txt) · [OpenAPI document](https://skmtc.dev/thinqos/apis/thinqos-api/revisions/5387b4ded614?raw)
