---
title: "列出会话内的 Agent 授权"
method: GET
path: "/agent/grants"
tags: ["Agent"]
---

# 列出会话内的 Agent 授权

`GET /agent/grants`

## Request

- Base URL: `/api/v1` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/api/v1/agent/grants`
- Auth: API key in header `Authorization`

列出当前用户在某个会话（根会话）中通过“本会话允许”记住的授权，包括其委派子任务上批准的授权。

## Query parameters

- `session_id` string, required

## Response `200`

授权列表

- object

## Other responses

- `400`: 请求参数错误

## Changes

- **2026-10-19** `80c72611fac6`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/tencentblueking/apis/weknora-api/changes/agent/grants/get.md)

---

[API](https://skmtc.dev/tencentblueking/apis/weknora-api.md) - [All operations](https://skmtc.dev/tencentblueking/apis/weknora-api/llms.txt) - [OpenAPI document](https://skmtc.dev/tencentblueking/apis/weknora-api/revisions/685d1f9fce30?raw)
