{"uid":"cap_yzJSniT-geFIscMuOKE4w","slug":"api-the402-ai-a5e398d2","name":"Agent Cost Forensics","description":"Purchase: Agent Cost Forensics","url":"https://api.the402.ai/v1/services/svc_8d66a5fc802a472d/purchase","method":"POST","headers":{},"bodySchema":{"type":"object","required":["id"],"properties":{"id":{"type":"string"}}},"responseSchema":{"type":"object","properties":{"job_id":{"type":"string"},"status":{"type":"string"},"thread_id":{"type":"string"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"5.25","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"unknown","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"down","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$5.25/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"5.25","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"5.25","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_PWvtWQFrB4Y9pq8QJ1xFq","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"5.25","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Purchases an AI agent cost forensics analysis job that examines and breaks down the cost components of running AI agents","exampleAgentPrompt":"Run a cost forensics analysis on my AI agent workload — I want a detailed breakdown of where the spending is going across all agent operations so I can identify what's driving up costs.","exampleUseCases":null,"resultDescription":"Returns a job_id for the newly created cost forensics analysis job, a status string indicating the job state (e.g. queued/running), and a thread_id that can be used to track progress or retrieve results via the job status endpoint.","failureModes":["Insufficient USDC balance or payment failure — payment of $5.25 USDC required per call","Invalid or missing input parameters result in a 400 error","Service unavailable or internal error returns 500","Job creation failure — job_id not returned, retry may be needed","Rate limiting or quota exceeded for the calling agent identity"],"whenToPreferThis":"Choose this endpoint when you need a structured, asynchronous forensic breakdown of AI agent costs — particularly when you suspect cost overruns, want to audit spending patterns, or need to optimize agent operational efficiency. Prefer over generic logging or monitoring tools when the output needs to be specifically framed around agent cost attribution.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T12:55:13.597Z","isFirstParty":false}