{"uid":"cap_0cjihxrAydx943UyjVJ4E","slug":"forest-web-openapi-payload-validator-ba8fbf69","name":"Forest Web – OpenAPI Payload Validator","description":"Machine-readable contract for active Forest paid capabilities. Unsigned paid calls return HTTP 402 with a PAYMENT-REQUIRED x402 challenge.","url":"https://http--forest-gas-station-mainnet--lcjl27p8lmjs.code.run/openapi/payload-validate?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"url":{"type":"string","pattern":"^https?://","maxLength":2048,"minLength":1,"description":"Public HTTP(S) URL to inspect, resolve, or compare."},"part":{"enum":["request","response"],"description":"Public part value used to scope this lookup."},"path":{"type":"string","pattern":"^/","maxLength":2048,"minLength":1,"description":"Repository file path whose public metadata should be checked."},"method":{"enum":["GET","POST","PUT","PATCH","DELETE","HEAD","OPTIONS","TRACE"],"type":"string","description":"HTTP method for the bounded public probe."},"status":{"type":"string","pattern":"^[1-5]\\d\\d$","description":"Public status value used to scope this lookup."},"payload":{"description":"Public payload value used to scope this lookup."}}},"responseSchema":{"type":"json","example":{"ok":true,"data":{"url":"example","found":false,"scope":"documented_schema_validation_only_no_api_execution","valid":false,"version":"example","requested":{"part":"request","path":"example","method":"GET","status":"example"},"truncated":false,"violations":[],"parse_valid":false,"content_type":"example","schema_scope":"forest_bounded_json_schema_subset_v1","schema_state":"validated","matched_status":"example","schema_present":false,"operation_count":0,"violation_count":0,"unsupported_keywords":[]},"meta":{"cache":"miss","provider":"openapi-parser","checked_at":"2026-01-01T00:00:00.000Z","duration_ms":0},"version":"1","capability":"openapi.payload-validate"}},"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_tDGbulgYK38T7cADAoL2z","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":"Validates a single JSON request or response payload against the documented JSON schema for a specific OpenAPI or Swagger operation path and method.","exampleAgentPrompt":"Can you validate this JSON payload as the request body for the POST /users endpoint defined in my OpenAPI spec at https://api.example.com/openapi.json and tell me if it conforms to the schema?","exampleUseCases":[{"title":"Pre-flight request body check","prompt":"Before I send this JSON to the API, can you validate it as a POST request body against the OpenAPI spec at https://petstore3.swagger.io/api/v3/openapi.json for the /pet path and tell me if there are any schema errors?"},{"title":"Response conformance audit","prompt":"I got a 200 response from the GET /orders/{id} endpoint — here's the JSON payload. Can you check it against the swagger spec at https://myapi.example.com/swagger.json to see if the response actually matches what the spec documents?"},{"title":"CI schema regression check","prompt":"As part of our build pipeline, validate this JSON as the PATCH /accounts/{id} request body against the spec at https://internal.example.com/openapi.yaml and flag any fields that violate the documented schema."}],"resultDescription":"A validation result indicating whether the supplied JSON payload conforms to the JSON schema extracted from the specified OpenAPI/Swagger operation. Includes any validation errors, mismatched fields, missing required properties, or type violations found in the payload relative to the documented schema.","failureModes":["Spec URL is not publicly accessible or returns non-200 — fetch fails","Spec is not valid OpenAPI or Swagger format — parsing error returned","Path or method combination not found in the spec — operation not found error","Status code not documented for the given operation — scope resolution fails","Payload contains deeply nested or recursive references that exceed bounded resolution — truncated validation","Invalid JSON payload supplied — parse error before validation begins"],"whenToPreferThis":"Choose this endpoint when you need deterministic, schema-level validation of a single JSON payload against a specific OpenAPI or Swagger operation without actually invoking the described API. It is ideal for pre-flight checks before sending requests, CI/CD regression tests, response conformance audits, and agent pipelines that need to verify payload structure before trusting or forwarding data. Prefer this over general JSON Schema validators when you want automatic schema extraction from a live OpenAPI spec URL rather than supplying a schema manually.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-10T12:36:49.665Z","isFirstParty":false,"canonicalSlug":"forest-web-openapi-payload-validator-ba8fbf69"}