GET
/
data
/
{id}
curl --request GET \
  --url https://{capsule-id}.sid.ai/data/{id} \
  --header 'Authorization: Bearer <token>'
{
  "item_id": "<string>",
  "kind": "<string>",
  "uri": "<string>",
  "time_added": "2023-11-07T05:31:56Z",
  "time_authored": "2023-11-07T05:31:56Z",
  "metadata": {},
  "full_text": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <API_KEY>. API keys can be generated in the dashboard.

Path Parameters

id
string
required

The ID of the item to retrieve

Query Parameters

fullText
boolean
default:
false

Whether to include the full text content of the item

Response

200
application/json
Successful response
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

Timestamp when the item was added to the capsule

time_authored
string

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)