# REST: agents

Source: <https://telegafirst.com/docs/api-agents>
Locale: ru
releaseGitSha: 0bb11ef116e17ec64c802d5476eaff442e53d252
sourceContentDigest: 091e6cc157d39fa0778a695a40202d7bdc379a13ab92d41bf70ce799aaaa3502
Version: 9

# REST: agents

Выберите операцию: полный контракт доступен по ссылке. Scopes: ALL; auth alternatives: OR.

## getAgentConfig

`GET /api/v1/tools/agents` — Read the tenant AI agent configuration

Scopes (ALL): \["agents:read"]. Auth (OR): \[{"hubApiKey":\[]},{"hubBearer":\[]}].

[Параметры, ответы и права](https://telegafirst.com/docs/api-op-getagentconfig)

## updateAgentConfig

`PATCH /api/v1/tools/agents` — Update the tenant AI agent configuration

Scopes (ALL): \["agents:write"]. Auth (OR): \[{"hubApiKey":\[]},{"hubBearer":\[]}].

[Параметры, ответы и права](https://telegafirst.com/docs/api-op-updateagentconfig)
