---
title: "Retrieve segments of a specific project"
method: GET
path: "/project/{project_id}/segments/{file_id}/{language_id}"
tags: ["project"]
---

# Retrieve segments of a specific project

`GET /project/{project_id}/segments/{file_id}/{language_id}`

## Retrieve segments of a specific project, file and language by its UUID from the verify API

This endpoint retrieves segments of a specific project from the verify API using its UUID. File UUID and Language UUID are also required to retrieve the segments, and the response is paginated.

**Headers:**
- `Authorization` (str): HTTP bearer - API token for user authentication.

**Args:**
- `project_id` (UUID): The UUID of the project to retrieve.
- `file_id` (UUID): The UUID of the file to retrieve.
- `language_id` (UUID): The UUID of the language to retrieve.
- `page` (int, optional): Page number for the list of segments. Defaults to 1.
- `page_size` (int, optional): Number of segments per page. Defaults to 100.
- `api_key` (str): API key for authentication.

**Returns:**
- `GetSegmentResponse`: A dictionary containing the segments data.

## Path parameters

- `project_id` string, uuid, required
- `file_id` string, uuid, required
- `language_id` string, uuid, required

## Query parameters

- `page` integer
- `page_size` integer

## Response `200`

Successful Response

- GetSegmentResponse
  - `file_id` string, uuid, required
  - `language_id` string, uuid, required
  - `segments` SrcProjectSchemasSegment[], required
    - `source_text` string, required
    - `external_id` string
    - `translation` SrcProjectSchemasTranslation
      - `target_text` string, required
      - `language_id` string, required
      - `translation_memory_matched` boolean, required
      - `score` number, nullable, required
      - `quality` string, required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/straker/apis/verify-api.md) · [All operations](https://skmtc.dev/straker/apis/verify-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/straker/verify-api/revisions/0d49b328bbbf/schema)
