{
  "format": "delx/intent-card/v1",
  "id": "csv-filter-rows-api",
  "intent": "CSV Filter Rows for an agent workflow",
  "title": "CSV Filter Rows API for agents",
  "description": "CSV Filter Rows: CSV Filter Rows keeps CSV rows whose column equals one of caller values from bounded caller-supplied values without an external provider. Call CSV Filter Rows before an agent hands structured data or a batch plan to a downstream tool with a stricter contract. Returns the bounded transformation or validation finding with counts, normalized values, and a versioned result contract for CSV Filter Rows as versioned deterministic JSON. Price: $0.001 USDC via x402 on Base. First-party, stateless, memory-only execution with no paid upstream, live RPC, web search, credentials, custody, signing, media generator, or input retention. Honest limit: Processes bounded caller-supplied data in memory only; it performs no file fetch, database write, code execution, or retention. Advisory output only; the buyer owns authorization, payment policy, and production decisions.",
  "keywords": [
    "CSV Filter Rows API",
    "CSV Filter Rows for agents",
    "pay per result API",
    "x402 API",
    "no API key"
  ],
  "updated_at": "2026-08-23",
  "canonical_url": "https://commerce.delx.ai/intents/csv-filter-rows-api",
  "machine_url": "https://commerce.delx.ai/intents/csv-filter-rows-api.json",
  "recommendation": {
    "tool_name": "util_csv_filter_rows",
    "service_name": "CSV Filter Rows",
    "method": "POST",
    "resource": "https://api.delx.ai/api/v1/x402/csv-filter-rows",
    "price_usdc": "0.001",
    "payment_protocols": [
      "x402",
      "mpp"
    ],
    "input_schema": {
      "$schema": "https://json-schema.org/draft/2020-12/schema",
      "type": "object",
      "properties": {
        "text": {
          "type": "string",
          "maxLength": 8192,
          "description": "Text supplied to CSV Filter Rows; used only for this bounded calculation and processed in memory without retention."
        },
        "column": {
          "type": "string",
          "maxLength": 8192,
          "description": "Column supplied to CSV Filter Rows; used only for this bounded calculation and processed in memory without retention."
        },
        "allowed": {
          "type": "array",
          "maxItems": 256,
          "items": {
            "type": "string",
            "maxLength": 8192
          },
          "description": "Allowed supplied to CSV Filter Rows; used only for this bounded calculation and processed in memory without retention."
        }
      },
      "required": [
        "text",
        "column",
        "allowed"
      ],
      "additionalProperties": false
    },
    "example_input": {
      "text": "id,status\n1,ok\n2,bad",
      "column": "status",
      "allowed": [
        "ok"
      ]
    },
    "example_output": {
      "schema": "delx/util-csv-filter-rows/v1",
      "operation": "data_batch:csv_filter_rows",
      "status": "pass",
      "result": {
        "csv": "id,status\n1,ok",
        "row_count": 1
      },
      "evidence": {
        "input_sha256": "07a9a4966734b751aa1a99dbb6de90bbea45144ddd02a441e568987a6e041371",
        "retained": false,
        "external_calls": 0
      }
    },
    "agentcash": {
      "buy": "npx agentcash@latest fetch https://api.delx.ai/api/v1/x402/csv-filter-rows -m POST -H 'x-delx-source: intent-card-csv-filter-rows-api' --max-amount 0.001 -b '{\"text\":\"id,status\\n1,ok\\n2,bad\",\"column\":\"status\",\"allowed\":[\"ok\"]}'",
      "max_amount_usdc": "0.001"
    }
  },
  "attribution": {
    "header": "x-delx-source",
    "value": "intent-card-csv-filter-rows-api"
  },
  "evidence": {
    "paid_openapi": "https://api.delx.ai/openapi.x402.json",
    "governed_portfolio": "https://api.delx.ai/x402-portfolio.json",
    "live_contract": "https://api.delx.ai/api/v1/x402/csv-filter-rows"
  }
}
