{
  "openapi": "3.1.0",
  "info": {
    "title": "appsflyer.com API",
    "version": "1.0.0",
    "description": "APIs this website offers to AI agents. No credential is required."
  },
  "servers": [
    {
      "url": "https://appsflyer.com"
    }
  ],
  "paths": {"/ask":{"get":{"security":[],"servers":[{"url":"https://appsflyer.com"}],"operationId":"askPublishedWebsiteGet","summary":"Retrieve published website evidence","description":"Ora GET convenience adapter for NLWeb list retrieval. Use POST for the canonical envelope and context. JSON is the default.","parameters":[{"name":"query","in":"query","required":true,"schema":{"type":"string","minLength":1,"maxLength":2000}},{"name":"site","in":"query","required":false,"schema":{"type":"string","description":"Consistency assertion against the authenticated website."}},{"name":"mode","in":"query","required":false,"schema":{"type":"string","default":"list"}},{"name":"streaming","in":"query","required":false,"schema":{"type":"boolean","default":false}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":20,"default":5}},{"name":"query_id","in":"query","required":false,"schema":{"type":"string","minLength":1,"maxLength":128}}],"responses":{"200":{"description":"NLWeb answer with retrieved evidence and source provenance, or application failure.","content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","anyOf":[{"type":"object","properties":{"_meta":{"type":"object","properties":{"version":{"type":"string","const":"0.55"},"request_id":{"type":"string"},"response_type":{"type":"string","const":"answer"},"response_format":{"type":"string","const":"conversational_search"},"release":{"type":"object","properties":{"id":{"type":"string"}},"required":["id"],"additionalProperties":false}},"required":["version","response_type","response_format","release"],"additionalProperties":{}},"results":{"minItems":1,"maxItems":20,"type":"array","items":{"type":"object","properties":{"@type":{"type":"string","const":"WebPage"},"url":{"type":"string","format":"uri"},"name":{"type":"string"},"site":{"type":"string"},"score":{"type":"number"},"description":{"type":"string"},"grounding":{"type":"object","properties":{"evidence":{"minItems":1,"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"documentId":{"type":"string"},"url":{"type":"string","format":"uri"},"text":{"type":"string"},"start":{"type":"integer","minimum":0,"maximum":9007199254740991},"end":{"type":"integer","minimum":0,"maximum":9007199254740991},"view":{"type":"string","enum":["origin","published"]},"context":{"type":"object","properties":{"profile":{"type":"string","const":"adjacent-passages-v1"},"anchorStart":{"type":"integer","minimum":0,"maximum":9007199254740991},"anchorEnd":{"type":"integer","minimum":0,"maximum":9007199254740991},"passageIds":{"minItems":1,"maxItems":3,"type":"array","items":{"type":"string"}}},"required":["profile","anchorStart","anchorEnd","passageIds"],"additionalProperties":false}},"required":["id","documentId","url","text","start","end","view"],"additionalProperties":false}}},"required":["evidence"],"additionalProperties":false}},"required":["@type","url","name","site","score","description","grounding"],"additionalProperties":false}}},"required":["_meta","results"],"additionalProperties":false},{"type":"object","properties":{"_meta":{"type":"object","properties":{"version":{"type":"string","const":"0.55"},"request_id":{"type":"string"},"response_type":{"type":"string","const":"failure"}},"required":["version","response_type"],"additionalProperties":{}},"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"status":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"retry_after":{"type":"number"}},"required":["code","message"],"additionalProperties":false}},"required":["_meta","error"],"additionalProperties":false}]}},"text/event-stream":{"schema":{"type":"string","description":"Named NLWeb start/result/error/complete events; one indexed item per result."}}}},"400":{"description":"Malformed NLWeb request."},"403":{"description":"Request Origin is not this website."},"404":{"description":"Domain querying is disabled or no eligible publication exists."},"406":{"description":"Accept does not allow the requested response transport."},"429":{"description":"Shared query allowance exhausted.","headers":{"Retry-After":{"schema":{"type":"integer","minimum":1},"description":"Seconds until retry."}}},"503":{"description":"Query service or admission unavailable."},"504":{"description":"Query deadline exceeded."}}},"post":{"security":[],"servers":[{"url":"https://appsflyer.com"}],"operationId":"askPublishedWebsitePost","summary":"Retrieve published website evidence","description":"NLWeb v0.55 synchronous list/conversational_search profile. JSON by default; prefer.streaming selects named SSE events. Unsupported modes/formats return HTTP 200 failure envelopes. No promises or await.","requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"query":{"type":"object","properties":{"text":{"type":"string","minLength":1,"maxLength":2000},"site":{"type":"string","minLength":1,"maxLength":253}},"required":["text"],"additionalProperties":{}},"context":{"type":"object","properties":{"@type":{"type":"string"},"prev":{"type":"array","items":{"type":"string"}},"text":{"type":"string"},"memory":{"type":"string"}},"additionalProperties":{}},"prefer":{"type":"object","properties":{"streaming":{"type":"boolean"},"response_format":{"type":"string"},"mode":{"type":"string"},"accept-language":{"type":"string"},"user-agent":{"type":"string"},"limit":{"type":"integer","minimum":1,"maximum":20}},"additionalProperties":{}},"meta":{"type":"object","properties":{"version":{"type":"string"},"session_context":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"user":{"anyOf":[{"type":"string"},{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}]},"remember":{"type":"boolean"},"request_id":{"type":"string","minLength":1,"maxLength":128}},"additionalProperties":{}}},"required":["query"],"additionalProperties":{}}}}},"responses":{"200":{"description":"NLWeb answer with retrieved evidence and source provenance, or application failure.","content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","anyOf":[{"type":"object","properties":{"_meta":{"type":"object","properties":{"version":{"type":"string","const":"0.55"},"request_id":{"type":"string"},"response_type":{"type":"string","const":"answer"},"response_format":{"type":"string","const":"conversational_search"},"release":{"type":"object","properties":{"id":{"type":"string"}},"required":["id"],"additionalProperties":false}},"required":["version","response_type","response_format","release"],"additionalProperties":{}},"results":{"minItems":1,"maxItems":20,"type":"array","items":{"type":"object","properties":{"@type":{"type":"string","const":"WebPage"},"url":{"type":"string","format":"uri"},"name":{"type":"string"},"site":{"type":"string"},"score":{"type":"number"},"description":{"type":"string"},"grounding":{"type":"object","properties":{"evidence":{"minItems":1,"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"documentId":{"type":"string"},"url":{"type":"string","format":"uri"},"text":{"type":"string"},"start":{"type":"integer","minimum":0,"maximum":9007199254740991},"end":{"type":"integer","minimum":0,"maximum":9007199254740991},"view":{"type":"string","enum":["origin","published"]},"context":{"type":"object","properties":{"profile":{"type":"string","const":"adjacent-passages-v1"},"anchorStart":{"type":"integer","minimum":0,"maximum":9007199254740991},"anchorEnd":{"type":"integer","minimum":0,"maximum":9007199254740991},"passageIds":{"minItems":1,"maxItems":3,"type":"array","items":{"type":"string"}}},"required":["profile","anchorStart","anchorEnd","passageIds"],"additionalProperties":false}},"required":["id","documentId","url","text","start","end","view"],"additionalProperties":false}}},"required":["evidence"],"additionalProperties":false}},"required":["@type","url","name","site","score","description","grounding"],"additionalProperties":false}}},"required":["_meta","results"],"additionalProperties":false},{"type":"object","properties":{"_meta":{"type":"object","properties":{"version":{"type":"string","const":"0.55"},"request_id":{"type":"string"},"response_type":{"type":"string","const":"failure"}},"required":["version","response_type"],"additionalProperties":{}},"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"status":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"retry_after":{"type":"number"}},"required":["code","message"],"additionalProperties":false}},"required":["_meta","error"],"additionalProperties":false}]}},"text/event-stream":{"schema":{"type":"string","description":"Named NLWeb start/result/error/complete events; one indexed item per result."}}}},"400":{"description":"Malformed NLWeb request."},"403":{"description":"Request Origin is not this website."},"404":{"description":"Domain querying is disabled or no eligible publication exists."},"406":{"description":"Accept does not allow the requested response transport."},"429":{"description":"Shared query allowance exhausted.","headers":{"Retry-After":{"schema":{"type":"integer","minimum":1},"description":"Seconds until retry."}}},"503":{"description":"Query service or admission unavailable."},"504":{"description":"Query deadline exceeded."}}}}}
}
