{"uid":"cap_757yHk4zzPwdHaJG4aGx8","slug":"replicate-via-locus-x402-get-prediction-fbdbd5c8","name":"Replicate via Locus x402 — Get Prediction","description":"Locus public pay-per-use API","url":"https://replicate.x402.paywithlocus.com/replicate/get-prediction?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"prediction_id":{"type":"string"}}},"responseSchema":{"type":"json","example":{"data":{},"payment":{"scheme":"exact","settledUsdc":"0.001000","authorizedMaxUsdc":"0.001000"},"request":{"id":"00000000-0000-4000-8000-000000000000","statusUrl":"/requests/00000000-0000-4000-8000-000000000000"},"success":true}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":1,"rating":{"score":"1.00","successRate":"1.00","reviews":1,"stars":"5.0","state":"rated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_8T64aW2Gq8JsETodQleaV","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Retrieves the result of a previously submitted AI model prediction job by its prediction ID","exampleAgentPrompt":"Check the result of my Replicate prediction — the prediction ID is 'abc123xyz'.","exampleUseCases":[{"title":"Polling image generation result","prompt":"I submitted an image generation job to Replicate earlier and got back prediction ID 'img-pred-7f3a2b'. Can you fetch the result and show me what came back?"},{"title":"Retrieving speech transcription output","prompt":"My speech recognition model run on Replicate finished — the prediction ID is 'stt-pred-99c4d1'. Go get the transcription result for me."},{"title":"Checking language model completion","prompt":"I kicked off a language model prediction on Replicate with ID 'llm-pred-4e8f21'. Has it finished? If so, what did the model output?"}],"resultDescription":"Returns a JSON object containing the prediction output data under a 'data' field, along with payment settlement details (USDC amounts authorized and settled), a request ID, a status URL for tracking, and a success flag indicating whether the retrieval was successful.","failureModes":["Invalid or unknown prediction_id returns an error or empty data","Prediction still in progress returns incomplete or null output data","Payment failure prevents retrieval","Network timeout if the upstream Replicate API is slow","Malformed prediction_id causes a 400-level error"],"whenToPreferThis":"Use this endpoint after calling the Replicate run endpoint to start a prediction — this is the polling/retrieval step that fetches results once the async job completes. Prefer this over resubmitting a new prediction job when you already have a prediction_id. It is the correct follow-up in a run-then-poll async workflow for any Replicate-hosted model.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":21,"lastUsedAt":"2026-08-18T23:16:32.888Z","lastSuccessfullyRanAt":"2026-08-18T23:16:32.888Z","lastHealthCheckAt":"2026-10-10T18:37:02.452Z","isFirstParty":false,"canonicalSlug":"replicate-via-locus-x402-get-prediction-fbdbd5c8"}