# Lighting Setups — Two-Measure Correlation + Date by Category Pivot

> Lighting Setups — Two-Measure Correlation + Date by Category Pivot is a paid API for AI agents from market.datapackvibe.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-22).

Computes a Pearson correlation between light_count and render_seconds, plus a date-by-category pivot table, for up to 200 supplied lighting setup records.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-ib26-creative-11-182?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-22
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/lighting-setups-two-measure-correlation-date-by-category-pivot-da15db8a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_5V8iVuIXJDvYVibVHRnzv

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 lighting-setups-two-measure-correlation-date-by-category-pivot-da15db8a -d '<json body>'
```

Example prompt: I have lighting setup records with light_count and render_seconds for up to 200 rows across several asset groups and dates — can you run a two-measure correlation between light_count and render_seconds, and also give me a date-by-category pivot, using light_count as the primary field?

## When to prefer this

Choose this endpoint when you have up to 200 lighting setup records and need both a correlation analysis between two numeric measures (light_count and render_seconds) and a date-by-category pivot in a single low-cost call. It is purpose-built for 3D/CG production analytics on supplied data with no external data access, making it ideal for pipeline audits, render optimization studies, and scene performance reviews.

## Known failure modes

- Fewer than 1 row supplied — returns validation error
- More than 200 rows supplied — exceeds maxItems limit, request rejected
- Missing required fields (row_id, date, asset_group, light_count, render_seconds) — schema validation error
- Date field does not match YYYY-MM-DD pattern — validation error
- Null values in both measures for all rows — correlation cannot be computed, may return NaN or error
- Invalid enum value for 'field' parameter — schema validation error

## How this service works

Lighting setups — Two-measure correlation + Date by category pivot: Two-measure correlation + Date by category pivot for supplied lighting setups records (light_count, render_seconds). Up to 200 rows; 2 independent reports using shared local analytical engines. No live lookup, prediction, professional assessment or external action. 0.01 USDC includes 2 supplied-data reports for up to 200 rows.

## Output

Returns two independent analytical reports: (1) a two-measure Pearson-style correlation result between light_count and render_seconds across the supplied rows, and (2) a date-by-category pivot table grouping the chosen field (light_count or render_seconds) by date and asset_group. Both reports are computed locally from the supplied data with no external lookups.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "rows": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "row_id",
     "asset_group",
     "date",
     "light_count",
     "render_seconds"
    ],
    "properties": {
     "date": {
      "type": "string",
      "default": "",
      "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
      "maxLength": 10
     },
     "row_id": {
      "type": "string",
      "default": "",
      "maxLength": 80,
      "minLength": 1
     },
     "asset_group": {
      "type": "string",
      "default": "",
      "maxLength": 80
     },
     "light_count": {
      "type": [
       "number",
       "null"
      ],
      "maximum": 1000000000000,
      "minimum": -1000000000000
     },
     "render_seconds": {
      "type": [
       "number",
       "null"
      ],
      "maximum": 1000000000000,
      "minimum": -1000000000000
     }
    },
    "additionalProperties": false
   },
   "default": [
    {
     "date": "2026-10-01",
     "row_id": "row-1",
     "asset_group": "group-a",
     "light_count": 10,
     "render_seconds": 1
    },
    {
     "date": "2026-10-02",
     "row_id": "row-2",
     "asset_group": "group-b",
     "light_count": 20,
     "render_seconds": 2
    },
    {
     "date": "2026-10-03",
     "row_id": "row-3",
     "asset_group": "group-a",
     "light_count": 15,
     "render_seconds": 3
    },
    {
     "date": "2026-10-04",
     "row_id": "row-4",
     "asset_group": "group-b",
     "light_count": 30,
     "render_seconds": 4
    }
   ],
   "maxItems": 200,
   "minItems": 1
  },
  "field": {
   "enum": [
    "light_count",
    "render_seconds"
   ],
   "type": "string",
   "default": "light_count"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/lighting-setups-two-measure-correlation-date-by-category-pivot-da15db8a/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from market.datapackvibe.com](https://www.zero.xyz/host/market.datapackvibe.com/llms.txt)
