{"uid":"cap_MNCCbXWGDcj6G5tlICSTA","slug":"agent-rest-stop-retryafter-lookup-b7f22093","name":"Agent Rest Stop – RetryAfter Lookup","description":"Seconds to wait from a fixed table.","url":"https://agent-gas-station.agent-gas-station.workers.dev/v1/RetryAfter?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"status":{"type":"string"}}},"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_7JlZQH5tKcPCKaxbW6kG6","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":"Returns a fixed number of seconds to wait (retry-after delay) looked up from a static table, given a status input.","exampleAgentPrompt":"I just hit a rate limit with status 'rate_limited' — how many seconds should I wait before retrying according to the fixed retry table?","exampleUseCases":[{"title":"Backoff timing for rate-limited agent","prompt":"My agent just received a rate_limited status — look up the fixed retry-after delay from the table so I know how long to pause before trying again."},{"title":"Retry scheduling after service error","prompt":"I got a 'service_unavailable' status from a downstream call — what does the retry table say about how many seconds to wait before I attempt it again?"},{"title":"Automated pause between agent tool calls","prompt":"Before my agent retries a failed request with status 'too_many_requests', can you check the fixed wait table and tell me the exact number of seconds it should sleep?"}],"resultDescription":"A fixed number of seconds (wait duration) that the agent or caller should pause before retrying, sourced from a static lookup table keyed by the provided status value.","failureModes":["Unknown or unrecognized status string may return null, zero, or a default value","Malformed request body (missing or wrong type for 'status') may return a 400 error","If the table is not populated for the given status, the response may be empty or undefined","Network or worker errors may result in a 5xx response with no delay value"],"whenToPreferThis":"Use this endpoint when your agent needs a deterministic, pre-configured retry-after delay sourced from a fixed table rather than computing backoff dynamically or reading it from a response header. It is particularly useful in orchestration flows where consistent, predictable wait durations per status are required across multiple tool calls or agent steps.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-31T18:40:44.014Z","isFirstParty":false,"canonicalSlug":"agent-rest-stop-retryafter-lookup-b7f22093"}