---
title: "Get Sweep"
method: GET
path: "/api/domains/{domain_id}/account-context/sweep"
tags: ["account-context"]
---

# Get Sweep

`GET /api/domains/{domain_id}/account-context/sweep`

## Request

- Base URL: `https://api-v1.unusual.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api-v1.unusual.ai/api/domains/{domain_id}/account-context/sweep`
- Auth: OAuth 2
  - Password
  - Token URL: `/auth/login`

The account's sweep list (``get_sweep_candidates``) and its markdown,
for staff: ``{sweep, sweep_md}``. The same contract as the tool
(``build_sweep_for``); advisory, writes nothing.

## Path parameters

- `domain_id` string, required

## Query parameters

- `staleness_days` integer, nullable: Age at which open work / idle levers read as stale (default 60)

## Headers

- `x-view-as` string, nullable

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/unusual/apis/dashboard-server.md) - [All operations](https://skmtc.dev/unusual/apis/dashboard-server/llms.txt) - [OpenAPI document](https://skmtc.dev/unusual/apis/dashboard-server/revisions/89f716930ead?raw)
