> ## Documentation Index
> Fetch the complete documentation index at: https://docs.memorylake.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Item

> Look up a file or folder in the Library by its ID

```
GET /openapi/memorylake/api/v1/drives/items/{item_id}
```

Returns metadata for a single Library item. Use this to inspect a file before importing it into a project, to resolve `MY_SPACE` into a concrete ID, or to check whether an item exists.

<Note>
  **Permission required:** [`drive:item_read`](/features/team-collaboration/permission-reference#read-your-files) · `service`
</Note>

### Path Parameters

<ParamField path="item_id" type="string" required>
  Item ID. Pass `MY_SPACE` to look up your workspace root without needing its concrete ID.
</ParamField>

<RequestExample>
  ```bash cURL theme={null}
  curl -X GET 'https://app.memorylake.ai/openapi/memorylake/api/v1/drives/items/MY_SPACE' \
    -H 'Authorization: Bearer sk_xxxxxx'
  ```
</RequestExample>

### Response

<ResponseField name="data" type="object">
  <Expandable title="Library item response">
    <ResponseField name="item" type="object">
      <Expandable title="Library item">
        <ResponseField name="uri" type="string">Drive resource URI</ResponseField>
        <ResponseField name="item_id" type="string">Item ID</ResponseField>
        <ResponseField name="name" type="string">Item name</ResponseField>
        <ResponseField name="type" type="string">Item type: `file` or `directory`</ResponseField>
        <ResponseField name="size" type="integer">File size in bytes (files only)</ResponseField>
        <ResponseField name="etag" type="string">ETag for the item</ResponseField>
        <ResponseField name="parent_item_id" type="string">Parent item ID</ResponseField>
        <ResponseField name="created_at" type="string">Creation timestamp</ResponseField>
        <ResponseField name="updated_at" type="string">Last update timestamp</ResponseField>
        <ResponseField name="x_attrs" type="object">Extended attributes (string → string map)</ResponseField>
      </Expandable>
    </ResponseField>
  </Expandable>
</ResponseField>

<ResponseExample>
  ```json Success (200) theme={null}
  {
    "success": true,
    "data": {
      "item": {
        "uri": "drive://items/sc-5c6bf0f82d624a20a6fa4696997bdd46:7d8cf1e93f634b31b5",
        "item_id": "sc-5c6bf0f82d624a20a6fa4696997bdd46:7d8cf1e93f634b31b5",
        "name": "report.pdf",
        "type": "file",
        "size": 10485760,
        "etag": "d41d8cd98f00b204e9800998ecf8427e",
        "parent_item_id": "sc-5c6bf0f82d624a20a6fa4696997bdd46:root",
        "created_at": "2024-01-15T10:30:00Z",
        "updated_at": "2024-01-15T10:30:00Z",
        "x_attrs": {}
      }
    }
  }
  ```
</ResponseExample>
