---
title: "Retrieves a list of all compliance contract for a specific agency"
method: GET
path: "/agency/{agency_id}/compliance-contract"
tags: ["Compliance Contract"]
---

# Retrieves a list of all compliance contract for a specific agency

`GET /agency/{agency_id}/compliance-contract`

## Request

- Base URL: `http://localhost:3010/v1`
- URL: `http://localhost:3010/v1/agency/{agency_id}/compliance-contract`
- Auth: HTTP basic

## Query parameters

- `page` integer
- `items_per_page` integer
- `name` string
- `status` string
- `sortBy` string[]

## Headers

- `Authorization` string, string, required
- `Context` string, string, required
- `Accept` 'application/json', required
- `X-Accept-Timezone` string

## Response `200`

List of compliance contract for an specific agency

- object[]
  - `_id` string, required
  - `updated_at` string, date-time, required
  - `created_at` string, date-time, required
  - `__v` integer, required
  - `name` string, required
  - `description` string
  - `agency_id` string, required
  - `status` string, required

## Other responses

- `204`: No content
- `400`: Validation error on get
- `401`: Failed to authenticate the user making the request
- `403`: Permission denied error
- `default`: Server error occurred

---

[API](https://skmtc.dev/staffshift/apis/staffshift-api-gateway.md) - [All operations](https://skmtc.dev/staffshift/apis/staffshift-api-gateway/llms.txt) - [OpenAPI document](https://skmtc.dev/staffshift/apis/staffshift-api-gateway/revisions/1f079f6b65f5?raw)
