> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.aventure.vc/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.aventure.vc/_mcp/server.

# List relationship types

GET https://api.aventure.vc/v1/entities/relationships/types

Returns canonical EntityRelationshipType values, aliases, and policy flags. Use joinable=true values with entities relationships join; acquisitionManaged=true values route through entity acquisitions; exclusiveRelationshipType lists relationship types that cannot coexist for the same unordered entity pair; readOnly=true values are emitted by reads only.

Reference: https://docs.aventure.vc/api-reference/a-venture-api/entity-relationships/list-relationship-types

## Authentication

- `X-Client-Secret` header (required) — Client secret for read-only service-to-service access (no writes)

## Response

### 200

OK

- `list of object`
  - `acquisitionManaged` (boolean, required) — Whether this type must be written through acquisition endpoints.
  - `alias` (list of string, required) — Accepted aliases that normalize to canonical.
  - `canonical` (string, required) — Canonical relationship type token used in reads and writes.
  - `description` (string, required) — Human-readable catalog meaning and placement guidance.
  - `direction` (enum, required) — How to interpret sourceEntityId and targetEntityId. DIRECTIONAL means sourceRole and targetRole are authoritative.
    - Allowed values: `symmetric`, `typeOriented`, `directional`
  - `exclusiveRelationshipType` (list of string, required) — Relationship types that cannot coexist for one unordered pair.
  - `joinable` (boolean, required) — Whether generic relationship join/write endpoints accept this type.
  - `pairRule` (string, required) — Entity type pairing rule enforced before persistence.
  - `readOnly` (boolean, required) — Whether this type is emitted by reads only and rejected on writes.
  - `sourceRole` (string, optional, nullable) — Role of sourceEntityId for directional/type-oriented rows. For affinity this is member.
  - `targetRole` (string, optional, nullable) — Role of targetEntityId for directional/type-oriented rows. For affinity this is provider.

## Examples

**Response**

```json
[
  {
    "acquisitionManaged": true,
    "alias": [
      "string"
    ],
    "canonical": "string",
    "description": "string",
    "direction": "symmetric",
    "exclusiveRelationshipType": [
      "string"
    ],
    "joinable": true,
    "pairRule": "string",
    "readOnly": true,
    "sourceRole": "string",
    "targetRole": "string"
  }
]
```

**SDK Code**

```python
import requests

url = "https://api.aventure.vc/v1/entities/relationships/types"

headers = {"X-Client-Secret": "<apiKey>"}

response = requests.get(url, headers=headers)

print(response.json())
```

```javascript
const url = 'https://api.aventure.vc/v1/entities/relationships/types';
const options = {method: 'GET', headers: {'X-Client-Secret': '<apiKey>'}};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://api.aventure.vc/v1/entities/relationships/types"

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("X-Client-Secret", "<apiKey>")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby
require 'uri'
require 'net/http'

url = URI("https://api.aventure.vc/v1/entities/relationships/types")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["X-Client-Secret"] = '<apiKey>'

response = http.request(request)
puts response.read_body
```

```java
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://api.aventure.vc/v1/entities/relationships/types")
  .header("X-Client-Secret", "<apiKey>")
  .asString();
```

```php
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://api.aventure.vc/v1/entities/relationships/types', [
  'headers' => [
    'X-Client-Secret' => '<apiKey>',
  ],
]);

echo $response->getBody();
```

```csharp
using RestSharp;

var client = new RestClient("https://api.aventure.vc/v1/entities/relationships/types");
var request = new RestRequest(Method.GET);
request.AddHeader("X-Client-Secret", "<apiKey>");
IRestResponse response = client.Execute(request);
```

```swift
import Foundation

let headers = ["X-Client-Secret": "<apiKey>"]

let request = NSMutableURLRequest(url: NSURL(string: "https://api.aventure.vc/v1/entities/relationships/types")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```