---
title: "SegmentAttribution"
method: GET
path: "/api/segment/{segId}/attribution"
tags: ["Segment"]
---

# SegmentAttribution

`GET /api/segment/{segId}/attribution`

## Request

- Base URL: `https://api.lytics.io`
- URL: `https://api.lytics.io/api/segment/{segId}/attribution`
- Auth: API key in header `Authorization`

Get single attribution

## Path parameters

- `segId` string, required

## Query parameters

- `account_id` string
- `limit` integer
- `refresh` boolean

## Response `200`

OK

- SegmentAttributionListModel
  - `data` object[]
    - `id` string, required
    - `metrics` object[], required
      - `ts` string, required
      - `value` number, required

---

[API](https://skmtc.dev/lytics/apis/v1-lytics-api.md) - [All operations](https://skmtc.dev/lytics/apis/v1-lytics-api/llms.txt) - [OpenAPI document](https://skmtc.dev/lytics/apis/v1-lytics-api/revisions/339fd1d88486?raw)
