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

# roark agent setup latest get

> Get an agent's setup

Returns the agent's most recent setup: its progress, the run plan it created, and every flow, metric and check it added or left out, with the reason and the source it came from.

```bash Synopsis theme={"theme":{"light":"everforest-light","dark":"everforest-dark"}}
roark agent setup latest get <agent-id> [options]
```

> [!NOTE]
>
> Calls `GET /v1/agent/{agentId}/setup`

## Arguments

**agent-id** `string` *required*

The agent-id.

## Example

```bash theme={"theme":{"light":"everforest-light","dark":"everforest-dark"}}
roark agent setup latest get <agent-id>
```

Every command also takes the [global options](https://docs.roark.ai/cli-reference/overview.md#global-options) and sets one
of the [exit codes](https://docs.roark.ai/cli-reference/overview.md#exit-codes).


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