---
title: "Get segments"
method: GET
path: "/segments"
tags: ["Segments"]
---

# Get segments

`GET /segments`

## Query parameters

- `filter[attributeId]` integer
- `filter[direct]` boolean
- `filter[managerId]` integer
- `filter[type]` 'employee' | 'option' | 'date' | 'number'

## Response `200`

A [JSONAPI resource](http://jsonapi.org/format/#document-resource-objects) containing an array of 'segments' objects

- object
  - `data` Segments[]
    - `type` string
    - `id` string
    - `attributes` object
      - `identifier` string
      - `type` string
      - `logo` string
      - `standard` string
      - `benchmarkType` string
      - `benchmarkId` string
      - `contextId` string
      - `name` string
      - `abbreviation` string
      - `direct` boolean
  - `included` ResourceIdentifier[] — An array of included JSONAPI resources
    - `type` string
    - `id` string

---

[API](https://skmtc.net/peakon/apis/peakon-api.md) · [All operations](https://skmtc.net/peakon/apis/peakon-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/peakon/peakon-api/revisions/cd09bd8acab5/schema)
