# Get records from a topic. **GET /topics/{topic_name}/partitions/{partition_id}/records** ## Servers - http://{{Host}}: http://{{Host}} () ## Parameters #### Path parameters - **topic_name** (string) - **partition_id** (integer) #### Query parameters - **offset** (integer) - **timeout** (integer) - **max_bytes** (integer) ## Responses ### 200: #### Body Parameters: application/vnd.kafka.json.v2+json (object) - **records** (array[object]) ### 404: Topic or partition not found #### Body Parameters: application/vnd.kafka.json.v2+json (object) - **error_code** (integer) - **message** (string) [Powered by Bump.sh](https://bump.sh)