{"slug":"x402-agent-tools-nerolabs-workers-dev-ai-enrich-27ec0a","title":"Applies one plain-English AI instruction to every row of a JSON list (up to 50 r","host":"x402-agent-tools.nerolabs.workers.dev","method":"POST","resource":"https://x402-agent-tools.nerolabs.workers.dev/ai/enrich","category":"search","description":"Applies one plain-English AI instruction to every row of a JSON list (up to 50 rows), such as classify, extract, summarise or score, with {{field}} placeholders, and returns the new columns you define in outputFields for each row. Uses Claude Haiku. $0.002 per row. Runs nerolabs/dataset-ai-enrich.","price_listed":0.002,"price_asked":0.002,"state":"answering","state_label":"Answering","checks_7d":1,"answered_7d":1,"latency_ms_median":39,"reported_calls_30d":0,"reported_payers_30d":0,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"data":[{"id":1,"review":"Battery life is fantastic but the case feels cheap."}],"outputFields":[{"description":"positive, neutral or negative","name":"sentiment","type":"string"}],"prompt":"Classify the sentiment of this review: {{review}}"},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"data":{"description":"A JSON array of records to enrich, for ad-hoc data instead of a dataset ID or file URL.","type":"array"},"includeOriginalFields":{"default":true,"description":"On (default): each output row is the original row plus the new columns. Off: only the new columns (plus aiModel/aiError).","type":"boolean"},"outputFields":{"description":"The new columns the model must fill in for every row, as a JSON list of {\"name\", \"type\", \"description\"}. Types: string (default), number, boolean, array, object. The description tells the model exactly what goes in the column (allowed values, units, language). Leave empty to get one free-text column","type":"array"},"prompt":{"description":"Plain-English instruction applied to each row on its own. Use {{field}} placeholders to insert that row's values (dotted paths like {{address.city}} work). Only the fields you reference are sent to the model; if you reference none, every field is sent. Examples: classify, extract a value, score 1 to","type":"string"},"skipIfEmpty":{"default":true,"description":"On (default): a row with nothing in any {{field}} the instruction uses is written out with 'aiSkipped: true' and never sent to the model or charged.","type":"boolean"},"systemPrompt":{"description":"Optional background the model should know for every row: your industry, the categories you use, the language to answer in, edge-case rules.","type":"string"}},"required":["data","prompt"],"type":"object"},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST"],"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-10-21","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.002,"price_match":true,"latency_ms":39,"error":null}],"description_full":"Applies one plain-English AI instruction to every row of a JSON list (up to 50 rows), such as classify, extract, summarise or score, with {{field}} placeholders, and returns the new columns you define in outputFields for each row. Uses Claude Haiku. $0.002 per row. Runs nerolabs/dataset-ai-enrich.","last_updated":"2026-10-21T14:39:03.856Z","schemes":["exact"]}