﻿---
title: cloud serverless projects search list cli command
description: Get Elasticsearch projects Behaviour flags: --dry-run — validate all inputs and exit without performing any action 
url: https://docs-v3-preview.elastic.dev/elastic/cli/pull/573/cli/cloud/serverless/projects/search/list
---

# cloud serverless projects search list cli command
<cli-modifiers>
</cli-modifiers>

```bash
elastic cloud serverless projects search list [options]
```

Get Elasticsearch projects
**Behaviour flags:**
`--dry-run` — validate all inputs and exit without performing any action

## Options

<definitions>
  <definition term="--traffic-filter string">
    Filters the returned list of projects. Only projects associated with the provided traffic_filter will be returned.
  </definition>
  <definition term="--linked string">
    Contains a project ID. If specified, the result will be filtered to only those origin projects that are linked to the specified project ID in a cross-project search configuration.
  </definition>
  <definition term="--tags string">
    If specified, the result will be filtered to only those projects that have the specified tags and corresponding values.
  </definition>
  <definition term="--input-file string">
    path to a JSON file to use as command input
  </definition>
  <definition term="--dry-run">
    validate all inputs and exit without performing any action (preview changes without applying them)
  </definition>
</definitions>


## Global Options

<definitions>
  <definition term="--json">
    output as JSON
  </definition>
</definitions>