﻿---
title: cloud serverless cross-project get-observability-project-link-candidates cli command
description: Get Observability project link candidates Behaviour flags: --dry-run — validate all inputs and exit without performing any action 
url: https://www.elastic.co/elastic/docs-builder/docs/4089/reference/elastic-cli/cli/cloud/serverless/cross-project/get-observability-project-link-candidates
applies_to:
  - Elastic Cloud Serverless: Preview
  - Elastic Stack: Preview
---

# cloud serverless cross-project get-observability-project-link-candidates cli command
<cli-modifiers>
</cli-modifiers>

```bash
elastic cloud serverless cross-project get-observability-project-link-candidates \
  --id <id> \
  [options]
```

Get Observability project link candidates
**Behaviour flags:**
`--dry-run` — validate all inputs and exit without performing any action

## Options

<definitions>
  <definition term="--id string required">
    The ID of the project
  </definition>
  <definition term="--types string[]">
    One or more types of projects to return as link candidates.
    **Repeatable:** pass `--types` multiple times to supply more than one value
  </definition>
  <definition term="--csp string">
    The Cloud Service Provider to filter the link candidate projects by.
  </definition>
  <definition term="--region string">
    The region to filter the link candidate projects by.
  </definition>
  <definition term="--name string">
    The project name to filter the link candidates by.
  </definition>
  <definition term="--alias string">
    The project alias to filter the link candidates by.
  </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>