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

# Fetch Sub-Collections

> List all direct child collections of a given collection

Returns all sub-collections directly under the specified collection, owned by the authenticated user.

## Path Parameters

<ParamField path="collectionId" type="string" required>
  The ID of the parent collection whose direct children should be returned.
</ParamField>

## Response

Returns an array of [Collection](/data-models/collection) objects.

```json theme={null}
[
  {
    "id": "col_abc",
    "name": "To Read",
    "parentId": "col_root",
    "entityCount": 5,
    "createdAt": "2025-01-15T10:00:00.000Z",
    "updatedAt": "2025-01-15T10:00:00.000Z"
  }
]
```

## Error Responses

<AccordionGroup>
  <Accordion title="Server Error — 500">
    ```json theme={null}
    { "error": "Server error", "code": "collection/server-error" }
    ```
  </Accordion>
</AccordionGroup>
