{"uid":"cap_wsRe5rlAOSdN0zA4VPt48","slug":"study-recruitment-duplicate-key-report-trailing-mean-series-88328f19","name":"Study Recruitment Duplicate Key Report + Trailing Mean Series","description":"Study recruitment — Duplicate key report + Trailing mean series: Duplicate key report + Trailing mean series for supplied study recruitment records (eligible_candidates, enrolled_candidates). 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-education-09-061?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["row_id","course_group","date","eligible_candidates","enrolled_candidates"],"properties":{"date":{"type":"string","default":"","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10},"row_id":{"type":"string","default":"","maxLength":80,"minLength":1},"course_group":{"type":"string","default":"","maxLength":80},"eligible_candidates":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"enrolled_candidates":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000}},"additionalProperties":false},"default":[{"date":"2026-10-01","row_id":"row-1","course_group":"group-a","eligible_candidates":10,"enrolled_candidates":1},{"date":"2026-10-02","row_id":"row-2","course_group":"group-b","eligible_candidates":20,"enrolled_candidates":2},{"date":"2026-10-03","row_id":"row-3","course_group":"group-a","eligible_candidates":15,"enrolled_candidates":3},{"date":"2026-10-04","row_id":"row-4","course_group":"group-b","eligible_candidates":30,"enrolled_candidates":4}],"maxItems":200,"minItems":1},"field":{"enum":["eligible_candidates","enrolled_candidates"],"type":"string","default":"eligible_candidates"},"window":{"type":"integer","default":2,"maximum":200,"minimum":2}}},"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_jXuiZw6L7WPwJbPCPG7de","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":"Analyzes supplied study recruitment data (eligible_candidates, enrolled_candidates) to produce a duplicate key report and a trailing moving-average series for up to 200 rows.","exampleAgentPrompt":"Check my study recruitment data for duplicate row IDs and also calculate a trailing mean with a window of 3 for eligible_candidates — here are 10 rows with date, row_id, course_group, eligible_candidates, and enrolled_candidates.","exampleUseCases":[{"title":"Clinical trial enrollment data audit","prompt":"I have 150 rows of clinical trial recruitment records with columns row_id, course_group, date, eligible_candidates, and enrolled_candidates — can you run a duplicate key check on them and also compute a trailing mean series with a window of 5 for enrolled_candidates?"},{"title":"Education program candidate trend analysis","prompt":"Here's my dataset of 80 education program recruitment entries across several course groups — please find any duplicate row IDs and generate a rolling average with window size 4 for eligible_candidates so I can spot enrollment trends."},{"title":"Research study data quality check before reporting","prompt":"Before I submit my study recruitment report, can you verify there are no duplicate keys in my 60-row dataset and also show me a trailing mean series with window 2 for eligible_candidates to smooth out the noise?"}],"resultDescription":"Returns two independent analytical reports: (1) a duplicate key report identifying any repeated row_id values across the supplied rows, and (2) a trailing mean series showing the moving average of the selected numeric field (eligible_candidates or enrolled_candidates) over the specified window size, covering up to 200 input rows.","failureModes":["More than 200 rows submitted — request rejected, only up to 200 rows supported","Missing required fields (row_id, date, course_group, eligible_candidates, enrolled_candidates) causes validation error","Invalid date format (not YYYY-MM-DD) causes schema validation failure","Window size outside 2–200 range causes rejection","field value not one of the allowed enum values (eligible_candidates, enrolled_candidates) causes error","Empty rows array causes error due to minItems:1 constraint"],"whenToPreferThis":"Choose this endpoint when you need both a duplicate key detection report and a trailing moving-average series computed together on study recruitment data in a single API call, saving cost compared to two separate calls. Ideal for researchers or analysts who have already collected their candidate data locally and want lightweight, serverless statistical summaries without any external lookups or predictions.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-25T12:34:03.532Z","isFirstParty":false,"canonicalSlug":"study-recruitment-duplicate-key-report-trailing-mean-series-88328f19"}