Read Cleaned KoboToolbox Rows
kobo_get_data_sampleRetrieve cleaned survey rows with labels instead of codes to inspect specific records, read open-ended answers, or sanity-check data before drawing conclusions.
Instructions
Return actual cleaned rows of the dataset, with labels rather than codes.
Use this to read open-ended answers, sanity-check the data before drawing conclusions, or inspect specific records. For aggregate figures prefer kobo_analyze or kobo_crosstab — they are far more compact.
Args:
uid (string): the form's asset uid
limit (number): rows to return, 1-200 (default 20)
offset (number): rows to skip (default 0)
columns (array, optional): only these questions
query (string, optional): Mongo-style filter
response_format ('markdown' | 'json')
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uid | Yes | Asset uid of the form (from kobo_list_forms) | |
| limit | No | How many cleaned rows to return | |
| query | No | Optional Mongo-style filter applied server-side, e.g. '{"region":"Sud-Ouest"}' or '{"_submission_time":{"$gte":"2026-01-01"}}' | |
| offset | No | Rows to skip, for paging through the data | |
| columns | No | Only return these questions. Omit for all columns. | |
| response_format | No | Output format: 'markdown' for human-readable or 'json' for machine-readable | markdown |