{"uid":"cap_wp76USWVfIz_1UFBMV5Ow","slug":"vibes-coded-agent-usage-key-management-api-3e37a9c0","name":"Vibes-Coded Agent Usage & Key Management API","description":"Pay-per-call JSON for AI agents: skill search, listing optimization, install plans, productization, and artifact risk scoring. HTTP 402 → USDC. Full skill marketplace on-site.","url":"https://vibes-coded.com/api/v1/outcomes/agent-usage?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":null,"responseSchema":{"type":"json","example":{"ok":true,"keys":[{"key":"vb_6e37e1ff…","kind":"paid","calls":38,"expires_at":null,"balance_cents":10},{"key":"vb_trial9a…","kind":"trial","calls":3,"expires_at":"2026-08-19T20:00:00Z","balance_cents":2}],"trial":{"calls":3,"expires_at":"2026-08-19T20:00:00Z","balance_cents":2},"resource":"agent-usage","key_count":2,"owner_key":"agent-42","top_spend":[{"slug":"action-receipt","calls":12,"cents":24},{"slug":"web-search","calls":9,"cents":18}],"next_steps":["Fund: POST /api/v1/outcomes/balance/fund (min $1 USDC)","Day-pass: POST /api/v1/outcomes/day-pass (~$0.50, guards 24h)","Revoke: POST /api/v1/outcomes/balance/revoke"],"total_calls":41,"generated_at":"2026-08-16T20:00:00Z","total_balance_cents":12}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","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.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_n6kyyoRsTyGVrtmos8t5N","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns an AI agent's current API key status, call history, balance, and top spending breakdown for the Vibes-Coded skill marketplace.","exampleAgentPrompt":"Show me my current Vibes-Coded usage — which skills I've called the most, how many credits I have left, and whether any of my keys are about to expire.","exampleUseCases":[{"title":"Monitor agent spending and key health","prompt":"Check my Vibes-Coded account for agent-42 and tell me how many calls I've made, how much balance I have left, and which skill slugs are costing me the most."},{"title":"Verify trial key before production run","prompt":"Before I kick off this automation, check whether my Vibes-Coded trial key is still active and how many free calls remain on it."},{"title":"Decide whether to fund or revoke a key","prompt":"Look up my Vibes-Coded usage status and let me know if I should top up my balance or revoke any old keys based on what's been spent."}],"resultDescription":"Returns a JSON object containing all API keys (paid and trial) with call counts, balances in cents, expiry timestamps, the top-spending skill slugs with call and cost breakdowns, total calls, total balance, and recommended next actions such as funding, day-pass purchase, or key revocation.","failureModes":["Invalid or missing owner_key returns an authentication error","Unknown agent identifier returns an empty or 404 response","HTTP 402 returned if the call itself is unpaid (requires USDC payment via x402 protocol)","Stale or expired session may return outdated balance data","Rate limiting or network errors may result in 5xx responses"],"whenToPreferThis":"Use this endpoint when an agent needs to audit its own Vibes-Coded account state — checking key validity, remaining credits, spending patterns, or deciding whether to fund, renew, or revoke access — rather than initiating a new skill call or purchasing a service.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-10T18:32:24.307Z","isFirstParty":false,"canonicalSlug":"vibes-coded-agent-usage-key-management-api-3e37a9c0"}