# Get the project pairs configured in integration(s)

## Description

* Given two systems, if you want to get the projects in synchronization (for all active integration configured) between those systems, then you can use this sample script.

## Input

* Instance details
  * Instance details like <code class="expression">space.vars.SITENAME</code> instance url, username and password are to be given in **instanceDetails.properties** file available within script.
* End Point details (To be given at the time of script execution)
  * End Point 1 Id
  * End Point 2 Id

## Output

* List of project pairs configured in all the active integrations between the two systems.

## Script

You can download the script from \[here].

Below is an example of execution for this script.

<div align="center"><img src="/files/2mPOuInMRvXhVnc1FYsU" alt=""></div>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://opstech.gitbook.io/opstech-docs/manage/api/sample-use-cases/use-case-get-all-project-pairs.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
