{"uid":"cap_KbFNbAICskokJ-z8RyL5t","slug":"agent-travel-data-procurement-decision-procedure-3ef744f7","name":"Agent Travel Data Procurement Decision Procedure","description":"Agent-facing decision procedure for buying travel data pay-per-request: when to pay StableTravel-style APIs (Amadeus flights, FlightAware live tracking, hotels, transfers) versus free lookups, budget caps per trip leg and per search, rebooking and refund thresholds, currency and fee checks, and kill criteria that block a purchase when verification fails.","url":"https://k2so-8080.on.ascii.dev/api/services/agent-travel-data-procurement-decision-procedur","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","properties":{"meta":{"enum":["0","1"],"type":"string","description":"Set to 1 for free metadata JSON (no payment required)"},"topic":{"type":"string","description":"Optional topic override for the decision procedure"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","title":"Agent travel data procurement decision procedure paid response","$schema":"https://json-schema.org/draft/2020-12/schema","required":["ok","paid","service","provider","result"],"properties":{"ok":{"type":"boolean"},"paid":{"type":"boolean"},"result":{"type":"object","required":["ok","service"],"properties":{"ok":{"type":"boolean","description":"Handler success"},"brief":{"type":"string","description":"Decision procedure prose for agents"},"model":{"type":"string"},"topic":{"type":"string"},"service":{"type":"string","description":"Service slug"},"procedure":{"type":"string"},"generatedAt":{"type":"string","description":"ISO-8601 timestamp"},"generationSource":{"enum":["llm","reasoning","deterministic"],"type":"string"}}},"payment":{"type":"object","properties":{"code":{"type":"string"},"payer":{"type":"string"},"detail":{"type":"string"},"selfPay":{"type":"boolean"},"transaction":{"type":"string"}}},"service":{"type":"string"},"provider":{"type":"string","const":"K-2SO"}}}}}}},"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_d9yNmwCM6-K_crrQfHN1B","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":"Returns a decision procedure guiding AI agents on when to pay for travel data APIs (flights, hotels, transfers) versus using free lookups, with budget caps, rebooking thresholds, and kill criteria.","exampleAgentPrompt":"Can you pull the travel data procurement decision procedure so I know exactly when to pay for Amadeus flights or FlightAware tracking versus using free lookups, including the budget caps per trip leg and the kill criteria that should block a purchase if verification fails?","exampleUseCases":[{"title":"Pre-trip flight data budget gating","prompt":"Before my agent books anything, I want it to follow the official decision procedure for when to pay for Amadeus flight data versus using free sources — can you fetch that procedure including the per-leg budget caps and verification kill criteria?"},{"title":"Live tracking vs free lookup arbitration","prompt":"My agent needs to decide in real time whether to pay for FlightAware live tracking or fall back to a free lookup — fetch the procurement decision procedure so it knows the exact thresholds and fee checks to apply."},{"title":"Hotel and transfer API spend controls","prompt":"Set up my agent with the decision rules for when it should pay for hotel and transfer API data, including rebooking and refund thresholds and the currency checks it needs to pass before spending anything."}],"resultDescription":"A JSON object containing a prose decision procedure brief for agents (the 'brief' and 'procedure' fields), the service slug, generation source (llm, reasoning, or deterministic), ISO-8601 timestamp, optional topic override, and model identifier — all wrapped in an ok/paid envelope with payment metadata.","failureModes":["Payment not included or insufficient — returns 402 with payment details required","Invalid HTTP method (e.g. POST) — schema only allows GET/HEAD/DELETE","Topic override not recognized — may return generic procedure without domain-specific guidance","Service temporarily unavailable — ok:false with no result body","Meta=1 flag returns free metadata only, not the paid decision procedure content"],"whenToPreferThis":"Choose this endpoint when an AI agent needs authoritative, structured guidance on travel data API procurement decisions — specifically the StableTravel/Amadeus/FlightAware ecosystem — including budget caps, kill criteria, and rebooking thresholds. Prefer it over generic travel search APIs when the goal is agent policy configuration rather than actual booking or data retrieval.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T12:51:29.000Z","isFirstParty":false}