> ## Documentation Index
> Fetch the complete documentation index at: https://docs.ariacompute.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Impact Analysis - GET /v1/workspaces/:workspace_id/code-repos/:repo_id/impact

> Analyze up/down-stream impact paths of a symbol via GET /v1/workspaces/:workspace_id/code-repos/:repo_id/impact. Minimum role viewer.

Analyze a symbol's impact: follow call/reference edges to return its upstream (who depends on it) or downstream (what it depends on) impact paths.

## Endpoint

```http theme={null}
GET /v1/workspaces/:workspace_id/code-repos/:repo_id/impact
```

## Authentication

`Authorization: Bearer <jwt>` or `X-API-Key <sk_...>`. Minimum role: **viewer**.

## Path parameters

**workspace\_id** `string` *required*

Workspace id.

**repo\_id** `string` *required*

Repo id.

## Query parameters

**symbol\_id** `string` *required*

The symbol id to analyze.

**direction** `string`

Direction: `downstream` (default, what it depends on) / `upstream` (who depends on it).

## Response

The response is an array; each element is an impact path (with the symbols and edges traversed).

## Example

```bash cURL theme={null}
curl "https://memo.ariacompute.com/v1/workspaces/ws_01a2b3c4d5e6/code-repos/repo_01a2b3c4d5e6/impact?symbol_id=sym_01a2b3c4d5e6&direction=downstream" \
  -H "Authorization: Bearer <jwt>"
```

```json 200 theme={null}
[
  {
    "symbol_id": "sym_01a2b3c4d5e6",
    "name": "RegisterRoutes",
    "relations": [
      { "to": "sym_bb", "relation": "call" }
    ]
  }
]
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.