<!-- WARNING: This documentation is auto-generated from the confluentinc/cli repository and should not be manually edited. -->

<a id="confluent-schema-registry-schema-list"></a>

# confluent schema-registry schema list

## Description

List schemas for a given subject prefix.

```none
confluent schema-registry schema list [flags]
```

## Flags

### Cloud

```none
    --subject-prefix string             List schemas for subjects with a given prefix.
    --all                               Include soft-deleted schemas.
    --context string                    CLI context name.
    --environment string                Environment ID.
    --schema-registry-endpoint string   The URL of the Schema Registry cluster.
-o, --output string                     Specify the output format as "human", "json", or "yaml". (default "human")
```

### On-Premises

```none
    --subject-prefix string               List schemas for subjects with a given prefix.
    --all                                 Include soft-deleted schemas.
    --context string                      CLI context name.
    --certificate-authority-path string   File or directory path to Certificate Authority certificates to authenticate the Schema Registry client.
    --client-cert-path string             File or directory path to client certificate to authenticate the Schema Registry client.
    --client-key-path string              File or directory path to client key to authenticate the Schema Registry client.
    --schema-registry-endpoint string     The URL of the Schema Registry cluster.
-o, --output string                       Specify the output format as "human", "json", or "yaml". (default "human")
```

## Global Flags

```none
-h, --help            Show help for this command.
    --unsafe-trace    Equivalent to -vvvv, but also log HTTP requests and responses which might contain plaintext secrets.
-v, --verbose count   Increase verbosity (-v for warn, -vv for info, -vvv for debug, -vvvv for trace).
```

## Examples

### Cloud

List all schemas for subjects with prefix “my-subject”.

```none
confluent schema-registry schema list --subject-prefix my-subject
```

List all schemas for all subjects in context “:.mycontext:”.

```none
confluent schema-registry schema list --subject-prefix :.mycontext:
```

List all schemas in the default context.

```none
confluent schema-registry schema list
```

### On-Premises

List all schemas for subjects with prefix “my-subject”.

```none
confluent schema-registry schema list --subject-prefix my-subject --certificate-authority-path <certification-authority-location> --schema-registry-endpoint <schema-registry-endpoint>
```

List all schemas for all subjects in context “:.mycontext:”.

```none
confluent schema-registry schema list --subject-prefix :.mycontext: --certificate-authority-path <certification-authority-location> --schema-registry-endpoint <schema-registry-endpoint>
```

List all schemas in the default context.

```none
confluent schema-registry schema list --certificate-authority-path <certification-authority-location> --schema-registry-endpoint <schema-registry-endpoint>
```

## See Also

* [confluent schema-registry schema](index.md#confluent-schema-registry-schema) - Manage Schema Registry schemas.
