{"uid":"cap_R8LHTHdMbE6CdagkOxXEX","slug":"color-swatches-exact-row-deduplication-and-secondary-measure-weighted-bfc8492f","name":"Color Swatches Exact Row Deduplication and Secondary-Measure Weighted Mean","description":"Color swatches — Exact row deduplication + Secondary-measure weighted mean: Exact row deduplication + Secondary-measure weighted mean for supplied color swatches records (luminance, chroma). 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.","url":"https://market.datapackvibe.com/x402/assistant-ib26-creative-20-051?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["row_id","asset_group","date","luminance","chroma"],"properties":{"date":{"type":"string","default":"","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10},"chroma":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"row_id":{"type":"string","default":"","maxLength":80,"minLength":1},"luminance":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"asset_group":{"type":"string","default":"","maxLength":80}},"additionalProperties":false},"default":[{"date":"2026-10-01","chroma":1,"row_id":"row-1","luminance":10,"asset_group":"group-a"},{"date":"2026-10-02","chroma":2,"row_id":"row-2","luminance":20,"asset_group":"group-b"},{"date":"2026-10-03","chroma":3,"row_id":"row-3","luminance":15,"asset_group":"group-a"},{"date":"2026-10-04","chroma":4,"row_id":"row-4","luminance":30,"asset_group":"group-b"}],"maxItems":200,"minItems":1},"field":{"enum":["luminance","chroma"],"type":"string","default":"luminance"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_iXkJ0ZRgydeANvl7lVizu","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Deduplicates exact rows and computes a secondary-measure weighted mean for color swatch records (luminance, chroma) — delivering two analytical reports from supplied data.","exampleAgentPrompt":"I have a dataset of color swatch records with luminance and chroma values — can you deduplicate exact duplicate rows and compute the chroma-weighted mean of luminance across up to 200 rows, and give me both reports?","exampleUseCases":[{"title":"Clean duplicate swatch entries for design system","prompt":"I have 150 color swatch rows with luminance and chroma measurements and I suspect there are duplicate entries — can you deduplicate them exactly and also give me the chroma-weighted mean of luminance for my design system audit?"},{"title":"Aggregate color metrics by asset group","prompt":"Here are my color swatch records grouped by asset-group tags with luminance and chroma values — please remove any exact duplicate rows and compute the luminance-weighted mean using chroma as the secondary measure so I can compare groups."},{"title":"Quality check swatch data before palette export","prompt":"Before I export my color palette, can you run an exact row deduplication and a secondary-measure weighted mean report on these swatch measurements — the field I care about is chroma — for up to 80 rows across groups like group-a and group-b?"}],"resultDescription":"Returns two analytical reports on the supplied color swatch data: (1) a deduplicated set of rows after removing exact duplicates, and (2) a secondary-measure weighted mean for the selected field (luminance or chroma), computed locally without any external lookup or live data.","failureModes":["Input rows exceed 200 item limit — request will be rejected","Missing required fields (row_id, asset_group, date, luminance, chroma) cause validation errors","Invalid date format (must be YYYY-MM-DD) triggers schema error","Numeric values outside ±1,000,000,000,000 range are rejected","Empty rows array (minItems:1 not satisfied) returns error","All rows are duplicates — deduplication report may return single or zero rows"],"whenToPreferThis":"Choose this endpoint when you have up to 200 color swatch records with luminance and chroma measurements and need both exact row deduplication and a secondary-measure weighted mean in a single call. It is ideal for creative asset pipelines, design system audits, or color data quality checks where no live lookup or external data is needed — just local computation on supplied rows at minimal cost ($0.01 USDC for two reports).","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-25T12:34:07.314Z","isFirstParty":false,"canonicalSlug":"color-swatches-exact-row-deduplication-and-secondary-measure-weighted-bfc8492f"}