---
title: "Get list of benchmark assignments for a connection"
method: GET
path: "/compliance/api/v1/assignments/connection/{connection_id}"
tags: ["benchmarks_assignment"]
---

# Get list of benchmark assignments for a connection

`GET /compliance/api/v1/assignments/connection/{connection_id}`

## Request

- Base URL: `https://api.opengovernance.io`
- URL: `https://api.opengovernance.io/compliance/api/v1/assignments/connection/{connection_id}`
- Auth: API key in header `Authorization`

Retrieving all benchmark assigned to a connection with connection id

## Path parameters

- `connection_id` string, required

## Response `200`

OK

- GithubComOpengovernOpengovernancePkgComplianceApiAssignedBenchmark[]
  - `benchmarkId` GithubComOpengovernOpengovernancePkgComplianceApiBenchmark
    - `autoAssign` boolean: Whether the benchmark is auto assigned or not
    - `category` string: Benchmark category
    - `children` string[]: Benchmark children
    - `controls` string[]: Benchmark controls
    - `createdAt` string: Benchmark creation date
    - `description` string: Benchmark description
    - `documentURI` string: Benchmark document URI
    - `id` string: Benchmark ID
    - `integrationTypes` string[]: Benchmark connectors
    - `logoURI` string: Benchmark logo URI
    - `referenceCode` string: Benchmark display code
    - `tags` object: Benchmark tags
    - `title` string: Benchmark title
    - `tracksDriftEvents` boolean: Whether the benchmark tracks drift events or not
    - `updatedAt` string: Benchmark last update date
  - `status` boolean: Status

---

[API](https://skmtc.dev/opengovern/apis/opengovernance-service-api.md) - [All operations](https://skmtc.dev/opengovern/apis/opengovernance-service-api/llms.txt) - [OpenAPI document](https://skmtc.dev/opengovern/apis/opengovernance-service-api/revisions/ab05295c4094?raw)
