---
title: "Get the issues an agent reads and works on"
method: GET
path: "/v1/agents/{id}/issue-reach"
tags: ["Agents"]
---

# Get the issues an agent reads and works on

`GET /v1/agents/{id}/issue-reach`

## Request

- Base URL: `https://docs.grepr.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://docs.grepr.ai/v1/agents/{id}/issue-reach`
- Auth: one of:
  - API key in header `GREPR-API-KEY`
  - OpenID Connect (`https://grepr-prod.us.auth0.com/.well-known/openid-configuration`)

Returns whose issues the agent reads, and whose it can be handed, pick up and change: every issue in your organization or those of some teams, from its service account's issue scopes.

## Path parameters

- `id` string, required

## Response `200`

Issue reach retrieved successfully

- AgentIssueScopes: Whose issues an agent reads and whose it can work on, from its service account's issue scopes.
  - `reads` IssueScopeView: Which issues a principal may act on for one action: every issue in the organization, or those naming one of these teams.
    - `orgWide` boolean: Whether the principal may act on every issue in the organization.
    - `teamIds` string[]: The teams whose issues the principal may act on, sorted; empty when `orgWide`.
  - `worksOn` IssueScopeView: Which issues a principal may act on for one action: every issue in the organization, or those naming one of these teams.
    - `orgWide` boolean: Whether the principal may act on every issue in the organization.
    - `teamIds` string[]: The teams whose issues the principal may act on, sorted; empty when `orgWide`.

## Other responses

- `401`: Unauthorized
- `404`: Agent not found

---

[API](https://skmtc.dev/grepr/apis/grepr-api.md) - [All operations](https://skmtc.dev/grepr/apis/grepr-api/llms.txt) - [OpenAPI document](https://skmtc.dev/grepr/apis/grepr-api/revisions/2a5ce03a0bf0?raw)
