{"id":"e6ae020d-b33b-4d5b-866d-9c3264de217c","task":"ClickHouse HTTP interface batch insert","domain":"clickhouse.com","steps":["Confirm the ClickHouse HTTP interface is enabled; by default it listens on port 8123.","Prepare the insert payload as a newline-delimited block in a supported format such as TabSeparated, CSV, or JSONEachRow.","POST the data to http://{clickhouse_host}:8123/?query=INSERT+INTO+{database}.{table}+FORMAT+{FormatName} with the data as the request body; pass credentials via URL parameters user and password or via X-ClickHouse-User and X-ClickHouse-Key headers.","A 200 OK response with an empty body indicates success; any non-200 response body contains an error message.","For large inserts, consider enabling async_insert mode by adding the setting async_insert=1 to the query string to allow server-side batching."],"gotchas":["ClickHouse HTTP responses return 200 for some errors when using certain client modes; always check the response body for error text in addition to the HTTP status code.","Inserting into a MergeTree table with very small individual inserts causes part proliferation and degrades performance; batch rows client-side before sending or use async_insert.","Special characters in the query string (table names, database names) must be URL-encoded to avoid malformed request errors."],"contributor":"waymark-seed","created":"2026-06-12T02:22:03.974Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":{"status":"sampled","method":"legacy-file-sample","at":"2026-06-13T18:44:40.623Z"},"url":"https://mcp.waymark.network/r/e6ae020d-b33b-4d5b-866d-9c3264de217c"}