get_collection_items
Fetch items from a Directus collection with filters, search, sorting, and pagination to return only the records you need.
Instructions
Get items from a collection with optional filtering and pagination
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sort | No | Sort fields | |
| limit | No | Number of items to return (default: 25) | |
| fields | No | Fields to return | |
| filter | No | Filter conditions | |
| offset | No | Number of items to skip | |
| search | No | Search query | |
| version | No | Content version to read from a versioned collection. Use 'published' for the published version, or a version key for a draft. | |
| collection | Yes | Collection name | |
| version_raw | No | Return the raw version delta instead of the item merged with its version |