---
title: "Get item by ID from capsule"
method: GET
path: "/data/{id}"
tags: ["Data"]
---

# Get item by ID from capsule

`GET /data/{id}`

## Path parameters

- `id` string, required

## Query parameters

- `fullText` boolean

## Response `200`

Successful response

- object
  - `item_id` string — Unique identifier for the item
  - `kind` string — Type of the item (e.g., 'file' or 'text')
  - `uri` string — URI associated with the item
  - `time_added` string, date-time — Timestamp when the item was added to the capsule
  - `time_authored` string, date-time — Timestamp when the item was originally authored
  - `metadata` object — Additional metadata associated with the item
  - `full_text` string — Full text content of the item (only included if fullText=true)

## Other responses

- `400` — Bad request
- `404` — Item not found
- `500` — Internal server error

## Changes

- **2024-10-29** `ab766386b0d2` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/sidhq/apis/capsules-api/changes/data/:id/get.md)

---

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