# agent402.tools CSV Profile Workflow

> agent402.tools CSV Profile Workflow is a paid API for AI agents from agent402.tools, paid per call via x402, $0.05/call, status unknown (last checked 2026-09-14).

Profiles a CSV dataset column-by-column, returning descriptive stats, outlier detection, pairwise correlations, and a baseline linear regression in one bundled call

## Facts

- Endpoint: POST https://agent402.tools/api/skill/csv-profile
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agent402-tools-csv-profile-workflow-301bbad0
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_R_t5do4awNw_qJzrJr_xy

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability agent402-tools-csv-profile-workflow-301bbad0 -d '<json body>'
```

Example prompt: Can you profile this CSV I'm pasting — treat 'revenue' as the primary column and 'cost' as the second, and give me descriptive stats, any outliers, and a regression between them?

## When to prefer this

Use this endpoint when you need a comprehensive, one-shot exploratory data analysis of a CSV dataset without writing code — it bundles stats, outliers, correlations, and regression in a single paid call. Prefer it over manual or step-by-step approaches when you want a deterministic 'what's in this dataset?' workup quickly and cheaply at $0.05 per call.

## Known failure modes

- CSV exceeds 500KB limit — payload too large error
- columnA or columnB names don't match any header in the CSV — column not found error
- CSV is malformed or missing headers — parse error
- Non-numeric data in specified columns — computation error
- Empty CSV body — validation error

## How this service works

Bundled execution of the CSV profile workflow - Hand the pack a CSV and get back a column-by-column profile: descriptive stats, outliers, pairwise correlations, and a baseline linear regression. The deterministic 'what's in this dataset?' workup b...

## Output

Returns a structured breakdown per column including descriptive statistics (mean, median, std dev, min/max), identified outliers, pairwise correlation coefficients between columns, and a baseline linear regression summary (slope, intercept, R²) for the two specified numeric columns.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "csv": {
   "type": "string",
   "description": "Raw CSV text (max 500KB; first row is treated as the header)"
  },
  "columnA": {
   "type": "string",
   "description": "Primary numeric column to profile in depth (e.g. revenue)"
  },
  "columnB": {
   "type": "string",
   "description": "Second numeric column for correlation + regression (e.g. cost)"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "args": {
   "csv": "year,revenue,cost\n2022,1000,800\n2023,1500,1100\n2024,2100,1400",
   "columnA": "revenue",
   "columnB": "cost"
  },
  "pack": "csv-profile",
  "steps": [
   {
    "ok": true,
    "slug": "csv-to-json",
    "result": {}
   },
   {
    "ok": true,
    "slug": "json-query",
    "result": {}
   },
   {
    "ok": true,
    "slug": "stats-summary",
    "result": {}
   },
   {
    "ok": true,
    "slug": "outliers",
    "result": {}
   },
   {
    "ok": true,
    "slug": "correlation",
    "result": {}
   },
   {
    "ok": true,
    "slug": "linear-regression",
    "result": {}
   }
  ],
  "summary": "6/6 steps succeeded"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agent402-tools-csv-profile-workflow-301bbad0/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agent402.tools](https://www.zero.xyz/host/agent402.tools/llms.txt)
