Skip to content

Commit f484701

Browse files
authored
Add a reference article with agent session filters (#60546)
1 parent 30a4f09 commit f484701

File tree

3 files changed

+24
-7
lines changed

3 files changed

+24
-7
lines changed

content/copilot/how-tos/administer-copilot/manage-for-enterprise/manage-agents/monitor-agentic-activity.md

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,7 @@ category:
1515
{% data reusables.enterprise-accounts.access-enterprise %}
1616
{% data reusables.enterprise-accounts.ai-controls-tab %}
1717
1. Towards the top of the page, in the "Agent sessions" section, you will see the three most recent agent sessions in your enterprise. To view all agent sessions from the last 24 hours, click **View all**.
18-
1. To filter agent sessions, click the search bar at the top of the list, then press <kbd>Space</kbd>. From the dropdown menu that appears, select your filter criteria. The following filters are available:
19-
20-
* **Agent**: Filter sessions by the agent used, including third-party coding agents and {% data variables.copilot.copilot_coding_agent %}.
21-
* **Organization**: Filter sessions by the organization in which the session took place.
22-
* **Status**: Filter sessions by their current status, such as queued, in progress, completed, failed, idle waiting for user, timed out, or cancelled.
23-
* **Repository**: Filter sessions by the repository in which the session took place.
24-
* **User**: Filter sessions by the user who initiated the session.
18+
1. To filter agent sessions, click the search bar at the top of the list, then press <kbd>Space</kbd>. From the dropdown menu that appears, select your filter criteria. For a list of available filters, see [AUTOTITLE](/copilot/reference/agent-session-filters).
2519

2620
## Tracking agentic activity in your enterprise through the audit log
2721

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
---
2+
title: Available filters for agent sessions
3+
shortTitle: Agent session filters
4+
intro: 'Search agentic activity in your enterprise with filters for agent sessions.'
5+
permissions: Enterprise owners
6+
versions:
7+
feature: copilot
8+
contentType: reference
9+
category:
10+
- Track Copilot usage
11+
---
12+
13+
The following filters are available for the "Agent sessions" view in your enterprise's AI Controls:
14+
15+
| Filter | Description | Example value |
16+
| --- | --- | --- |
17+
| `agent` | Displays activity from a specific agent. | `agent:copilot-coding-agent` |
18+
| `organization` | Displays activity within a specific organization. | `organization:octocat-org` |
19+
| `repository` | Displays activity within a specific repository. | `repository:octocat-repo` |
20+
| `status` | Displays agent sessions with a specific status. | `status:in_progress` |
21+
| `timeframe` | Displays agent sessions that started within a specific timeframe. | `timeframe:7d` |
22+
| `user` | Displays agent activity initiated by a specific user. | `user:octocat` |

content/copilot/reference/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ children:
2020
- /metrics-data
2121
- /copilot-billing
2222
- /agentic-audit-log-events
23+
- /agent-session-filters
2324
- /review-excluded-files
2425
- /copilot-usage-metrics
2526
contentType: reference

0 commit comments

Comments
 (0)