---
title: "Read context by type (messages, artifacts, agreements, tasks)"
method: GET
path: "/context/read/{type}"
tags: ["Context"]
---

# Read context by type (messages, artifacts, agreements, tasks)

`GET /context/read/{type}`

## Request

- Base URL: `https://api.ziggsai.com`
- URL: `https://api.ziggsai.com/context/read/{type}`
- Auth: HTTP bearer

## Path parameters

- `type` string, required

## Query parameters

- `agreementId` string
- `state` unknown
- `direction` unknown
- `after` unknown
- `limit` unknown
- `cursor` unknown
- `contextGrantId` unknown
- `via` string, required

## Headers

- `X-Ziggs-Lane` string

## Response `200`

OK

- ContextReadEnvelopeSchema
  - `type` string, required
  - `via` object, required
  - `items` object[], required
  - `hasMore` boolean, required
  - `nextCursor` string, nullable, required
  - `latestSequence` string, nullable

---

[API](https://skmtc.dev/ziggsai/apis/ziggs-developer-api.md) · [All operations](https://skmtc.dev/ziggsai/apis/ziggs-developer-api/llms.txt) · [OpenAPI document](https://skmtc.dev/ziggsai/apis/ziggs-developer-api/revisions/eda79030e072?raw)
