---
title: "List contexts for the project"
method: GET
path: "/context-api/v2/projects/{projectId}/contexts"
tags: ["Context"]
---

# List contexts for the project

`GET /context-api/v2/projects/{projectId}/contexts`

Returns a paginated list of metadata for all contexts in a project.

Response is limited to *100* items, to retrieve all items the request
should be repeated with **offset** parameter specified.

## Path parameters

- `projectId` string, uuid, required

## Query parameters

- `nameFilter` string
- `offset` string
- `type` 'IMAGE' | 'HTML' | 'VIDEO'

## Response `200`

OK

- ContextListResponse
  - `response` object, required
    - `code` 'SUCCESS', required — Indicates whether the response was successful or what error has occured.
    - `data` object
      - `items` Context[], required
        - `contextType` 'IMAGE' | 'HTML' | 'VIDEO' — Type of context file. Currently, **HTML**, **IMAGE** or **VIDEO** types are supported.
        - `contextUid` string — Unique identifier for the context file
        - `name` string, required — File name for **IMAGE** context, URL for **HTML** Context and video URL for **VIDEO** context.
      - `offset` string — Result set is partial, if not empty. To retreive everything, request should be repeated with offset value.

## Other responses

- `400` — Provided request parameters are invalid.
- `401` — Provided credentials are not valid.
- `429` — Too many simultaneous API requests.
- `500` — Unexpected error

---

[API](https://skmtc.net/smartling/apis/smartling-rest-api-reference.md) · [All operations](https://skmtc.net/smartling/apis/smartling-rest-api-reference/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/smartling/smartling-rest-api-reference/versions/2a73d11e9b98/schema)
