{"slug":"balogvn-aimart-parquet-us-east-modal-run-v1-query-e9c01f","title":"Run one read-only DuckDB SELECT over a Parquet file (table `data`); join up to 7","host":"balogvn--aimart-parquet.us-east.modal.run","method":"POST","resource":"https://balogvn--aimart-parquet.us-east.modal.run/v1/query","category":"other","description":"Run one read-only DuckDB SELECT over a Parquet file (table `data`); join up to 7 more artifacts via `tables`.","price_listed":0.005,"price_asked":0.005,"state":"answering","state_label":"Answering","checks_7d":1,"answered_7d":1,"latency_ms_median":656,"reported_calls_30d":1,"reported_payers_30d":1,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"sql":"SELECT region, sum(units) AS units FROM data GROUP BY region ORDER BY region","url":"https://raw.githubusercontent.com/balogvn/aimart/main/docs/examples/sales.parquet"},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"properties":{"artifact_id":{"description":"artifact_id from a previous convert.","type":"string"},"content_base64":{"description":"Raw file bytes, base64-encoded.","type":"string"},"filename":{"description":"Original filename, e.g. survey.sav.","type":"string"},"format":{"enum":["json","markdown","csv"],"type":"string"},"limit":{"maximum":1000,"minimum":1,"type":"integer"},"sql":{"description":"One DuckDB SELECT over table data, joined with any `tables`.","type":"string"},"tables":{"additionalProperties":{"additionalProperties":false,"properties":{"artifact_id":{"description":"artifact_id from a previous convert.","type":"string"},"url":{"description":"Public http(s) URL of a Parquet file.","type":"string"}},"type":"object"},"description":"Up to 7 more tables to join, by name: {\"orders\": {\"artifact_id\": \"...\"}}. The top-level input is `data`.","maxProperties":7,"type":"object"},"url":{"description":"Public http(s) URL of the input file.","type":"string"}},"required":["sql"],"type":"object"},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"properties":{"example":{"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-11-28","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.005,"price_match":true,"latency_ms":656,"error":null}],"description_full":"Run one read-only DuckDB SELECT over a Parquet file (table `data`); join up to 7 more artifacts via `tables`.","last_updated":"2026-11-27T19:00:12.316Z","schemes":["exact"]}