Skip to main content
GET
Get Site To Site Links

Authorizations

Authorization
string
header
required

A JWT Bearer token header for authentication and authorization, in the format Authorization: Bearer <token>

Headers

x-client-secret
string
required

A secret token identifying the client connecting to the API

Example:

"Syou3EZiO5vuMEgNyBeA8cjEMYOnQDwP"

Path Parameters

project_id
string
required
Required string length: 20 - 37
Examples:

"prj_1CTWZQGKE1S0VAXA"

"prj_1E0QTWB22SBX34D1"

Query Parameters

source_site_type
string | null

The type of the site. Use GET /projects/{project_id}/supported_site_types to discover which types are valid for your project.

Example:

"enhanced_weathering_field"

target_site_type
string | null

The type of the site. Use GET /projects/{project_id}/supported_site_types to discover which types are valid for your project.

Example:

"enhanced_weathering_field"

source_site_id
string | null
Required string length: 20 - 37
Example:

"ste_1G5775S5R1S0MGA9"

target_site_id
string | null
Required string length: 20 - 37
Example:

"ste_1G5775S5R1S0MGA9"

link_creation
enum<string> | null
Available options:
explicit,
spatial_matching
last
integer
default:10

An integer number of items to retrieve before the item represented by the cursor passed in the before parameter. Defaults to 10 with a maximum value of 50.

Required range: x <= 50
before
string | null

An opaque cursor representing the first item in the previously requested page to select items ordered before it. Submit the previously requested page’s start_cursor here when paginated backwards.

Minimum string length: 1
first
integer
default:10

An integer number of items to retrieve after the item represented by the cursor passed in the after parameter. Defaults to 10 with a maximum value of 50.

Required range: x <= 50
after
string | null

An opaque cursor representing the last item in the previously requested page to select items ordered after it. Submit the previously requested page’s end_cursor here when paginated forwards.

Minimum string length: 1

Response

Successful Response

nodes
SiteToSiteLink · object[]
required
page_info
PageInfo · object
required
total_count
integer
required