---
title: "agents show"
description: "Get an agent credential"
canonical: "https://pgbeam.com/docs/cli/agents/show"
last-updated: "2026-10-20T17:41:58.000Z"
---

# agents show

> Get an agent credential

URL: https://pgbeam.com/docs/cli/agents/show

{/* Auto-generated from CLI commands. Do not edit. Run `pnpm generate:cli-docs` to regenerate. */}

Returns a single agent credential. Secrets are never included.

## Usage

```bash
pgbeam agents show <id>
```

## Options

| Option | Description | Required | Default |
| ------ | ----------- | -------- | ------- |
| `<id>` |             | Yes      | -       |

> **Global options**
>
> All [global options](/docs/cli/global-options) (`--token`, `--profile`,
> `--project`, `--org`, `--json`, `--no-color`, `--no-trunc`, `--debug`) are
> also available on this command.

## Examples

```bash
# Get an agent credential
pgbeam agents show

# Output as JSON
pgbeam agents show --json
```

## Output

Renders a human-readable table or detail view by default; pass `--json` for the raw API response.