{"uid":"cap_XttTvDtRLaeo_2mpT_znI","slug":"halowerk-relaunch-successor-inventory-counter-25767553","name":"Halowerk Relaunch Successor Inventory Counter","description":"An agent that plans a relaunch needs counts of old inventory items with no declared successor or a successor of a different declared function kind.","url":"https://detect.halowerk.com/v1/relaunch/relaunch-successor-inventory?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"artifact":{"type":"object","required":["before","after","successors"],"properties":{"after":{"type":"array","items":{"type":"object","required":["id","kind"],"properties":{"id":{"type":"string","maxLength":16384},"kind":{"type":"string","maxLength":16384}},"additionalProperties":true},"maxItems":2048},"before":{"type":"array","items":{"type":"object","required":["id","kind"],"properties":{"id":{"type":"string","maxLength":16384},"kind":{"type":"string","maxLength":16384}},"additionalProperties":true},"maxItems":2048},"successors":{"type":"object","additionalProperties":true}},"additionalProperties":true}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_MsQCproUj7zSdS80YfJTE","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Counts old inventory items that have no declared successor or whose successor is of a different function kind, to support relaunch planning.","exampleAgentPrompt":"I'm planning a product relaunch and need to know how many of our old inventory items either have no declared successor at all or have a successor that's a completely different kind — can you count those for me given the before list, after list, and successors mapping I have?","exampleUseCases":[{"title":"Orphaned items before go-live","prompt":"Before we launch the new version, I need a count of all the old catalog items that don't have any declared successor in the new inventory — use these before and after item lists and the successors map I've got."},{"title":"Kind-mismatch detection in migration","prompt":"We migrated our component library and I suspect some items got mapped to successors of a completely different kind. Can you count how many before-items have a successor whose kind doesn't match theirs, using this before/after/successors artifact?"},{"title":"Relaunch readiness audit","prompt":"I'm auditing our relaunch readiness and need to know the total number of old items that are either unaccounted for or replaced by something functionally different — here are the before items, after items, and the successor relationships."}],"resultDescription":"Returns counts of old (before) inventory items that either have no declared successor entry or have a successor whose declared function kind differs from the original item's kind, enabling relaunch planners to quantify coverage gaps and kind-shift anomalies.","failureModes":["Missing required artifact fields (before, after, successors) returns a 400 validation error","Items exceeding maxItems (2048) may be truncated or rejected","Malformed id or kind fields may cause item to be skipped or error","Empty before array returns zero counts trivially","Successors map with unrecognized keys may produce unexpected counts","Payment failure or insufficient USDC balance returns 402"],"whenToPreferThis":"Choose this endpoint when you are orchestrating a relaunch workflow and need a precise numeric signal of inventory coverage gaps — specifically items with absent or kind-mismatched successors — rather than a full diff or URL-collision check. It is distinct from sibling endpoints that handle URL normalization collisions or state reachability.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-19T00:40:34.356Z","isFirstParty":false,"canonicalSlug":"halowerk-relaunch-successor-inventory-counter-25767553"}