﻿# octopus build-information list

List build information in Octopus Deploy

```text
Usage:
  octopus build-information list [flags]

Aliases:
  list, ls

Flags:
  -q, --filter string       filter build information by version that contains the filter
      --latest              only return the latest build information according to SemVer
  -p, --package-id string   filter build information by package id

Global Flags:
  -h, --help                   Show help for a command
      --no-prompt              Disable prompting in interactive mode
  -f, --output-format string   Specify the output format for a command ("json", "table", or "basic") (default "table")
  -s, --space string           Specify the space for operations

```

## Examples

:::div{.success}
**Octopus Samples instance**

Many of the examples we use, reference the [samples instance](https://samples.octopus.app/app#/users/sign-in) of Octopus Deploy. If you'd like to explore the samples instance, you can log in as a guest.
:::

```bash
octopus build-information list
octopus build-information ls
octopus build-info list
octopus build-info ls --package-id ThePackage
octopus build-info ls --package-id ThePackage --filter 1.2.3

```

## Learn more

- [Octopus CLI](/docs/octopus-rest-api/cli)
- [Creating API keys](/docs/octopus-rest-api/how-to-create-an-api-key)
