// Module included in the following assemblies: // // * serverless/eventing/discovery/list-event-sources-cli.adoc :_mod-docs-content-type: REFERENCE [id="serverless-list-source-cli_{context}"] = Listing available event sources by using the Knative CLI You can list existing event sources by using the `kn source list` command. .Prerequisites * The {ServerlessOperatorName} and Knative Eventing are installed on the cluster. * You have installed the Knative (`kn`) CLI. .Procedure . List the existing event sources in the terminal: + [source,terminal] ---- $ kn source list ---- + .Example output [source,terminal] ---- NAME TYPE RESOURCE SINK READY a1 ApiServerSource apiserversources.sources.knative.dev ksvc:eshow2 True b1 SinkBinding sinkbindings.sources.knative.dev ksvc:eshow3 False p1 PingSource pingsources.sources.knative.dev ksvc:eshow1 True ---- . Optional: You can list event sources of a specific type only, by using the `--type` flag: + [source,terminal] ---- $ kn source list --type ---- + .Example command [source,terminal] ---- $ kn source list --type PingSource ---- + .Example output [source,terminal] ---- NAME TYPE RESOURCE SINK READY p1 PingSource pingsources.sources.knative.dev ksvc:eshow1 True ----