List contexts for an organization

## Usage

`circleci context list [flags]`

Aliases: `circleci context ls`

## Flags

| Flag            | Description                                                                       |
| --------------- | --------------------------------------------------------------------------------- |
| `--jq string`   | Process values from the response using jq syntax (see `circleci help formatting`) |
| `--json`        | Output as JSON                                                                    |
| `--name string` | Find contexts by name (partial match)                                             |
| `--org string`  | Organization slug (e.g. gh/myorg); defaults to git remote                         |

Global flags: `-c, --config`, `--debug`, `--no-color`, `-q, --quiet` — see `circleci --help`.

## Examples

- List contexts for the org inferred from git remote: 
  `circleci context list`
- List contexts containing the given name: 
  `circleci context list --name substring`
- List contexts for a specific organization: 
  `circleci context list --org gh/myorg`
- Output as JSON for scripting: 
  `circleci context list --json`
- Get just context names: 
  `circleci context list --json --jq '.[].name'`

## Details

List all contexts for a CircleCI organization.

JSON fields: id, name, created_at

