---
type: api
title: Get Security project link candidates
description: The response contains the list of projects which can be linked to the specified Security project in a cross-project search configuration.
url: https://www.elastic.co/elastic/docs-builder/docs/4371/api/doc/cloud-serverless/operation/operation-getsecurityprojectlinkcandidates
resource: https://www.elastic.co/elastic/docs-builder/docs/4371/api/doc/cloud-serverless/operation/operation-getsecurityprojectlinkcandidates
products:
  - Elastic Cloud Serverless
---

# Get Security project link candidates

- Server: `https://api.elastic-cloud.com`

## Paths

- `GET` `/api/v1/serverless/projects/security/{id}/link-candidates`

- [Api key auth](/elastic/docs-builder/docs/4371/api/doc/cloud-serverless/authentication#apikey)

## Description

The response contains the list of projects which can be linked to the specified Security project in a cross-project search configuration.

## Responses

#### `200`

The requested link candidate projects

`application/json`

- `items` ([] LinkedCandidateProject)
  The linked candidates.
  - `id` (string · pattern: ^[a-z0-9]{32}$)
    ID of the project.
  - `name` (string · min: 1 · max: 255)
    Descriptive name for a project.
  - `alias` (string · min: 1 · max: 50 · pattern: ^[a-zA-Z]{1}(?:[a-zA-Z0-9-]*[a-zA-Z0-9]{1})?$)
    A custom domain label compatible with RFC-1035 standards. Derived from the project name by default.
  - `type` (enum ProjectType)
    The type of the linked project
    Values: `elasticsearch`, `observability`, `security`, `vectordb`
  - `csp` (string)
  - `region` (string)
    Unique human-readable identifier for a region in Elastic Cloud.
  - `tags` (ProjectTags)
    Tags associated with a project in the form of key-value pairs. Tags are limited to a minimum of 1 and a maximum of 64 per project. Each tag key must begin with a lowercase letter (a-z), contain only lowercase letters, digits, underscores, and hyphens (a-z0-9_-), and have a maximum length of 32 characters.
  - `linked` (boolean)
    Indicates whether the project is already linked to the requesting project.
#### `404`

Not Found

`application/json`

- `errors` ([] ErrorResponse)
  - `message` (string)
    A human-readable message of the error.
  - `code` (string)
    An identifier for this type of error.
## Code Examples

#### Console

```console
GET /api/v1/serverless/projects/security/{id}/link-candidates
```

#### curl

```curl
curl -X GET "https://api.elastic-cloud.com/api/v1/serverless/projects/security/{id}/link-candidates"
```

