# diagrid agent get

Show Agent details

### Description

Show details for an Agent in a project.

```
diagrid agent get <agent> [flags]
```

### Examples

```

  # Get details for a specific Agent
  diagrid agent get my-agent --project my-project

  # Also list the components and subscriptions the Agent can use
  diagrid agent get my-agent --project my-project --all

  # Include whether the Agent is taking traffic
  diagrid agent get my-agent --project my-project --include-activity

```

### Options

```
  -p, --project string     Name of existing project
  -a, --all                Also list the components and subscriptions the Agent can use
  -o, --output string      Output format, supported [table, yaml, json] (default "table")
      --include-activity   Include whether the Agent served or sent any request in the last 5 minutes
  -h, --help               help for get
```

### Options inherited from parent commands

```
      --api-key string   Diagrid Cloud API key
```

### SEE ALSO

- [diagrid agent](./agent.md)	 - Manage Agents
