---
title: "Knowledge items an agent read during one turn"
method: GET
path: "/agents/{agentId}/turns/{turnId}/sources"
tags: ["Activity"]
---

# Knowledge items an agent read during one turn

`GET /agents/{agentId}/turns/{turnId}/sources`

## Request

- Base URL: `https://api.atako.ai`
- URL: `https://api.atako.ai/agents/{agentId}/turns/{turnId}/sources`
- Auth: HTTP bearer

Items READ (not merely listed) during the turn, deduplicated, oldest read first. With `messageId` (chat reply) or `emailId` (outbound e-mail): only the items that message CITED and the agent also read in the turn (cited ∩ read). Filtered by the caller's own knowledge access: an item the caller cannot open, or that is archived or deleted, is absent. `changedSince` is true when the source changed after it was read.

## Path parameters

- `agentId` string, required
- `turnId` string, required

## Query parameters

- `messageId` string, uuid
- `emailId` string, uuid

## Response `200`

- object
  - `sources` object[], required
    - `itemId` string, uuid, required
    - `title` string, required
    - `kind` string, required
    - `path` string, required
    - `version` string, nullable, required: sourceUpdatedAt of the item when it was read.
    - `readAt` string, date-time, required
    - `changedSince` boolean, required

## Other responses

- `401`: Missing, malformed, or invalid bearer token / API key, or revoked session (SESSION_REVOKED).
- `404`: Not found, or the caller is not authorized to access this resource.

---

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