---
title: "Get survey line item status for a group"
method: GET
path: "/cohorts/{cohortId}/feedback-surveys/results/line-item"
tags: ["Feedback Surveys"]
---

# Get survey line item status for a group

`GET /cohorts/{cohortId}/feedback-surveys/results/line-item`

## Request

- Base URL: `https://api.production.yourmedley.com`
- URL: `https://api.production.yourmedley.com/cohorts/{cohortId}/feedback-surveys/results/line-item`
- Auth: HTTP bearer

Returns survey collection status for a specific group and survey type, used in inline session table rows

## Path parameters

- `cohortId` string, uuid, required

## Query parameters

- `group_id` string, uuid, required
- `survey_type` 'post_session' | 'midpoint' | 'endpoint', required

## Response `200`

Line item status retrieved

- object
  - `success` boolean
  - `data` object
    - `survey_type` string
    - `is_configured` boolean
    - `schedule_status` string, nullable
    - `sent_at` string, date-time, nullable
    - `deadline` string, date, nullable
    - `completed` integer
    - `total` integer
    - `state` 'collecting' | 'complete' | 'future' | 'not_configured'
    - `scheduled_for` string, date-time, nullable

## Other responses

- `400`: Missing required query parameters
- `404`: Cohort not found

---

[API](https://skmtc.dev/withmedley/apis/medley-api.md) - [All operations](https://skmtc.dev/withmedley/apis/medley-api/llms.txt) - [OpenAPI document](https://skmtc.dev/withmedley/apis/medley-api/revisions/40aaac5ca6bd?raw)
