{"openapi":"3.1.0","info":{"title":"API Reference","version":"1.0.0"},"paths":{"/brave/{vertical}/search":{"get":{"operationId":"Brave Search","summary":"Query a Brave Search vertical","description":"> **NativePort's API gateway is being discontinued.**\n>\n> NativePort now connects your team's AIs in shared rooms.\n>\n> [See what's new](https://nativeport.ai/)\n\nRelays to `https://api.search.brave.com/res/v1/{vertical}/search`; the secret\n`X-Subscription-Token` header goes on and `Authorization` comes off. `GET` only, controls in\nthe query string.\n","parameters":[{"name":"vertical","in":"path","description":"Which Brave Search vertical to hit. Unlisted values draw the gateway's `404`.","required":true,"schema":{"$ref":"#/components/schemas/BraveVerticalSearchGetParametersVertical"}},{"name":"q","in":"query","description":"The query text.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Whatever the upstream answered, relayed as-is (status, headers, body). Rendered here as\nJSON; the true shape is the upstream provider's to define.\n","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"401":{"description":"The bearer token was missing, unknown, or revoked. The reply body is the JSON `{ \"error\": \"Unauthorized.\" }`.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No route matched the path, or the matched route disallows that method (an unlisted\n`/serper/<endpoint>`, for instance). The body lists every mounted route, verbatim as the\ngateway sends it. A path on one of the four model-inference routes also `404`s this way when\nthe specific endpoint or model isn't on that provider's allowlist; an unsupported model\naddressed through `/inference` gets that endpoint's own `400` instead (see the Inference tag).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"bearerAuth":[]}]}},"/mcp":{"post":{"operationId":"catalog_mcp","summary":"Model Context Protocol endpoint (Streamable HTTP, stateless)","description":"> **NativePort's API gateway is being discontinued.**\n>\n> NativePort now connects your team's AIs in shared rooms.\n>\n> [See what's new](https://nativeport.ai/)\n\nJSON-RPC 2.0 over Streamable HTTP. Send `Content-Type: application/json` and\n`Accept: application/json, text/event-stream`, with your bearer in `Authorization`. Tools:\n`find_endpoints`, `inspect_endpoint`, `call_endpoint`, `account`; resource `nativeport://skill`.\nAn empty balance still connects (reads work; `call_endpoint` returns the `402` as an error\nresult). Every other HTTP method answers `405` with `Allow: POST`. Client setup:\nhttps://docs.nativeport.ai/mcp\n","tags":["catalog"],"responses":{"200":{"description":"The JSON-RPC response, as a JSON body or as a single `text/event-stream` event depending on the client's protocol era.","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"401":{"description":"Missing, unknown or revoked key.","content":{"application/json":{"schema":{"description":"Any type"}}}},"403":{"description":"Account suspended.","content":{"application/json":{"schema":{"description":"Any type"}}}},"404":{"description":"The MCP surface is switched off.","content":{"application/json":{"schema":{"description":"Any type"}}}},"405":{"description":"Any method other than POST.","content":{"application/json":{"schema":{"description":"Any type"}}}},"406":{"description":"The `Accept` header lacks `application/json` or `text/event-stream`.","content":{"application/json":{"schema":{"description":"Any type"}}}}},"requestBody":{"description":"A JSON-RPC 2.0 request or notification.","content":{"application/json":{"schema":{"type":"object","properties":{"jsonrpc":{"$ref":"#/components/schemas/McpPostRequestBodyContentApplicationJsonSchemaJsonrpc"},"id":{"$ref":"#/components/schemas/McpPostRequestBodyContentApplicationJsonSchemaId"},"method":{"type":"string"},"params":{"type":"object","additionalProperties":{"description":"Any type"}}},"required":["jsonrpc","method"]}}}},"security":[{"bearerAuth":[]}]}},"/v1/catalog":{"get":{"operationId":"catalog_list","summary":"List the endpoint catalog, or rank it by keywords","description":"> **NativePort's API gateway is being discontinued.**\n>\n> NativePort now connects your team's AIs in shared rooms.\n>\n> [See what's new](https://nativeport.ai/)\n\nEvery endpoint family the gateway mounts, with its route, admitted actions, a minimal example\nrequest, its price and the provider's reference page. With `q`, entries are ranked by how many\nof the query's keywords they contain (tokens of four or more characters also match by prefix),\nthen by expected price. Cached for five minutes with a strong `ETag`; `If-None-Match` answers `304`.\n","tags":["catalog"],"parameters":[{"name":"q","in":"query","description":"Two or three English keywords. Omit for the whole catalog.","required":false,"schema":{"type":"string"}},{"name":"limit","in":"query","description":"Results to return when `q` is set (default 10, maximum 50).","required":false,"schema":{"type":"integer","minimum":1,"maximum":50}}],"responses":{"200":{"description":"The catalog (or the ranked subset).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CatalogList"}}}}}}},"/v1/catalog/{id}":{"get":{"operationId":"catalog_get","summary":"One catalog entry with a ready-to-send request","description":"> **NativePort's API gateway is being discontinued.**\n>\n> NativePort now connects your team's AIs in shared rooms.\n>\n> [See what's new](https://nativeport.ai/)\n\nThe entry plus a `request` (method, URL, headers, body) built from its example against the\norigin you called, and the same call spelled as `curl`.\n","tags":["catalog"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"The entry and its ready request.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CatalogDetail"}}}},"404":{"description":"Unknown id.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CatalogGetRequestNotFoundError"}}}}}}},"/SKILL.md":{"get":{"operationId":"catalog_skillMarkdown","summary":"The agent skill, generated from the catalog","description":"> **NativePort's API gateway is being discontinued.**\n>\n> NativePort now connects your team's AIs in shared rooms.\n>\n> [See what's new](https://nativeport.ai/)\n\nThe file an agent installs from `set up https://nativeport.ai/SKILL.md` (which serves this same file).\nAlso served at `/skill.md`. Its endpoint table is rendered from the live catalog on every request.\n","tags":["catalog"],"responses":{"200":{"description":"Markdown with YAML frontmatter (`name`, `version`, `description`).","content":{"application/json":{"schema":{"type":"object","properties":{}}}}}}}},"/v1/account":{"get":{"operationId":"catalog_accountGet","summary":"Balance and status of the calling key","description":"> **NativePort's API gateway is being discontinued.**\n>\n> NativePort now connects your team's AIs in shared rooms.\n>\n> [See what's new](https://nativeport.ai/)\n\nPasses the same gate as every proxy — a missing or unknown key draws `401`, an empty balance\n`402`, a suspended account `403` — and is never debited or cached.\n","tags":["catalog"],"responses":{"200":{"description":"The account behind the bearer.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Catalog_accountGet_Response_200"}}}},"401":{"description":"Missing, unknown or revoked key.","content":{"application/json":{"schema":{"description":"Any type"}}}},"402":{"description":"Empty balance.","content":{"application/json":{"schema":{"description":"Any type"}}}},"403":{"description":"Account suspended.","content":{"application/json":{"schema":{"description":"Any type"}}}}},"security":[{"bearerAuth":[]}]}},"/serper":{"get":{"operationId":"serper_searchAlias","summary":"Search Serper, query-string form (alias of /serper/search)","description":"> **NativePort's API gateway is being discontinued.**\n>\n> NativePort now connects your team's AIs in shared rooms.\n>\n> [See what's new](https://nativeport.ai/)\n\n`/serper` on its own is the legacy single-endpoint contract, kept alive as an alias of\n`/serper/search` → `https://google.serper.dev/search`. Controls can come in the query\nstring — the `GET` form here — or as a JSON body via `POST`.\n","tags":["serper"],"parameters":[{"name":"q","in":"query","description":"The query text. Serper's GET-form controls (`gl`, `hl`, `num`, `page`, …) can ride alongside\nin the query string; everything is passed on byte-for-byte.\n","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Whatever the upstream answered, relayed as-is (status, headers, body). Rendered here as\nJSON; the true shape is the upstream provider's to define.\n","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"401":{"description":"The bearer token was missing, unknown, or revoked. The reply body is the JSON `{ \"error\": \"Unauthorized.\" }`.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No route matched the path, or the matched route disallows that method (an unlisted\n`/serper/<endpoint>`, for instance). The body lists every mounted route, verbatim as the\ngateway sends it. A path on one of the four model-inference routes also `404`s this way when\nthe specific endpoint or model isn't on that provider's allowlist; an unsupported model\naddressed through `/inference` gets that endpoint's own `400` instead (see the Inference tag).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"bearerAuth":[]}]},"post":{"operationId":"serper_searchAliasPost","summary":"Search Serper, JSON-body form (alias of /serper/search)","description":"> **NativePort's API gateway is being discontinued.**\n>\n> NativePort now connects your team's AIs in shared rooms.\n>\n> [See what's new](https://nativeport.ai/)\n\nBare `/serper` aliases `/serper/search`. It takes the shape Serper's documentation opens\nwith: search controls inside a JSON body. An **array** body — a batch of searches — forwards\nlike any other payload.\n","tags":["serper"],"responses":{"200":{"description":"Whatever the upstream answered, relayed as-is (status, headers, body). Rendered here as\nJSON; the true shape is the upstream provider's to define.\n","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"401":{"description":"The bearer token was missing, unknown, or revoked. The reply body is the JSON `{ \"error\": \"Unauthorized.\" }`.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No route matched the path, or the matched route disallows that method (an unlisted\n`/serper/<endpoint>`, for instance). The body lists every mounted route, verbatim as the\ngateway sends it. A path on one of the four model-inference routes also `404`s this way when\nthe specific endpoint or model isn't on that provider's allowlist; an unsupported model\naddressed through `/inference` gets that endpoint's own `400` instead (see the Inference tag).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"description":"One Serper search body as an object, or an **array** of bodies to run a batch. Passed on\nunchanged. The full control set lives in [Serper's docs](https://serper.dev).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Serper_searchAliasPost_Request"}}}},"security":[{"bearerAuth":[]}]}},"/serper/{endpoint}":{"get":{"operationId":"serper_endpointGet","summary":"Invoke a Serper endpoint (query-string form)","description":"> **NativePort's API gateway is being discontinued.**\n>\n> NativePort now connects your team's AIs in shared rooms.\n>\n> [See what's new](https://nativeport.ai/)\n\nRelays to `https://google.serper.dev/{endpoint}` — `https://scrape.serper.dev/` when the\nendpoint is `webpage` — adding the secret `X-API-KEY` header. Your query string goes through\nbyte-for-byte; if you send an `apiKey` query param or an `X-API-KEY` header of your own, it\nis dropped or overwritten.\n","tags":["serper"],"parameters":[{"name":"endpoint","in":"path","description":"Which Serper endpoint to hit. Values outside this list get the gateway's `404`.","required":true,"schema":{"$ref":"#/components/schemas/SerperEndpointGetParametersEndpoint"}},{"name":"q","in":"query","description":"The query text. Serper's GET-form controls (`gl`, `hl`, `num`, `page`, …) can ride alongside\nin the query string; everything is passed on byte-for-byte.\n","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Whatever the upstream answered, relayed as-is (status, headers, body). Rendered here as\nJSON; the true shape is the upstream provider's to define.\n","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"401":{"description":"The bearer token was missing, unknown, or revoked. The reply body is the JSON `{ \"error\": \"Unauthorized.\" }`.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No route matched the path, or the matched route disallows that method (an unlisted\n`/serper/<endpoint>`, for instance). The body lists every mounted route, verbatim as the\ngateway sends it. A path on one of the four model-inference routes also `404`s this way when\nthe specific endpoint or model isn't on that provider's allowlist; an unsupported model\naddressed through `/inference` gets that endpoint's own `400` instead (see the Inference tag).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"bearerAuth":[]}]},"post":{"operationId":"serper_endpointPost","summary":"Invoke a Serper endpoint (JSON-body form)","description":"> **NativePort's API gateway is being discontinued.**\n>\n> NativePort now connects your team's AIs in shared rooms.\n>\n> [See what's new](https://nativeport.ai/)\n\nRelays to `https://google.serper.dev/{endpoint}` — `https://scrape.serper.dev/` for\n`webpage` — adding the secret `X-API-KEY` header. Whether an object or a batched array, the\nJSON body goes upstream untouched.\n","tags":["serper"],"parameters":[{"name":"endpoint","in":"path","description":"Which Serper endpoint to hit. Values outside this list get the gateway's `404`.","required":true,"schema":{"$ref":"#/components/schemas/SerperEndpointPostParametersEndpoint"}}],"responses":{"200":{"description":"Whatever the upstream answered, relayed as-is (status, headers, body). Rendered here as\nJSON; the true shape is the upstream provider's to define.\n","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"401":{"description":"The bearer token was missing, unknown, or revoked. The reply body is the JSON `{ \"error\": \"Unauthorized.\" }`.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No route matched the path, or the matched route disallows that method (an unlisted\n`/serper/<endpoint>`, for instance). The body lists every mounted route, verbatim as the\ngateway sends it. A path on one of the four model-inference routes also `404`s this way when\nthe specific endpoint or model isn't on that provider's allowlist; an unsupported model\naddressed through `/inference` gets that endpoint's own `400` instead (see the Inference tag).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"description":"One Serper search body as an object, or an **array** of bodies to run a batch. Passed on\nunchanged. The full control set lives in [Serper's docs](https://serper.dev).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Serper_endpointPost_Request"}}}},"security":[{"bearerAuth":[]}]}},"/scraperapi":{"get":{"operationId":"scraperApi_scrape","summary":"Scrape a target URL","description":"> **NativePort's API gateway is being discontinued.**\n>\n> NativePort now connects your team's AIs in shared rooms.\n>\n> [See what's new](https://nativeport.ai/)\n\nRelays to the ScraperAPI sync endpoint `https://api.scraperapi.com/`, slotting the secret\n`api_key` in as the leading query parameter. The target URL plus whatever ScraperAPI controls\nyou need live in the query string, while a client-sent `api_key` (query param) or\n`x-sapi-api_key` (header) gets dropped.\n","tags":["scraperApi"],"parameters":[{"name":"url","in":"query","description":"URL of the page to scrape.","required":true,"schema":{"type":"string","format":"uri"}},{"name":"render","in":"query","description":"Have JavaScript rendered before the page comes back (ScraperAPI control).","required":false,"schema":{"type":"boolean"}},{"name":"country_code","in":"query","description":"Send the request out through a proxy in the given country (ScraperAPI control).","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"ScraperAPI's answer, relayed as-is. Typically the scraped page as HTML, or JSON when a\nstructured/auto-parse mode was requested. Bodies may be big — ScraperAPI's ceiling is ~50MB.\n","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"401":{"description":"The bearer token was missing, unknown, or revoked. The reply body is the JSON `{ \"error\": \"Unauthorized.\" }`.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No route matched the path, or the matched route disallows that method (an unlisted\n`/serper/<endpoint>`, for instance). The body lists every mounted route, verbatim as the\ngateway sends it. A path on one of the four model-inference routes also `404`s this way when\nthe specific endpoint or model isn't on that provider's allowlist; an unsupported model\naddressed through `/inference` gets that endpoint's own `400` instead (see the Inference tag).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"bearerAuth":[]}]},"post":{"operationId":"scraperApi_post","summary":"Form submission passthrough (POST)","description":"> **NativePort's API gateway is being discontinued.**\n>\n> NativePort now connects your team's AIs in shared rooms.\n>\n> [See what's new](https://nativeport.ai/)\n\nThe sync endpoint also takes `POST`/`PUT`, for form submission against the target site. Your\nbody goes through untouched; controls stay in the query string.\n","tags":["scraperApi"],"parameters":[{"name":"url","in":"query","description":"The URL being targeted.","required":true,"schema":{"type":"string","format":"uri"}}],"responses":{"200":{"description":"ScraperAPI's answer, relayed as-is. Typically the scraped page as HTML, or JSON when a\nstructured/auto-parse mode was requested. Bodies may be big — ScraperAPI's ceiling is ~50MB.\n","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"401":{"description":"The bearer token was missing, unknown, or revoked. The reply body is the JSON `{ \"error\": \"Unauthorized.\" }`.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No route matched the path, or the matched route disallows that method (an unlisted\n`/serper/<endpoint>`, for instance). The body lists every mounted route, verbatim as the\ngateway sends it. A path on one of the four model-inference routes also `404`s this way when\nthe specific endpoint or model isn't on that provider's allowlist; an unsupported model\naddressed through `/inference` gets that endpoint's own `400` instead (see the Inference tag).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"security":[{"bearerAuth":[]}]},"put":{"operationId":"scraperApi_put","summary":"Form submission passthrough (PUT)","description":"> **NativePort's API gateway is being discontinued.**\n>\n> NativePort now connects your team's AIs in shared rooms.\n>\n> [See what's new](https://nativeport.ai/)\n\nSame as `POST`, for targets that want `PUT`. The body crosses unmodified; controls ride in\nthe query string.\n","tags":["scraperApi"],"parameters":[{"name":"url","in":"query","description":"The URL being targeted.","required":true,"schema":{"type":"string","format":"uri"}}],"responses":{"200":{"description":"ScraperAPI's answer, relayed as-is. Typically the scraped page as HTML, or JSON when a\nstructured/auto-parse mode was requested. Bodies may be big — ScraperAPI's ceiling is ~50MB.\n","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"401":{"description":"The bearer token was missing, unknown, or revoked. The reply body is the JSON `{ \"error\": \"Unauthorized.\" }`.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No route matched the path, or the matched route disallows that method (an unlisted\n`/serper/<endpoint>`, for instance). The body lists every mounted route, verbatim as the\ngateway sends it. A path on one of the four model-inference routes also `404`s this way when\nthe specific endpoint or model isn't on that provider's allowlist; an unsupported model\naddressed through `/inference` gets that endpoint's own `400` instead (see the Inference tag).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"security":[{"bearerAuth":[]}]}},"/serpapi":{"get":{"operationId":"serpApi_search","summary":"Run a SerpApi search","description":"> **NativePort's API gateway is being discontinued.**\n>\n> NativePort now connects your team's AIs in shared rooms.\n>\n> [See what's new](https://nativeport.ai/)\n\nRelays to `https://serpapi.com/search`, slotting the secret `api_key` in at the front of the\nquery string. `GET` only. Controls ride the query string and reach SerpApi verbatim — the\ngateway defaults nothing (SerpApi's own default for `engine` is `google`). Any client\n`api_key` in the query is dropped.\n","tags":["serpApi"],"parameters":[{"name":"engine","in":"query","description":"Which engine to search. Left unset, SerpApi falls back to `google`.","required":false,"schema":{"type":"string"}},{"name":"q","in":"query","description":"The query text.","required":false,"schema":{"type":"string"}},{"name":"location","in":"query","description":"Where the search should geographically originate.","required":false,"schema":{"type":"string"}},{"name":"output","in":"query","description":"Format of the reply — default `json`; choose `html` to get the raw SERP page.","required":false,"schema":{"$ref":"#/components/schemas/SerpapiGetParametersOutput"}}],"responses":{"200":{"description":"Whatever the upstream answered, relayed as-is (status, headers, body). Rendered here as\nJSON; the true shape is the upstream provider's to define.\n","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"401":{"description":"The bearer token was missing, unknown, or revoked. The reply body is the JSON `{ \"error\": \"Unauthorized.\" }`.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No route matched the path, or the matched route disallows that method (an unlisted\n`/serper/<endpoint>`, for instance). The body lists every mounted route, verbatim as the\ngateway sends it. A path on one of the four model-inference routes also `404`s this way when\nthe specific endpoint or model isn't on that provider's allowlist; an unsupported model\naddressed through `/inference` gets that endpoint's own `400` instead (see the Inference tag).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"bearerAuth":[]}]}},"/elevenlabs/{path}":{"get":{"operationId":"elevenLabs_get","summary":"Relay an ElevenLabs GET","description":"> **NativePort's API gateway is being discontinued.**\n>\n> NativePort now connects your team's AIs in shared rooms.\n>\n> [See what's new](https://nativeport.ai/)\n\nPasses the request to `https://api.elevenlabs.io/{path}` with the secret `xi-api-key` header\nadded. Fits the read endpoints — `v1/voices`, `v1/shared-voices`, `v1/models` — and grabbing\na realtime credential (`v1/convai/conversation/get-signed-url`).\n","tags":["elevenLabs"],"parameters":[{"name":"path","in":"path","description":"The path to call on the ElevenLabs API, any further `/` segments included — all of it after\n`/elevenlabs/` is passed to `https://api.elevenlabs.io/` when the gateway's allowlist\nadmits the path. Examples: `v1/text-to-speech/{voice_id}`, `v1/text-to-speech/{voice_id}/stream`,\n`v1/text-to-dialogue`, `v1/voices`, `v2/voices`, `v1/shared-voices`, `v1/models`,\n`v1/sound-generation`, `v1/speech-to-text`, `v1/voice-changer/{voice_id}`,\n`v1/audio-isolation`, `v1/convai/conversation/get-signed-url`.\n","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Whatever the upstream answered, relayed as-is (status, headers, body). Rendered here as\nJSON; the true shape is the upstream provider's to define.\n","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"401":{"description":"The bearer token was missing, unknown, or revoked. The reply body is the JSON `{ \"error\": \"Unauthorized.\" }`.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No route matched the path, or the matched route disallows that method (an unlisted\n`/serper/<endpoint>`, for instance). The body lists every mounted route, verbatim as the\ngateway sends it. A path on one of the four model-inference routes also `404`s this way when\nthe specific endpoint or model isn't on that provider's allowlist; an unsupported model\naddressed through `/inference` gets that endpoint's own `400` instead (see the Inference tag).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"bearerAuth":[]}]},"post":{"operationId":"elevenLabs_post","summary":"Relay an ElevenLabs POST","description":"> **NativePort's API gateway is being discontinued.**\n>\n> NativePort now connects your team's AIs in shared rooms.\n>\n> [See what's new](https://nativeport.ai/)\n\nPasses the request to `https://api.elevenlabs.io/{path}` with the secret `xi-api-key` header\nadded. Fits endpoints like `v1/text-to-speech/{voice_id}` (which answers with binary audio),\n`v1/text-to-dialogue`, `v1/sound-generation`, `v1/voice-changer/{voice_id}`, or\n`v1/audio-isolation`. Everything the upstream returns — chunked `/stream` output and binary\naudio included — comes back untouched.\n","tags":["elevenLabs"],"parameters":[{"name":"path","in":"path","description":"The path to call on the ElevenLabs API, any further `/` segments included — all of it after\n`/elevenlabs/` is passed to `https://api.elevenlabs.io/` when the gateway's allowlist\nadmits the path. Examples: `v1/text-to-speech/{voice_id}`, `v1/text-to-speech/{voice_id}/stream`,\n`v1/text-to-dialogue`, `v1/voices`, `v2/voices`, `v1/shared-voices`, `v1/models`,\n`v1/sound-generation`, `v1/speech-to-text`, `v1/voice-changer/{voice_id}`,\n`v1/audio-isolation`, `v1/convai/conversation/get-signed-url`.\n","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"The upstream's answer, relayed as-is. Text-to-speech and sound-generation hand back audio as\nbinary (`audio/mpeg` or PCM), chunked on the `/stream` variants. The remaining endpoints\nanswer with JSON.\n","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"401":{"description":"The bearer token was missing, unknown, or revoked. The reply body is the JSON `{ \"error\": \"Unauthorized.\" }`.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No route matched the path, or the matched route disallows that method (an unlisted\n`/serper/<endpoint>`, for instance). The body lists every mounted route, verbatim as the\ngateway sends it. A path on one of the four model-inference routes also `404`s this way when\nthe specific endpoint or model isn't on that provider's allowlist; an unsupported model\naddressed through `/inference` gets that endpoint's own `400` instead (see the Inference tag).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"security":[{"bearerAuth":[]}]}},"/searchapi":{"get":{"operationId":"searchApiIo_searchapiSearch","summary":"Run a SearchAPI.io search","description":"> **NativePort's API gateway is being discontinued.**\n>\n> NativePort now connects your team's AIs in shared rooms.\n>\n> [See what's new](https://nativeport.ai/)\n\nRelays to `https://www.searchapi.io/api/v1/search`, placing the secret `api_key` at the head\nof the query string. `GET` only; controls go through the query string verbatim. Send your\nown `api_key` and it is discarded; `Authorization` is stripped off.\n","tags":["searchApiIo"],"parameters":[{"name":"engine","in":"query","description":"Engine to query — `google`, `bing`, `google_maps`, among others.","required":false,"schema":{"type":"string"}},{"name":"q","in":"query","description":"The query text.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Whatever the upstream answered, relayed as-is (status, headers, body). Rendered here as\nJSON; the true shape is the upstream provider's to define.\n","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"401":{"description":"The bearer token was missing, unknown, or revoked. The reply body is the JSON `{ \"error\": \"Unauthorized.\" }`.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No route matched the path, or the matched route disallows that method (an unlisted\n`/serper/<endpoint>`, for instance). The body lists every mounted route, verbatim as the\ngateway sends it. A path on one of the four model-inference routes also `404`s this way when\nthe specific endpoint or model isn't on that provider's allowlist; an unsupported model\naddressed through `/inference` gets that endpoint's own `400` instead (see the Inference tag).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"bearerAuth":[]}]}},"/youcom/search":{"get":{"operationId":"youCom_youcomSearch","summary":"Run a You.com search","description":"> **NativePort's API gateway is being discontinued.**\n>\n> NativePort now connects your team's AIs in shared rooms.\n>\n> [See what's new](https://nativeport.ai/)\n\nRelays to `https://ydc-index.io/v1/search`, adding the secret `X-API-Key` header while\ndropping `Authorization`. `GET` only, controls in the query string.\n","tags":["youCom"],"parameters":[{"name":"query","in":"query","description":"The query text.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Whatever the upstream answered, relayed as-is (status, headers, body). Rendered here as\nJSON; the true shape is the upstream provider's to define.\n","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"401":{"description":"The bearer token was missing, unknown, or revoked. The reply body is the JSON `{ \"error\": \"Unauthorized.\" }`.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No route matched the path, or the matched route disallows that method (an unlisted\n`/serper/<endpoint>`, for instance). The body lists every mounted route, verbatim as the\ngateway sends it. A path on one of the four model-inference routes also `404`s this way when\nthe specific endpoint or model isn't on that provider's allowlist; an unsupported model\naddressed through `/inference` gets that endpoint's own `400` instead (see the Inference tag).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"bearerAuth":[]}]}},"/dataforseo/{path}":{"post":{"operationId":"dataForSeo_post","summary":"Relay a DataForSEO POST","description":"> **NativePort's API gateway is being discontinued.**\n>\n> NativePort now connects your team's AIs in shared rooms.\n>\n> [See what's new](https://nativeport.ai/)\n\nPasses the call to `https://api.dataforseo.com/{path}`, rewriting `Authorization` to the\nstored HTTP Basic credential. Aimed at the `live` (instant) class of endpoints; the JSON\npayload — usually a list of task objects — travels upstream as-is.\n","tags":["dataForSeo"],"parameters":[{"name":"path","in":"path","description":"The path to call on the DataForSEO API, `/` segments included — all of it after `/dataforseo/`\nis passed to `https://api.dataforseo.com/` if the gateway's allowlist admits it. Admission\ncovers only `live` (instant) endpoints, e.g. `v3/serp/google/organic/live/advanced` or\n`v3/on_page/instant_pages`; the queued-task flow (`task_post`/`task_get`) stays out.\n","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Whatever the upstream answered, relayed as-is (status, headers, body). Rendered here as\nJSON; the true shape is the upstream provider's to define.\n","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"401":{"description":"The bearer token was missing, unknown, or revoked. The reply body is the JSON `{ \"error\": \"Unauthorized.\" }`.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No route matched the path, or the matched route disallows that method (an unlisted\n`/serper/<endpoint>`, for instance). The body lists every mounted route, verbatim as the\ngateway sends it. A path on one of the four model-inference routes also `404`s this way when\nthe specific endpoint or model isn't on that provider's allowlist; an unsupported model\naddressed through `/inference` gets that endpoint's own `400` instead (see the Inference tag).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"array","items":{"type":"object","additionalProperties":{"description":"Any type"}}}}}},"security":[{"bearerAuth":[]}]}},"/tavily/{endpoint}":{"post":{"operationId":"tavily_proxy","summary":"Invoke a Tavily endpoint","description":"> **NativePort's API gateway is being discontinued.**\n>\n> NativePort now connects your team's AIs in shared rooms.\n>\n> [See what's new](https://nativeport.ai/)\n\nRelays to `https://api.tavily.com/{endpoint}`, swapping `Authorization` for Tavily's secret\nkey. `POST` only, controls in the JSON body.\n","tags":["tavily"],"parameters":[{"name":"endpoint","in":"path","description":"Which Tavily endpoint to call. Anything unlisted gets the gateway's `404`.","required":true,"schema":{"$ref":"#/components/schemas/TavilyEndpointPostParametersEndpoint"}}],"responses":{"200":{"description":"Whatever the upstream answered, relayed as-is (status, headers, body). Rendered here as\nJSON; the true shape is the upstream provider's to define.\n","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"401":{"description":"The bearer token was missing, unknown, or revoked. The reply body is the JSON `{ \"error\": \"Unauthorized.\" }`.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No route matched the path, or the matched route disallows that method (an unlisted\n`/serper/<endpoint>`, for instance). The body lists every mounted route, verbatim as the\ngateway sends it. A path on one of the four model-inference routes also `404`s this way when\nthe specific endpoint or model isn't on that provider's allowlist; an unsupported model\naddressed through `/inference` gets that endpoint's own `400` instead (see the Inference tag).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"security":[{"bearerAuth":[]}]}},"/exa/{endpoint}":{"post":{"operationId":"exa_proxy","summary":"Invoke an Exa endpoint","description":"> **NativePort's API gateway is being discontinued.**\n>\n> NativePort now connects your team's AIs in shared rooms.\n>\n> [See what's new](https://nativeport.ai/)\n\nRelays to `https://api.exa.ai/{endpoint}`, attaching the secret `x-api-key` header while\ndropping `Authorization`. `POST` only, controls in the JSON body.\n","tags":["exa"],"parameters":[{"name":"endpoint","in":"path","description":"Which Exa endpoint to call. Values off this list return the gateway's `404`.","required":true,"schema":{"$ref":"#/components/schemas/ExaEndpointPostParametersEndpoint"}}],"responses":{"200":{"description":"Whatever the upstream answered, relayed as-is (status, headers, body). Rendered here as\nJSON; the true shape is the upstream provider's to define.\n","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"401":{"description":"The bearer token was missing, unknown, or revoked. The reply body is the JSON `{ \"error\": \"Unauthorized.\" }`.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No route matched the path, or the matched route disallows that method (an unlisted\n`/serper/<endpoint>`, for instance). The body lists every mounted route, verbatim as the\ngateway sends it. A path on one of the four model-inference routes also `404`s this way when\nthe specific endpoint or model isn't on that provider's allowlist; an unsupported model\naddressed through `/inference` gets that endpoint's own `400` instead (see the Inference tag).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"security":[{"bearerAuth":[]}]}},"/linkup/search":{"post":{"operationId":"linkup_search","summary":"Run a Linkup search","description":"> **NativePort's API gateway is being discontinued.**\n>\n> NativePort now connects your team's AIs in shared rooms.\n>\n> [See what's new](https://nativeport.ai/)\n\nRelays to `https://api.linkup.so/v1/search`; `Authorization` is rewritten to Linkup's\nsecret key. `POST` only, controls in the JSON body.\n","tags":["linkup"],"responses":{"200":{"description":"Whatever the upstream answered, relayed as-is (status, headers, body). Rendered here as\nJSON; the true shape is the upstream provider's to define.\n","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"401":{"description":"The bearer token was missing, unknown, or revoked. The reply body is the JSON `{ \"error\": \"Unauthorized.\" }`.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No route matched the path, or the matched route disallows that method (an unlisted\n`/serper/<endpoint>`, for instance). The body lists every mounted route, verbatim as the\ngateway sends it. A path on one of the four model-inference routes also `404`s this way when\nthe specific endpoint or model isn't on that provider's allowlist; an unsupported model\naddressed through `/inference` gets that endpoint's own `400` instead (see the Inference tag).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"security":[{"bearerAuth":[]}]}},"/parallel/search":{"post":{"operationId":"parallel_search","summary":"Run a Parallel search","description":"> **NativePort's API gateway is being discontinued.**\n>\n> NativePort now connects your team's AIs in shared rooms.\n>\n> [See what's new](https://nativeport.ai/)\n\nRelays to `https://api.parallel.ai/v1/search` with the secret `x-api-key` header added and\n`Authorization` removed. `POST` only, controls in the JSON body.\n","tags":["parallel"],"responses":{"200":{"description":"Whatever the upstream answered, relayed as-is (status, headers, body). Rendered here as\nJSON; the true shape is the upstream provider's to define.\n","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"401":{"description":"The bearer token was missing, unknown, or revoked. The reply body is the JSON `{ \"error\": \"Unauthorized.\" }`.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No route matched the path, or the matched route disallows that method (an unlisted\n`/serper/<endpoint>`, for instance). The body lists every mounted route, verbatim as the\ngateway sends it. A path on one of the four model-inference routes also `404`s this way when\nthe specific endpoint or model isn't on that provider's allowlist; an unsupported model\naddressed through `/inference` gets that endpoint's own `400` instead (see the Inference tag).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"security":[{"bearerAuth":[]}]}},"/typesafe/v1/systemone":{"post":{"operationId":"typeSafe_systemOne","summary":"Answer typed questions about supplied state","description":"> **NativePort's API gateway is being discontinued.**\n>\n> NativePort now connects your team's AIs in shared rooms.\n>\n> [See what's new](https://nativeport.ai/)\n\nRelays to `https://api.typesafe.ai/v1/systemone`, **overwriting** `Authorization` with the\ngateway's TypeSafe key — the upstream authenticates on the same header your gateway token\narrives in, so the swap is both the injection and the strip. This is the only mounted\nTypeSafe route and TypeSafe's only billable endpoint; every other `/typesafe/*` path, and\nany method other than `POST`, answers the gateway's own `404`.\n\nThe body is forwarded as sent. It carries three required fields — `state` (the content to\nevaluate, as a string, object, or array), `model`, and `questions` (a map of ids you choose\nto typed question objects, answered back under the same ids). TypeSafe rejects an\nunrecognized top-level field with its own `400`, so the gateway adds no second policy.\n\nEach question is one of three types. A `noul` returns the probability the answer is yes; a\n`choice` returns the picked option plus the probability of every option and a confidence; a\n`score` returns a probability-weighted value across the ordered levels you describe, with\nthe same distribution and confidence. The state is read once however many questions ride\nalong, which — since billing counts input tokens only — makes batching markedly cheaper\nthan one call per question.\n\n`jev-1.13.0` is the current model; `jev-latest` and `jev-preview` are aliases that may move\nwithout notice. The response always names the concrete version that answered, so a request\nfor `jev-latest` comes back as `\"model\": \"jev-1.13.0\"`.\n\nTypeSafe's answer comes back exactly as it arrived — status, headers, and body bytes — and\nthe charge is settled from the `usage.input_tokens` it reports, at $0.04431 per million input\ntokens (TypeSafe's rate plus the gateway's 5.5% fee). Output tokens are free upstream and are\nnot billed here.\n","tags":["typeSafe"],"responses":{"200":{"description":"Whatever the upstream answered, relayed as-is (status, headers, body). Rendered here as\nJSON; the true shape is the upstream provider's to define.\n","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"401":{"description":"The bearer token was missing, unknown, or revoked. The reply body is the JSON `{ \"error\": \"Unauthorized.\" }`.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No route matched the path, or the matched route disallows that method (an unlisted\n`/serper/<endpoint>`, for instance). The body lists every mounted route, verbatim as the\ngateway sends it. A path on one of the four model-inference routes also `404`s this way when\nthe specific endpoint or model isn't on that provider's allowlist; an unsupported model\naddressed through `/inference` gets that endpoint's own `400` instead (see the Inference tag).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"state":{"$ref":"#/components/schemas/TypesafeV1SystemonePostRequestBodyContentApplicationJsonSchemaState","description":"The content to evaluate — text, or structured data for records, chat logs, or application state."},"model":{"type":"string","description":"The model that handles the request. A version, or one of the two aliases."},"questions":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/TypesafeV1SystemonePostRequestBodyContentApplicationJsonSchemaQuestions"},"description":"A map of ids you choose to typed question objects. Answers return under the same ids."}},"required":["state","model","questions"]}}}},"security":[{"bearerAuth":[]}]}},"/jina/{service}":{"get":{"operationId":"jina_get","summary":"Relay a Jina GET","description":"> **NativePort's API gateway is being discontinued.**\n>\n> NativePort now connects your team's AIs in shared rooms.\n>\n> [See what's new](https://nativeport.ai/)\n\nRoutes to the host behind the service (`reader`→`r.jina.ai`, `search`→`s.jina.ai`), rewriting\n`Authorization` to Jina's secret key. Reader and Search embed the target URL right in the\npath; replies may be markdown/text instead of JSON.\n","tags":["jina"],"parameters":[{"name":"service","in":"path","description":"Which Jina product to use. Unlisted values get the gateway's `404`. Whatever path follows\nthe service passes through untouched — e.g. `/jina/reader/https://example.com` →\n`https://r.jina.ai/https://example.com`. Model APIs (`embeddings`/`rerank`/`classify`) get\ninvoked directly, e.g. `/jina/embeddings`.\n","required":true,"schema":{"$ref":"#/components/schemas/JinaServiceGetParametersService"}}],"responses":{"200":{"description":"Whatever the upstream answered, relayed as-is (status, headers, body). Rendered here as\nJSON; the true shape is the upstream provider's to define.\n","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"401":{"description":"The bearer token was missing, unknown, or revoked. The reply body is the JSON `{ \"error\": \"Unauthorized.\" }`.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No route matched the path, or the matched route disallows that method (an unlisted\n`/serper/<endpoint>`, for instance). The body lists every mounted route, verbatim as the\ngateway sends it. A path on one of the four model-inference routes also `404`s this way when\nthe specific endpoint or model isn't on that provider's allowlist; an unsupported model\naddressed through `/inference` gets that endpoint's own `400` instead (see the Inference tag).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"bearerAuth":[]}]},"post":{"operationId":"jina_post","summary":"Relay a Jina POST","description":"> **NativePort's API gateway is being discontinued.**\n>\n> NativePort now connects your team's AIs in shared rooms.\n>\n> [See what's new](https://nativeport.ai/)\n\nRoutes to the service's backing host — `api.jina.ai` for the model APIs\n(`embeddings`/`rerank`/`classify`) — rewriting `Authorization` to Jina's secret key. The\nJSON body goes upstream untouched.\n","tags":["jina"],"parameters":[{"name":"service","in":"path","description":"Which Jina product to use. Unlisted values get the gateway's `404`. Whatever path follows\nthe service passes through untouched — e.g. `/jina/reader/https://example.com` →\n`https://r.jina.ai/https://example.com`. Model APIs (`embeddings`/`rerank`/`classify`) get\ninvoked directly, e.g. `/jina/embeddings`.\n","required":true,"schema":{"$ref":"#/components/schemas/JinaServicePostParametersService"}}],"responses":{"200":{"description":"Whatever the upstream answered, relayed as-is (status, headers, body). Rendered here as\nJSON; the true shape is the upstream provider's to define.\n","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"401":{"description":"The bearer token was missing, unknown, or revoked. The reply body is the JSON `{ \"error\": \"Unauthorized.\" }`.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No route matched the path, or the matched route disallows that method (an unlisted\n`/serper/<endpoint>`, for instance). The body lists every mounted route, verbatim as the\ngateway sends it. A path on one of the four model-inference routes also `404`s this way when\nthe specific endpoint or model isn't on that provider's allowlist; an unsupported model\naddressed through `/inference` gets that endpoint's own `400` instead (see the Inference tag).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"security":[{"bearerAuth":[]}]}},"/firecrawl/{path}":{"get":{"operationId":"firecrawl_get","summary":"Relay a Firecrawl GET","description":"> **NativePort's API gateway is being discontinued.**\n>\n> NativePort now connects your team's AIs in shared rooms.\n>\n> [See what's new](https://nativeport.ai/)\n\nHands the call to `https://api.firecrawl.dev/{path}` after rewriting `Authorization` to the\nsecret Firecrawl key. Meant for id-gated job status such as `v2/crawl/{id}`; usage lookups\nunder `/v2/team/*` and `GET /v2/crawl/active` sit outside the allowlist.\n","tags":["firecrawl"],"parameters":[{"name":"path","in":"path","description":"The path to call on the Firecrawl API, `/` segments included — all of it after `/firecrawl/`\nis passed to `https://api.firecrawl.dev/` when the allowlist admits it. Examples: `v2/scrape`,\n`v2/crawl`, `v2/crawl/{id}`, `v2/map`, `v2/search`, `v2/extract`, `v2/batch/scrape`.\n","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Whatever the upstream answered, relayed as-is (status, headers, body). Rendered here as\nJSON; the true shape is the upstream provider's to define.\n","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"401":{"description":"The bearer token was missing, unknown, or revoked. The reply body is the JSON `{ \"error\": \"Unauthorized.\" }`.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No route matched the path, or the matched route disallows that method (an unlisted\n`/serper/<endpoint>`, for instance). The body lists every mounted route, verbatim as the\ngateway sends it. A path on one of the four model-inference routes also `404`s this way when\nthe specific endpoint or model isn't on that provider's allowlist; an unsupported model\naddressed through `/inference` gets that endpoint's own `400` instead (see the Inference tag).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"bearerAuth":[]}]},"post":{"operationId":"firecrawl_post","summary":"Relay a Firecrawl POST","description":"> **NativePort's API gateway is being discontinued.**\n>\n> NativePort now connects your team's AIs in shared rooms.\n>\n> [See what's new](https://nativeport.ai/)\n\nHands the call to `https://api.firecrawl.dev/{path}` after rewriting `Authorization` to the\nsecret Firecrawl key. Aimed at the action endpoints such as `v2/scrape` and `v2/crawl`.\n","tags":["firecrawl"],"parameters":[{"name":"path","in":"path","description":"The path to call on the Firecrawl API, `/` segments included — all of it after `/firecrawl/`\nis passed to `https://api.firecrawl.dev/` when the allowlist admits it. Examples: `v2/scrape`,\n`v2/crawl`, `v2/crawl/{id}`, `v2/map`, `v2/search`, `v2/extract`, `v2/batch/scrape`.\n","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Whatever the upstream answered, relayed as-is (status, headers, body). Rendered here as\nJSON; the true shape is the upstream provider's to define.\n","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"401":{"description":"The bearer token was missing, unknown, or revoked. The reply body is the JSON `{ \"error\": \"Unauthorized.\" }`.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No route matched the path, or the matched route disallows that method (an unlisted\n`/serper/<endpoint>`, for instance). The body lists every mounted route, verbatim as the\ngateway sends it. A path on one of the four model-inference routes also `404`s this way when\nthe specific endpoint or model isn't on that provider's allowlist; an unsupported model\naddressed through `/inference` gets that endpoint's own `400` instead (see the Inference tag).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"security":[{"bearerAuth":[]}]},"delete":{"operationId":"firecrawl_delete","summary":"Relay a Firecrawl DELETE","description":"> **NativePort's API gateway is being discontinued.**\n>\n> NativePort now connects your team's AIs in shared rooms.\n>\n> [See what's new](https://nativeport.ai/)\n\nHands the call to `https://api.firecrawl.dev/{path}` after rewriting `Authorization` to the\nsecret Firecrawl key. Cancels a crawl — e.g. `v2/crawl/{id}`.\n","tags":["firecrawl"],"parameters":[{"name":"path","in":"path","description":"The path to call on the Firecrawl API, `/` segments included — all of it after `/firecrawl/`\nis passed to `https://api.firecrawl.dev/` when the allowlist admits it. Examples: `v2/scrape`,\n`v2/crawl`, `v2/crawl/{id}`, `v2/map`, `v2/search`, `v2/extract`, `v2/batch/scrape`.\n","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Whatever the upstream answered, relayed as-is (status, headers, body). Rendered here as\nJSON; the true shape is the upstream provider's to define.\n","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"401":{"description":"The bearer token was missing, unknown, or revoked. The reply body is the JSON `{ \"error\": \"Unauthorized.\" }`.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No route matched the path, or the matched route disallows that method (an unlisted\n`/serper/<endpoint>`, for instance). The body lists every mounted route, verbatim as the\ngateway sends it. A path on one of the four model-inference routes also `404`s this way when\nthe specific endpoint or model isn't on that provider's allowlist; an unsupported model\naddressed through `/inference` gets that endpoint's own `400` instead (see the Inference tag).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"bearerAuth":[]}]}},"/scrapingbee":{"get":{"operationId":"scrapingBee_scrape","summary":"Scrape a page with ScrapingBee","description":"> **NativePort's API gateway is being discontinued.**\n>\n> NativePort now connects your team's AIs in shared rooms.\n>\n> [See what's new](https://nativeport.ai/)\n\nRelays to `https://app.scrapingbee.com/api/v1/` with the secret `api_key` placed first in\nthe query string. Controls also go in the query string. Client-sent `api_key` (query),\n`Authorization`, and `X-API-KEY` all get dropped.\n","tags":["scrapingBee"],"parameters":[{"name":"url","in":"query","description":"URL of the page to scrape.","required":true,"schema":{"type":"string","format":"uri"}},{"name":"render_js","in":"query","description":"Have JavaScript rendered before the page comes back (ScrapingBee control).","required":false,"schema":{"type":"boolean"}}],"responses":{"200":{"description":"The upstream's answer, relayed as-is. Typically the scraped page as HTML, raw bytes, or\nJSON under a structured/parsed mode. The upstream defines the exact shape.\n","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"401":{"description":"The bearer token was missing, unknown, or revoked. The reply body is the JSON `{ \"error\": \"Unauthorized.\" }`.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No route matched the path, or the matched route disallows that method (an unlisted\n`/serper/<endpoint>`, for instance). The body lists every mounted route, verbatim as the\ngateway sends it. A path on one of the four model-inference routes also `404`s this way when\nthe specific endpoint or model isn't on that provider's allowlist; an unsupported model\naddressed through `/inference` gets that endpoint's own `400` instead (see the Inference tag).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"bearerAuth":[]}]},"post":{"operationId":"scrapingBee_post","summary":"Scrape a POST target with ScrapingBee","description":"> **NativePort's API gateway is being discontinued.**\n>\n> NativePort now connects your team's AIs in shared rooms.\n>\n> [See what's new](https://nativeport.ai/)\n\nSame as the `GET` scrape except the target receives a `POST`. The body goes through\nuntouched; controls stay in the query string.\n","tags":["scrapingBee"],"parameters":[{"name":"url","in":"query","description":"The URL being targeted.","required":true,"schema":{"type":"string","format":"uri"}}],"responses":{"200":{"description":"The upstream's answer, relayed as-is. Typically the scraped page as HTML, raw bytes, or\nJSON under a structured/parsed mode. The upstream defines the exact shape.\n","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"401":{"description":"The bearer token was missing, unknown, or revoked. The reply body is the JSON `{ \"error\": \"Unauthorized.\" }`.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No route matched the path, or the matched route disallows that method (an unlisted\n`/serper/<endpoint>`, for instance). The body lists every mounted route, verbatim as the\ngateway sends it. A path on one of the four model-inference routes also `404`s this way when\nthe specific endpoint or model isn't on that provider's allowlist; an unsupported model\naddressed through `/inference` gets that endpoint's own `400` instead (see the Inference tag).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"security":[{"bearerAuth":[]}]}},"/scrapfly":{"get":{"operationId":"scrapfly_scrape","summary":"Scrape a page with Scrapfly","description":"> **NativePort's API gateway is being discontinued.**\n>\n> NativePort now connects your team's AIs in shared rooms.\n>\n> [See what's new](https://nativeport.ai/)\n\nRelays to `https://api.scrapfly.io/scrape`, putting the secret `key` first in the query\nstring, then removing `Authorization`. Controls sit in the query string. Because Scrapfly\nreplays your method on the target, the gateway also accepts and forwards `PUT`, `PATCH`,\nand `HEAD`.\n","tags":["scrapfly"],"parameters":[{"name":"url","in":"query","description":"URL of the page to scrape.","required":true,"schema":{"type":"string","format":"uri"}},{"name":"render_js","in":"query","description":"Have JavaScript rendered before the page comes back (Scrapfly control).","required":false,"schema":{"type":"boolean"}}],"responses":{"200":{"description":"The upstream's answer, relayed as-is. Typically the scraped page as HTML, raw bytes, or\nJSON under a structured/parsed mode. The upstream defines the exact shape.\n","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"401":{"description":"The bearer token was missing, unknown, or revoked. The reply body is the JSON `{ \"error\": \"Unauthorized.\" }`.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No route matched the path, or the matched route disallows that method (an unlisted\n`/serper/<endpoint>`, for instance). The body lists every mounted route, verbatim as the\ngateway sends it. A path on one of the four model-inference routes also `404`s this way when\nthe specific endpoint or model isn't on that provider's allowlist; an unsupported model\naddressed through `/inference` gets that endpoint's own `400` instead (see the Inference tag).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"bearerAuth":[]}]},"post":{"operationId":"scrapfly_post","summary":"Scrape a POST target with Scrapfly","description":"> **NativePort's API gateway is being discontinued.**\n>\n> NativePort now connects your team's AIs in shared rooms.\n>\n> [See what's new](https://nativeport.ai/)\n\nSame as the `GET` scrape, with a `POST` delivered to the target. Controls stay in the query\nstring.\n","tags":["scrapfly"],"parameters":[{"name":"url","in":"query","description":"The URL being targeted.","required":true,"schema":{"type":"string","format":"uri"}}],"responses":{"200":{"description":"The upstream's answer, relayed as-is. Typically the scraped page as HTML, raw bytes, or\nJSON under a structured/parsed mode. The upstream defines the exact shape.\n","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"401":{"description":"The bearer token was missing, unknown, or revoked. The reply body is the JSON `{ \"error\": \"Unauthorized.\" }`.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No route matched the path, or the matched route disallows that method (an unlisted\n`/serper/<endpoint>`, for instance). The body lists every mounted route, verbatim as the\ngateway sends it. A path on one of the four model-inference routes also `404`s this way when\nthe specific endpoint or model isn't on that provider's allowlist; an unsupported model\naddressed through `/inference` gets that endpoint's own `400` instead (see the Inference tag).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"security":[{"bearerAuth":[]}]},"put":{"operationId":"scrapfly_put","summary":"PUT through to the target","description":"> **NativePort's API gateway is being discontinued.**\n>\n> NativePort now connects your team's AIs in shared rooms.\n>\n> [See what's new](https://nativeport.ai/)\n\nSame as the `GET` scrape, with a `PUT` delivered to the target — Scrapfly replays your\nrequest method against the site it's scraping. Controls stay in the query string.\n","tags":["scrapfly"],"parameters":[{"name":"url","in":"query","description":"The URL being targeted.","required":true,"schema":{"type":"string","format":"uri"}}],"responses":{"200":{"description":"The upstream's answer, relayed as-is. Typically the scraped page as HTML, raw bytes, or\nJSON under a structured/parsed mode. The upstream defines the exact shape.\n","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"401":{"description":"The bearer token was missing, unknown, or revoked. The reply body is the JSON `{ \"error\": \"Unauthorized.\" }`.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No route matched the path, or the matched route disallows that method (an unlisted\n`/serper/<endpoint>`, for instance). The body lists every mounted route, verbatim as the\ngateway sends it. A path on one of the four model-inference routes also `404`s this way when\nthe specific endpoint or model isn't on that provider's allowlist; an unsupported model\naddressed through `/inference` gets that endpoint's own `400` instead (see the Inference tag).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"security":[{"bearerAuth":[]}]},"patch":{"operationId":"scrapfly_patch","summary":"PATCH through to the target","description":"> **NativePort's API gateway is being discontinued.**\n>\n> NativePort now connects your team's AIs in shared rooms.\n>\n> [See what's new](https://nativeport.ai/)\n\nSame as the `GET` scrape, with a `PATCH` delivered to the target — Scrapfly replays your\nrequest method against the site it's scraping. Controls stay in the query string.\n","tags":["scrapfly"],"parameters":[{"name":"url","in":"query","description":"The URL being targeted.","required":true,"schema":{"type":"string","format":"uri"}}],"responses":{"200":{"description":"The upstream's answer, relayed as-is. Typically the scraped page as HTML, raw bytes, or\nJSON under a structured/parsed mode. The upstream defines the exact shape.\n","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"401":{"description":"The bearer token was missing, unknown, or revoked. The reply body is the JSON `{ \"error\": \"Unauthorized.\" }`.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No route matched the path, or the matched route disallows that method (an unlisted\n`/serper/<endpoint>`, for instance). The body lists every mounted route, verbatim as the\ngateway sends it. A path on one of the four model-inference routes also `404`s this way when\nthe specific endpoint or model isn't on that provider's allowlist; an unsupported model\naddressed through `/inference` gets that endpoint's own `400` instead (see the Inference tag).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"security":[{"bearerAuth":[]}]},"head":{"operationId":"scrapfly_head","summary":"HEAD through to the target","description":"> **NativePort's API gateway is being discontinued.**\n>\n> NativePort now connects your team's AIs in shared rooms.\n>\n> [See what's new](https://nativeport.ai/)\n\nSame as the `GET` scrape, with a `HEAD` delivered to the target — Scrapfly replays your\nrequest method against the site it's scraping. Controls stay in the query string; as with\nany `HEAD` response, the body is empty and only the status and headers carry information.\n","tags":["scrapfly"],"parameters":[{"name":"url","in":"query","description":"URL of the page to scrape.","required":true,"schema":{"type":"string","format":"uri"}},{"name":"render_js","in":"query","description":"Have JavaScript rendered before the page comes back (Scrapfly control).","required":false,"schema":{"type":"boolean"}}],"responses":{"200":{"description":"Scrapfly's own response headers and status for the target, relayed byte-for-byte with an\nempty body, as `HEAD` requires.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Scrapfly_head_Response_200"}}}},"401":{"description":"The bearer token was missing, unknown, or revoked. The reply body is the JSON `{ \"error\": \"Unauthorized.\" }`.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No route matched the path, or the matched route disallows that method (an unlisted\n`/serper/<endpoint>`, for instance). The body lists every mounted route, verbatim as the\ngateway sends it. A path on one of the four model-inference routes also `404`s this way when\nthe specific endpoint or model isn't on that provider's allowlist; an unsupported model\naddressed through `/inference` gets that endpoint's own `400` instead (see the Inference tag).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"bearerAuth":[]}]}},"/zenrows":{"get":{"operationId":"zenRows_scrape","summary":"Scrape a page with ZenRows","description":"> **NativePort's API gateway is being discontinued.**\n>\n> NativePort now connects your team's AIs in shared rooms.\n>\n> [See what's new](https://nativeport.ai/)\n\nRelays to `https://api.zenrows.com/v1/`, placing the secret `apikey` at the front of the\nquery string and dropping `Authorization`. Controls belong in the query string.\n","tags":["zenRows"],"parameters":[{"name":"url","in":"query","description":"URL of the page to scrape.","required":true,"schema":{"type":"string","format":"uri"}},{"name":"js_render","in":"query","description":"Have JavaScript rendered before the page comes back (ZenRows control).","required":false,"schema":{"type":"boolean"}}],"responses":{"200":{"description":"The upstream's answer, relayed as-is. Typically the scraped page as HTML, raw bytes, or\nJSON under a structured/parsed mode. The upstream defines the exact shape.\n","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"401":{"description":"The bearer token was missing, unknown, or revoked. The reply body is the JSON `{ \"error\": \"Unauthorized.\" }`.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No route matched the path, or the matched route disallows that method (an unlisted\n`/serper/<endpoint>`, for instance). The body lists every mounted route, verbatim as the\ngateway sends it. A path on one of the four model-inference routes also `404`s this way when\nthe specific endpoint or model isn't on that provider's allowlist; an unsupported model\naddressed through `/inference` gets that endpoint's own `400` instead (see the Inference tag).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"bearerAuth":[]}]},"post":{"operationId":"zenRows_post","summary":"Scrape a POST target with ZenRows","description":"> **NativePort's API gateway is being discontinued.**\n>\n> NativePort now connects your team's AIs in shared rooms.\n>\n> [See what's new](https://nativeport.ai/)\n\nThe `GET` scrape's behavior, with a `POST` delivered to the target instead. Controls go in\nthe query string.\n","tags":["zenRows"],"parameters":[{"name":"url","in":"query","description":"The URL being targeted.","required":true,"schema":{"type":"string","format":"uri"}}],"responses":{"200":{"description":"The upstream's answer, relayed as-is. Typically the scraped page as HTML, raw bytes, or\nJSON under a structured/parsed mode. The upstream defines the exact shape.\n","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"401":{"description":"The bearer token was missing, unknown, or revoked. The reply body is the JSON `{ \"error\": \"Unauthorized.\" }`.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No route matched the path, or the matched route disallows that method (an unlisted\n`/serper/<endpoint>`, for instance). The body lists every mounted route, verbatim as the\ngateway sends it. A path on one of the four model-inference routes also `404`s this way when\nthe specific endpoint or model isn't on that provider's allowlist; an unsupported model\naddressed through `/inference` gets that endpoint's own `400` instead (see the Inference tag).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"security":[{"bearerAuth":[]}]}},"/crawlbase":{"get":{"operationId":"crawlbase_scrape","summary":"Crawl a page (Normal token)","description":"> **NativePort's API gateway is being discontinued.**\n>\n> NativePort now connects your team's AIs in shared rooms.\n>\n> [See what's new](https://nativeport.ai/)\n\nRelays to `https://api.crawlbase.com/`; the Normal token is set as the leading query param\n(`token`) and `Authorization` is removed. Controls go in the query string.\n","tags":["crawlbase"],"parameters":[{"name":"url","in":"query","description":"URL of the page to crawl.","required":true,"schema":{"type":"string","format":"uri"}}],"responses":{"200":{"description":"The upstream's answer, relayed as-is. Typically the scraped page as HTML, raw bytes, or\nJSON under a structured/parsed mode. The upstream defines the exact shape.\n","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"401":{"description":"The bearer token was missing, unknown, or revoked. The reply body is the JSON `{ \"error\": \"Unauthorized.\" }`.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No route matched the path, or the matched route disallows that method (an unlisted\n`/serper/<endpoint>`, for instance). The body lists every mounted route, verbatim as the\ngateway sends it. A path on one of the four model-inference routes also `404`s this way when\nthe specific endpoint or model isn't on that provider's allowlist; an unsupported model\naddressed through `/inference` gets that endpoint's own `400` instead (see the Inference tag).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"bearerAuth":[]}]},"post":{"operationId":"crawlbase_post","summary":"POST through to the target site (Normal token)","description":"> **NativePort's API gateway is being discontinued.**\n>\n> NativePort now connects your team's AIs in shared rooms.\n>\n> [See what's new](https://nativeport.ai/)\n\nThe `GET` crawl, except a `POST` is sent to the target.\n","tags":["crawlbase"],"parameters":[{"name":"url","in":"query","description":"The URL being targeted.","required":true,"schema":{"type":"string","format":"uri"}}],"responses":{"200":{"description":"The upstream's answer, relayed as-is. Typically the scraped page as HTML, raw bytes, or\nJSON under a structured/parsed mode. The upstream defines the exact shape.\n","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"401":{"description":"The bearer token was missing, unknown, or revoked. The reply body is the JSON `{ \"error\": \"Unauthorized.\" }`.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No route matched the path, or the matched route disallows that method (an unlisted\n`/serper/<endpoint>`, for instance). The body lists every mounted route, verbatim as the\ngateway sends it. A path on one of the four model-inference routes also `404`s this way when\nthe specific endpoint or model isn't on that provider's allowlist; an unsupported model\naddressed through `/inference` gets that endpoint's own `400` instead (see the Inference tag).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"security":[{"bearerAuth":[]}]}},"/crawlbase/js":{"get":{"operationId":"crawlbase_jsScrape","summary":"Crawl a page (JavaScript token)","description":"> **NativePort's API gateway is being discontinued.**\n>\n> NativePort now connects your team's AIs in shared rooms.\n>\n> [See what's new](https://nativeport.ai/)\n\nSame as `/crawlbase` but with the JavaScript token injected — Crawlbase renders the page\ninside a real headless browser.\n","tags":["crawlbase"],"parameters":[{"name":"url","in":"query","description":"URL of the page to crawl.","required":true,"schema":{"type":"string","format":"uri"}}],"responses":{"200":{"description":"The upstream's answer, relayed as-is. Typically the scraped page as HTML, raw bytes, or\nJSON under a structured/parsed mode. The upstream defines the exact shape.\n","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"401":{"description":"The bearer token was missing, unknown, or revoked. The reply body is the JSON `{ \"error\": \"Unauthorized.\" }`.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No route matched the path, or the matched route disallows that method (an unlisted\n`/serper/<endpoint>`, for instance). The body lists every mounted route, verbatim as the\ngateway sends it. A path on one of the four model-inference routes also `404`s this way when\nthe specific endpoint or model isn't on that provider's allowlist; an unsupported model\naddressed through `/inference` gets that endpoint's own `400` instead (see the Inference tag).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"bearerAuth":[]}]},"post":{"operationId":"crawlbase_jsPost","summary":"POST through to the target site (JavaScript token)","description":"> **NativePort's API gateway is being discontinued.**\n>\n> NativePort now connects your team's AIs in shared rooms.\n>\n> [See what's new](https://nativeport.ai/)\n\nLike `/crawlbase/js`, delivering a `POST` to the target instead.\n","tags":["crawlbase"],"parameters":[{"name":"url","in":"query","description":"The URL being targeted.","required":true,"schema":{"type":"string","format":"uri"}}],"responses":{"200":{"description":"The upstream's answer, relayed as-is. Typically the scraped page as HTML, raw bytes, or\nJSON under a structured/parsed mode. The upstream defines the exact shape.\n","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"401":{"description":"The bearer token was missing, unknown, or revoked. The reply body is the JSON `{ \"error\": \"Unauthorized.\" }`.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No route matched the path, or the matched route disallows that method (an unlisted\n`/serper/<endpoint>`, for instance). The body lists every mounted route, verbatim as the\ngateway sends it. A path on one of the four model-inference routes also `404`s this way when\nthe specific endpoint or model isn't on that provider's allowlist; an unsupported model\naddressed through `/inference` gets that endpoint's own `400` instead (see the Inference tag).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"security":[{"bearerAuth":[]}]}},"/oxylabs":{"post":{"operationId":"oxylabs_proxy","summary":"Scrape on Oxylabs' realtime endpoint","description":"> **NativePort's API gateway is being discontinued.**\n>\n> NativePort now connects your team's AIs in shared rooms.\n>\n> [See what's new](https://nativeport.ai/)\n\nRelays to `https://realtime.oxylabs.io/v1/queries`, rewriting `Authorization` to the stored\nHTTP Basic credential — username plus password. `POST` only; each control rides in the JSON\nbody.\n","tags":["oxylabs"],"responses":{"200":{"description":"Whatever the upstream answered, relayed as-is (status, headers, body). Rendered here as\nJSON; the true shape is the upstream provider's to define.\n","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"401":{"description":"The bearer token was missing, unknown, or revoked. The reply body is the JSON `{ \"error\": \"Unauthorized.\" }`.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No route matched the path, or the matched route disallows that method (an unlisted\n`/serper/<endpoint>`, for instance). The body lists every mounted route, verbatim as the\ngateway sends it. A path on one of the four model-inference routes also `404`s this way when\nthe specific endpoint or model isn't on that provider's allowlist; an unsupported model\naddressed through `/inference` gets that endpoint's own `400` instead (see the Inference tag).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"security":[{"bearerAuth":[]}]}},"/brightdata":{"post":{"operationId":"brightData_brightdataProxy","summary":"Send a Web Unlocker / SERP request","description":"> **NativePort's API gateway is being discontinued.**\n>\n> NativePort now connects your team's AIs in shared rooms.\n>\n> [See what's new](https://nativeport.ai/)\n\nRelays to `https://api.brightdata.com/request`; `Authorization` is rewritten to Bright\nData's secret key. `POST` only, every control in the JSON body. Leave `zone` out and the\ngateway fills it from its configured zone. Request `format: \"raw\"` and the target site's\nbytes come back exactly as the site sent them.\n","tags":["brightData"],"responses":{"200":{"description":"The upstream's answer, relayed as-is. Typically the scraped page as HTML, raw bytes, or\nJSON under a structured/parsed mode. The upstream defines the exact shape.\n","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"401":{"description":"The bearer token was missing, unknown, or revoked. The reply body is the JSON `{ \"error\": \"Unauthorized.\" }`.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No route matched the path, or the matched route disallows that method (an unlisted\n`/serper/<endpoint>`, for instance). The body lists every mounted route, verbatim as the\ngateway sends it. A path on one of the four model-inference routes also `404`s this way when\nthe specific endpoint or model isn't on that provider's allowlist; an unsupported model\naddressed through `/inference` gets that endpoint's own `400` instead (see the Inference tag).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"security":[{"bearerAuth":[]}]}},"/spider/{path}":{"post":{"operationId":"spider_post","summary":"Relay a Spider POST","description":"> **NativePort's API gateway is being discontinued.**\n>\n> NativePort now connects your team's AIs in shared rooms.\n>\n> [See what's new](https://nativeport.ai/)\n\nHands the call to `https://api.spider.cloud/{path}`, rewriting `Authorization` to the secret\nSpider key. Covers the action endpoints — `scrape`, `crawl`, and so on.\n","tags":["spider"],"parameters":[{"name":"path","in":"path","description":"The path to call on the Spider API, `/` segments included — all of it after `/spider/` is\npassed to `https://api.spider.cloud/` when the allowlist admits it. Examples: `scrape`,\n`crawl`, `search`, `links`, `screenshot`, `transform`, `unblocker`.\n","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Whatever the upstream answered, relayed as-is (status, headers, body). Rendered here as\nJSON; the true shape is the upstream provider's to define.\n","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"401":{"description":"The bearer token was missing, unknown, or revoked. The reply body is the JSON `{ \"error\": \"Unauthorized.\" }`.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No route matched the path, or the matched route disallows that method (an unlisted\n`/serper/<endpoint>`, for instance). The body lists every mounted route, verbatim as the\ngateway sends it. A path on one of the four model-inference routes also `404`s this way when\nthe specific endpoint or model isn't on that provider's allowlist; an unsupported model\naddressed through `/inference` gets that endpoint's own `400` instead (see the Inference tag).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"security":[{"bearerAuth":[]}]}},"/apify/v2/acts/{actorId}/runs":{"post":{"operationId":"apify_startActorRun","summary":"Start an asynchronous actor run","description":"> **NativePort's API gateway is being discontinued.**\n>\n> NativePort now connects your team's AIs in shared rooms.\n>\n> [See what's new](https://nativeport.ai/)\n\nRelays to `https://api.apify.com/v2/acts/{actorId}/runs`, rewriting `Authorization` to the\nsecret Apify token; a client-sent `token` query parameter is discarded. The run starts and\nthe run object comes back immediately — or, with `waitForFinish`, once the run has finished\n(up to 60 s), which covers most short jobs in one call. This replaces the retired\n`run-sync` actions.\n\nThe run **and** its `data.defaultDatasetId` are registered to your account before the\nresponse reaches you, so `GET /apify/v2/actor-runs/{runId}`,\n`GET /apify/v2/datasets/{datasetId}/items`, and the abort route are already authorized for\nyou — and answer `404` for everyone else.\n\nThe create itself carries no flat charge. Once the run reaches a terminal state, it is\ncharged once, priced from its own `usageTotalUsd` as read about 15 seconds after it\nfinishes, to the account that created it.\n","tags":["apify"],"parameters":[{"name":"actorId","in":"path","description":"The actor, as **one** path segment in tilde form (e.g. `apify~web-scraper`). Apify's\nslash-separated `username/name` spelling is not accepted here — it would split across path\nsegments and miss the allowlist.\n","required":true,"schema":{"type":"string"}},{"name":"timeout","in":"query","description":"How long the run may take, in seconds, before Apify times it out. Apify's own default applies when omitted.","required":false,"schema":{"type":"integer","minimum":0}},{"name":"memory","in":"query","description":"Memory for the run, in megabytes. Apify's own default applies when omitted; more memory costs more compute.","required":false,"schema":{"type":"integer"}},{"name":"build","in":"query","description":"A specific actor build tag or number to run, instead of the actor's default build.","required":false,"schema":{"type":"string"}},{"name":"waitForFinish","in":"query","description":"Seconds to hold the response open waiting for the run to finish, up to Apify's own maximum.\nThe call still answers with the run object either way — it just may already be terminal, in\nwhich case the run's exact usage, plus the gateway's 5.5% fee, settles right there.\n","required":false,"schema":{"type":"integer","minimum":0}}],"responses":{"201":{"description":"An asynchronous run was started and the run object returned. The run and its\n`defaultDatasetId` are registered to your account before this reaches you, so the very next\npoll or dataset read is already authorized — and no other account can make either.\n\nKeep `data.id` to poll `GET /apify/v2/actor-runs/{data.id}`, and `data.defaultDatasetId` to\nread `GET /apify/v2/datasets/{data.defaultDatasetId}/items` once the run succeeds.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApifyRunEnvelope"}}}},"401":{"description":"The bearer token was missing, unknown, or revoked. The reply body is the JSON `{ \"error\": \"Unauthorized.\" }`.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No route matched the path, or the matched route disallows that method (an unlisted\n`/serper/<endpoint>`, for instance). The body lists every mounted route, verbatim as the\ngateway sends it. A path on one of the four model-inference routes also `404`s this way when\nthe specific endpoint or model isn't on that provider's allowlist; an unsupported model\naddressed through `/inference` gets that endpoint's own `400` instead (see the Inference tag).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"The upstream created the resource, but the gateway could not record it as yours — so it was\ndiscarded rather than handed back untracked, and nothing was charged for it. Retry the\nrequest.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"description":"The actor's own input object, passed to Apify untouched — its shape is defined by the actor\nyou are running, not by the gateway. See that actor's page on Apify for its input schema.\n","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"security":[{"bearerAuth":[]}]}},"/apify/v2/actor-tasks/{actorTaskId}/runs":{"post":{"operationId":"apify_startTaskRun","summary":"Start an asynchronous saved-task run","description":"> **NativePort's API gateway is being discontinued.**\n>\n> NativePort now connects your team's AIs in shared rooms.\n>\n> [See what's new](https://nativeport.ai/)\n\nRelays to `https://api.apify.com/v2/actor-tasks/{actorTaskId}/runs`, rewriting\n`Authorization` to the secret Apify token; a client-sent `token` query parameter is\ndiscarded. The saved-task spelling of `POST /apify/v2/acts/{actorId}/runs`, with the same\nownership and settlement behaviour: both ids are registered to your account, the create\ncarries no flat charge, and the run's exact `usageTotalUsd` plus the gateway's 5.5% fee is\ncharged once it is terminal.\n","tags":["apify"],"parameters":[{"name":"actorTaskId","in":"path","description":"The saved task, as **one** path segment — its id, or its tilde-form\n`username~task-name`. The slash-separated spelling is not accepted.\n","required":true,"schema":{"type":"string"}},{"name":"timeout","in":"query","description":"How long the run may take, in seconds, before Apify times it out. Apify's own default applies when omitted.","required":false,"schema":{"type":"integer","minimum":0}},{"name":"memory","in":"query","description":"Memory for the run, in megabytes. Apify's own default applies when omitted; more memory costs more compute.","required":false,"schema":{"type":"integer"}},{"name":"build","in":"query","description":"A specific actor build tag or number to run, instead of the actor's default build.","required":false,"schema":{"type":"string"}},{"name":"waitForFinish","in":"query","description":"Seconds to hold the response open waiting for the run to finish, up to Apify's own maximum.\nThe call still answers with the run object either way — it just may already be terminal, in\nwhich case the run's exact usage, plus the gateway's 5.5% fee, settles right there.\n","required":false,"schema":{"type":"integer","minimum":0}}],"responses":{"201":{"description":"An asynchronous run was started and the run object returned. The run and its\n`defaultDatasetId` are registered to your account before this reaches you, so the very next\npoll or dataset read is already authorized — and no other account can make either.\n\nKeep `data.id` to poll `GET /apify/v2/actor-runs/{data.id}`, and `data.defaultDatasetId` to\nread `GET /apify/v2/datasets/{data.defaultDatasetId}/items` once the run succeeds.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApifyRunEnvelope"}}}},"401":{"description":"The bearer token was missing, unknown, or revoked. The reply body is the JSON `{ \"error\": \"Unauthorized.\" }`.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No route matched the path, or the matched route disallows that method (an unlisted\n`/serper/<endpoint>`, for instance). The body lists every mounted route, verbatim as the\ngateway sends it. A path on one of the four model-inference routes also `404`s this way when\nthe specific endpoint or model isn't on that provider's allowlist; an unsupported model\naddressed through `/inference` gets that endpoint's own `400` instead (see the Inference tag).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"The upstream created the resource, but the gateway could not record it as yours — so it was\ndiscarded rather than handed back untracked, and nothing was charged for it. Retry the\nrequest.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"description":"Optional input overrides for the saved task. A task already carries its stored input, so an\nempty object runs it as saved; any fields you send are merged over that input by Apify.\n","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"security":[{"bearerAuth":[]}]}},"/apify/v2/actor-runs/{runId}":{"get":{"operationId":"apify_getRun","summary":"Poll an asynchronous run","description":"> **NativePort's API gateway is being discontinued.**\n>\n> NativePort now connects your team's AIs in shared rooms.\n>\n> [See what's new](https://nativeport.ai/)\n\nRelays to `https://api.apify.com/v2/actor-runs/{runId}`, rewriting `Authorization` to the\nsecret Apify token; a client-sent `token` query parameter is discarded. Answers with the run\nobject — its `status`, and, once the run is terminal, its final `usageTotalUsd`.\n\n**Ownership-gated**: only the account that created the run can read it. A run id belonging\nto another account, and one that never existed, answer the same `404`, with no upstream call\nmade on its behalf. The account-wide run *list* carries no id to gate, so it is not mounted\nand 404s as well.\n\nPolling costs nothing on its own. The first poll that observes a terminal status settles the\nrun's exact `usageTotalUsd` plus the gateway's 5.5% fee, once, against the account that\ncreated it — repeated terminal polls do not charge again.\n","tags":["apify"],"parameters":[{"name":"runId","in":"path","description":"The run, from `data.id` of the create that started it. Only the account that created the run\ncan name it: another account's run id, and one that never existed, answer the same `404`,\nrefused locally with no upstream call. A run you **do** own that Apify has since expired also\nanswers `404` — that read is authorized and reaches Apify, so what comes back is Apify's own\nanswer rather than the local refusal.\n","required":true,"schema":{"type":"string"}},{"name":"waitForFinish","in":"query","description":"Seconds to hold the response open waiting for the run to finish, up to Apify's own maximum.\nThe call still answers with the run object either way — it just may already be terminal, in\nwhich case the run's exact usage, plus the gateway's 5.5% fee, settles right there.\n","required":false,"schema":{"type":"integer","minimum":0}}],"responses":{"200":{"description":"Apify's own run envelope, relayed as it arrived. `data.status` follows Apify's run\nlifecycle: `READY` and `RUNNING` while the run is live, `SUCCEEDED`, `FAILED`, `TIMED-OUT`,\nor `ABORTED` once it is finished, with `TIMING-OUT` and `ABORTING` in between.\n\n`data.usageTotalUsd` is a running total until the run is terminal — which is why nothing is\ncharged before then. Once terminal, that exact figure plus the gateway's 5.5% fee is\ncharged once, to the account that created the run.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApifyRunEnvelope"}}}},"401":{"description":"The bearer token was missing, unknown, or revoked. The reply body is the JSON `{ \"error\": \"Unauthorized.\" }`.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No route matched the path, or the matched route disallows that method (an unlisted\n`/serper/<endpoint>`, for instance). The body lists every mounted route, verbatim as the\ngateway sends it. A path on one of the four model-inference routes also `404`s this way when\nthe specific endpoint or model isn't on that provider's allowlist; an unsupported model\naddressed through `/inference` gets that endpoint's own `400` instead (see the Inference tag).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"bearerAuth":[]}]}},"/apify/v2/actor-runs/{runId}/abort":{"post":{"operationId":"apify_abortRun","summary":"Abort an asynchronous run","description":"> **NativePort's API gateway is being discontinued.**\n>\n> NativePort now connects your team's AIs in shared rooms.\n>\n> [See what's new](https://nativeport.ai/)\n\nRelays to `https://api.apify.com/v2/actor-runs/{runId}/abort`, rewriting `Authorization` to\nthe secret Apify token; a client-sent `token` query parameter is discarded. Stops a run you\ncreated and answers with the run object in its new state. No request body is required.\n\n**Ownership-gated** exactly like the poll above: another account's run id answers `404`.\n\nAborting keeps the run readable: it still answers `GET /apify/v2/actor-runs/{runId}` with\nits terminal status and final usage, and its dataset still serves whatever it produced\nbefore stopping. An abort that lands the run in a terminal state settles its exact\n`usageTotalUsd` plus the gateway's 5.5% fee, once, against the account that created it.\n","tags":["apify"],"parameters":[{"name":"runId","in":"path","description":"The run, from `data.id` of the create that started it. Only the account that created the run\ncan name it: another account's run id, and one that never existed, answer the same `404`,\nrefused locally with no upstream call. A run you **do** own that Apify has since expired also\nanswers `404` — that read is authorized and reaches Apify, so what comes back is Apify's own\nanswer rather than the local refusal.\n","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Apify's own run envelope, relayed as it arrived. `data.status` follows Apify's run\nlifecycle: `READY` and `RUNNING` while the run is live, `SUCCEEDED`, `FAILED`, `TIMED-OUT`,\nor `ABORTED` once it is finished, with `TIMING-OUT` and `ABORTING` in between.\n\n`data.usageTotalUsd` is a running total until the run is terminal — which is why nothing is\ncharged before then. Once terminal, that exact figure plus the gateway's 5.5% fee is\ncharged once, to the account that created the run.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApifyRunEnvelope"}}}},"401":{"description":"The bearer token was missing, unknown, or revoked. The reply body is the JSON `{ \"error\": \"Unauthorized.\" }`.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No route matched the path, or the matched route disallows that method (an unlisted\n`/serper/<endpoint>`, for instance). The body lists every mounted route, verbatim as the\ngateway sends it. A path on one of the four model-inference routes also `404`s this way when\nthe specific endpoint or model isn't on that provider's allowlist; an unsupported model\naddressed through `/inference` gets that endpoint's own `400` instead (see the Inference tag).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"description":"An abort takes no body. Send none, or an empty object.","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"security":[{"bearerAuth":[]}]}},"/apify/v2/datasets/{datasetId}/items":{"get":{"operationId":"apify_getDatasetItems","summary":"Read the items an asynchronous run produced","description":"> **NativePort's API gateway is being discontinued.**\n>\n> NativePort now connects your team's AIs in shared rooms.\n>\n> [See what's new](https://nativeport.ai/)\n\nRelays to `https://api.apify.com/v2/datasets/{datasetId}/items`, rewriting `Authorization`\nto the secret Apify token; a client-sent `token` query parameter is discarded. Answers with\nthe items the run wrote to its default dataset, in the format the query asks for.\n\n**Ownership-gated**: the dataset was registered to your account alongside the run that\nwrites to it, and another account's dataset id answers the same `404` an unknown id answers.\nThe account-wide dataset *list* is not mounted, and neither is dataset metadata — only the\nitems.\n\nReading items is never charged: the run it came from is what carries the cost.\n","tags":["apify"],"parameters":[{"name":"datasetId","in":"path","description":"The dataset, from `data.defaultDatasetId` of the create that started the run writing to it.\nOwnership-gated the same way the run is.\n","required":true,"schema":{"type":"string"}},{"name":"format","in":"query","description":"The serialization of the returned items. Apify defaults to `json`.","required":false,"schema":{"$ref":"#/components/schemas/ApifyV2DatasetsDatasetIdItemsGetParametersFormat"}},{"name":"limit","in":"query","description":"How many items to return.","required":false,"schema":{"type":"integer","minimum":1}},{"name":"offset","in":"query","description":"How many items to skip before returning any — the other half of paging through a large dataset.","required":false,"schema":{"type":"integer","minimum":0}},{"name":"fields","in":"query","description":"A comma-separated list of fields to keep on each item; everything else is left out.","required":false,"schema":{"type":"string"}},{"name":"clean","in":"query","description":"Return only non-empty items, with each item's hidden fields dropped.","required":false,"schema":{"type":"boolean"}},{"name":"desc","in":"query","description":"Return the items newest-first instead of in insertion order.","required":false,"schema":{"type":"boolean"}}],"responses":{"200":{"description":"The items the run wrote to its default dataset, relayed as Apify returned them. Each item's\nshape is the actor's, not the gateway's. The default serialization is a JSON array; the\n`format` parameter selects another.\n","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","additionalProperties":{"description":"Any type"}}}}}},"401":{"description":"The bearer token was missing, unknown, or revoked. The reply body is the JSON `{ \"error\": \"Unauthorized.\" }`.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No route matched the path, or the matched route disallows that method (an unlisted\n`/serper/<endpoint>`, for instance). The body lists every mounted route, verbatim as the\ngateway sends it. A path on one of the four model-inference routes also `404`s this way when\nthe specific endpoint or model isn't on that provider's allowlist; an unsupported model\naddressed through `/inference` gets that endpoint's own `400` instead (see the Inference tag).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"bearerAuth":[]}]}},"/browserbase/{path}":{"get":{"operationId":"browserbase_get","summary":"Relay a Browserbase GET","description":"> **NativePort's API gateway is being discontinued.**\n>\n> NativePort now connects your team's AIs in shared rooms.\n>\n> [See what's new](https://nativeport.ai/)\n\nHands the call to `https://api.browserbase.com/{path}` with the secret `X-BB-API-Key` header\nadded and `Authorization` removed.\n","tags":["browserbase"],"parameters":[{"name":"path","in":"path","description":"The path to call on the Browserbase API, `/` segments included — all of it after `/browserbase/`\nis passed to `https://api.browserbase.com/` when the allowlist admits it. Examples:\n`v1/sessions`, `v1/sessions/{id}`.\n","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Whatever the upstream answered, relayed as-is (status, headers, body). Rendered here as\nJSON; the true shape is the upstream provider's to define.\n","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"401":{"description":"The bearer token was missing, unknown, or revoked. The reply body is the JSON `{ \"error\": \"Unauthorized.\" }`.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No route matched the path, or the matched route disallows that method (an unlisted\n`/serper/<endpoint>`, for instance). The body lists every mounted route, verbatim as the\ngateway sends it. A path on one of the four model-inference routes also `404`s this way when\nthe specific endpoint or model isn't on that provider's allowlist; an unsupported model\naddressed through `/inference` gets that endpoint's own `400` instead (see the Inference tag).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"bearerAuth":[]}]},"post":{"operationId":"browserbase_post","summary":"Relay a Browserbase POST","description":"> **NativePort's API gateway is being discontinued.**\n>\n> NativePort now connects your team's AIs in shared rooms.\n>\n> [See what's new](https://nativeport.ai/)\n\nHands the call to `https://api.browserbase.com/{path}` with the secret `X-BB-API-Key` header\nadded and `Authorization` removed. Creates or updates sessions. Note the WebSocket automation\nsession itself isn't proxied — point your client straight at the `connectUrl` the session\nhands back.\n","tags":["browserbase"],"parameters":[{"name":"path","in":"path","description":"The path to call on the Browserbase API, `/` segments included — all of it after `/browserbase/`\nis passed to `https://api.browserbase.com/` when the allowlist admits it. Examples:\n`v1/sessions`, `v1/sessions/{id}`.\n","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Whatever the upstream answered, relayed as-is (status, headers, body). Rendered here as\nJSON; the true shape is the upstream provider's to define.\n","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"401":{"description":"The bearer token was missing, unknown, or revoked. The reply body is the JSON `{ \"error\": \"Unauthorized.\" }`.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No route matched the path, or the matched route disallows that method (an unlisted\n`/serper/<endpoint>`, for instance). The body lists every mounted route, verbatim as the\ngateway sends it. A path on one of the four model-inference routes also `404`s this way when\nthe specific endpoint or model isn't on that provider's allowlist; an unsupported model\naddressed through `/inference` gets that endpoint's own `400` instead (see the Inference tag).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"security":[{"bearerAuth":[]}]}},"/zyte":{"post":{"operationId":"zyte_proxy","summary":"Scrape or extract with Zyte","description":"> **NativePort's API gateway is being discontinued.**\n>\n> NativePort now connects your team's AIs in shared rooms.\n>\n> [See what's new](https://nativeport.ai/)\n\nRelays to `https://api.zyte.com/v1/extract`, rewriting `Authorization` to the stored HTTP\nBasic credential (key as the username, blank password). `POST` only; each control rides in\nthe JSON body.\n","tags":["zyte"],"responses":{"200":{"description":"Whatever the upstream answered, relayed as-is (status, headers, body). Rendered here as\nJSON; the true shape is the upstream provider's to define.\n","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"401":{"description":"The bearer token was missing, unknown, or revoked. The reply body is the JSON `{ \"error\": \"Unauthorized.\" }`.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No route matched the path, or the matched route disallows that method (an unlisted\n`/serper/<endpoint>`, for instance). The body lists every mounted route, verbatim as the\ngateway sends it. A path on one of the four model-inference routes also `404`s this way when\nthe specific endpoint or model isn't on that provider's allowlist; an unsupported model\naddressed through `/inference` gets that endpoint's own `400` instead (see the Inference tag).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"security":[{"bearerAuth":[]}]}},"/fishaudio/v1/tts":{"post":{"operationId":"fishAudio_fishaudioTts","summary":"Synthesize speech (Text to Speech)","description":"> **NativePort's API gateway is being discontinued.**\n>\n> NativePort now connects your team's AIs in shared rooms.\n>\n> [See what's new](https://nativeport.ai/)\n\nRelays to `https://api.fish.audio/v1/tts`, overwriting `Authorization` with the gateway's\nFish Audio key. `text` is the only required body field; `reference_id` selects a voice,\n`references` (`application/msgpack` bodies only) supplies inline audio for zero-shot cloning,\nand `format` (`mp3` default, `wav`, `pcm`, `opus`) plus `sample_rate`/`prosody`/`latency`\ncontrol the output. Billed on the real UTF-8 byte count of `text` at $15.825/1M bytes, fee\nincluded.\n","tags":["fishAudio"],"parameters":[{"name":"model","in":"header","description":"Which Fish Audio TTS model to use.","required":true,"schema":{"$ref":"#/components/schemas/FishaudioV1TtsPostParametersModel"}}],"responses":{"200":{"description":"Chunked binary audio (`Transfer-Encoding: chunked`) in the requested `format` —\n`audio/mpeg` for `mp3`, raw bytes for `wav`/`pcm`/`opus`. Relayed byte-for-byte.\n","content":{"application/octet-stream":{"schema":{"type":"string","format":"binary"}}}},"401":{"description":"The bearer token was missing, unknown, or revoked. The reply body is the JSON `{ \"error\": \"Unauthorized.\" }`.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No route matched the path, or the matched route disallows that method (an unlisted\n`/serper/<endpoint>`, for instance). The body lists every mounted route, verbatim as the\ngateway sends it. A path on one of the four model-inference routes also `404`s this way when\nthe specific endpoint or model isn't on that provider's allowlist; an unsupported model\naddressed through `/inference` gets that endpoint's own `400` instead (see the Inference tag).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"security":[{"bearerAuth":[]}]}},"/fishaudio/v1/tts/stream/with-timestamp":{"post":{"operationId":"fishAudio_fishaudioTtsStreamWithTimestamp","summary":"Synthesize speech with word-level timestamps (streaming)","description":"> **NativePort's API gateway is being discontinued.**\n>\n> NativePort now connects your team's AIs in shared rooms.\n>\n> [See what's new](https://nativeport.ai/)\n\nSame request shape and `model` header as `/fishaudio/v1/tts`, relayed to\n`https://api.fish.audio/v1/tts/stream/with-timestamp`, but answers as Server-Sent Events\ninstead of a flat binary stream. Billed identically to `/fishaudio/v1/tts`.\n","tags":["fishAudio"],"parameters":[{"name":"model","in":"header","description":"Which Fish Audio TTS model to use.","required":true,"schema":{"$ref":"#/components/schemas/FishaudioV1TtsStreamWithTimestampPostParametersModel"}}],"responses":{"200":{"description":"A Server-Sent Events stream. Each `message` event is one JSON payload: `audio_base64`\n(concatenate every chunk, in arrival order, to reconstruct the full audio), `content`, a\ncumulative `alignment` snapshot (`{audio_duration, segments: [{text, start, end}]}`) keyed\nby `chunk_seq` — replace the stored snapshot for that `chunk_seq` on each new event,\nnever append — and `chunk_audio_offset_sec`.\n","content":{"text/event-stream":{"schema":{"type":"string"}}}},"401":{"description":"The bearer token was missing, unknown, or revoked. The reply body is the JSON `{ \"error\": \"Unauthorized.\" }`.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No route matched the path, or the matched route disallows that method (an unlisted\n`/serper/<endpoint>`, for instance). The body lists every mounted route, verbatim as the\ngateway sends it. A path on one of the four model-inference routes also `404`s this way when\nthe specific endpoint or model isn't on that provider's allowlist; an unsupported model\naddressed through `/inference` gets that endpoint's own `400` instead (see the Inference tag).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"security":[{"bearerAuth":[]}]}},"/fishaudio/v1/asr":{"post":{"operationId":"fishAudio_fishaudioAsr","summary":"Transcribe audio (Speech to Text)","description":"> **NativePort's API gateway is being discontinued.**\n>\n> NativePort now connects your team's AIs in shared rooms.\n>\n> [See what's new](https://nativeport.ai/)\n\nRelays to `https://api.fish.audio/v1/asr`, overwriting `Authorization` with the gateway's\nFish Audio key. No `model` header — Fish Audio's ASR is a single model. Billed on the\nresponse's real `duration`, rounded up to the nearest second, at $0.3798/audio hour, fee\nincluded.\n","tags":["fishAudio"],"responses":{"200":{"description":"The transcription, relayed untouched.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Fish_Audio_fishaudioAsr_Response_200"}}}},"401":{"description":"The bearer token was missing, unknown, or revoked. The reply body is the JSON `{ \"error\": \"Unauthorized.\" }`.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No route matched the path, or the matched route disallows that method (an unlisted\n`/serper/<endpoint>`, for instance). The body lists every mounted route, verbatim as the\ngateway sends it. A path on one of the four model-inference routes also `404`s this way when\nthe specific endpoint or model isn't on that provider's allowlist; an unsupported model\naddressed through `/inference` gets that endpoint's own `400` instead (see the Inference tag).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"audio":{"type":"string","description":"Audio to transcribe, base64-encoded."},"language":{"type":["string","null"],"description":"Optional language hint."},"ignore_timestamps":{"type":"boolean","default":true,"description":"Set false for per-segment timing on audio under 30 seconds, at higher latency.\n"}},"required":["audio"]}}}},"security":[{"bearerAuth":[]}]}},"/fishaudio/v1/voice-design":{"post":{"operationId":"fishAudio_fishaudioVoiceDesign","summary":"Generate synthetic voice candidates (Voice Design)","description":"> **NativePort's API gateway is being discontinued.**\n>\n> NativePort now connects your team's AIs in shared rooms.\n>\n> [See what's new](https://nativeport.ai/)\n\nRelays to `https://api.fish.audio/v1/voice-design`, overwriting `Authorization` with the\ngateway's Fish Audio key. Billed a flat $0.01055 per successful request (Fish Audio's own\nrate plus the gateway's 5.5% fee); validation, balance, concurrency, and service errors are\nnot billed. Candidates are one-off generations, not persisted voices — turning one into a\nreusable model would need `/model`, which this gateway does not mount.\n","tags":["fishAudio"],"parameters":[{"name":"model","in":"header","description":"Voice-design model to use — currently only one value.","required":true,"schema":{"$ref":"#/components/schemas/FishaudioV1VoiceDesignPostParametersModel"}}],"responses":{"200":{"description":"The generated candidates, relayed untouched.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Fish_Audio_fishaudioVoiceDesign_Response_200"}}}},"401":{"description":"The bearer token was missing, unknown, or revoked. The reply body is the JSON `{ \"error\": \"Unauthorized.\" }`.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No route matched the path, or the matched route disallows that method (an unlisted\n`/serper/<endpoint>`, for instance). The body lists every mounted route, verbatim as the\ngateway sends it. A path on one of the four model-inference routes also `404`s this way when\nthe specific endpoint or model isn't on that provider's allowlist; an unsupported model\naddressed through `/inference` gets that endpoint's own `400` instead (see the Inference tag).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"instruction":{"type":"string","minLength":1,"maxLength":2000,"description":"Voice design prompt."},"reference_text":{"type":["string","null"],"maxLength":150},"language":{"type":["string","null"],"description":"Optional BCP-47 language hint."},"n":{"type":"integer","minimum":1,"maximum":4,"default":2,"description":"Number of voice candidates to generate."},"speed":{"type":"number","format":"double","default":1},"num_step":{"type":"integer","default":32},"guidance_scale":{"type":"number","format":"double","default":2},"instruct_guidance_scale":{"type":"number","format":"double","default":0},"seed":{"type":["integer","null"]}},"required":["instruction"]}}}},"security":[{"bearerAuth":[]}]}},"/browserless/screenshot":{"post":{"operationId":"browserless_screenshot","summary":"Capture a screenshot with Browserless","description":"> **NativePort's API gateway is being discontinued.**\n>\n> NativePort now connects your team's AIs in shared rooms.\n>\n> [See what's new](https://nativeport.ai/)\n\nRelays to `https://production-sfo.browserless.io/screenshot`, injecting the `token` query\nparameter and forcing `timeout=30000`. Send `url` or `html` (not both); `options` carries\nPuppeteer-style screenshot settings (`type`: `png`/`jpeg`/`webp`, `fullPage`, `quality`,\n`clip`, and so on). See the Browserless tag description above for the full field policy.\n","tags":["browserless"],"responses":{"200":{"description":"The captured image — `image/png` by default, or `image/jpeg`/`image/webp` when\n`options.type` requests it — relayed byte-for-byte.\n","content":{"application/octet-stream":{"schema":{"type":"string","format":"binary"}}}},"400":{"description":"The gateway's own closed field policy rejected the call before it reached Browserless — an\nunrecognized query parameter, a disallowed body field (a cost-expanding, launch,\nproxy/CAPTCHA, or cross-tenant `profile` control, or anything else outside the allow-set), or\na body that isn't a valid JSON object. Plain gateway-shaped error, not Browserless's own\nenvelope, since Browserless was never reached.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The bearer token was missing, unknown, or revoked. The reply body is the JSON `{ \"error\": \"Unauthorized.\" }`.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No route matched the path, or the matched route disallows that method (an unlisted\n`/serper/<endpoint>`, for instance). The body lists every mounted route, verbatim as the\ngateway sends it. A path on one of the four model-inference routes also `404`s this way when\nthe specific endpoint or model isn't on that provider's allowlist; an unsupported model\naddressed through `/inference` gets that endpoint's own `400` instead (see the Inference tag).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"security":[{"bearerAuth":[]}]}},"/browserless/pdf":{"post":{"operationId":"browserless_pdf","summary":"Render a PDF with Browserless","description":"> **NativePort's API gateway is being discontinued.**\n>\n> NativePort now connects your team's AIs in shared rooms.\n>\n> [See what's new](https://nativeport.ai/)\n\nRelays to `https://production-sfo.browserless.io/pdf`, injecting the `token` query parameter\nand forcing `timeout=30000`. Send `url` or `html` (not both); `options` mirrors Puppeteer's\nPDF settings (`format`, `printBackground`, `displayHeaderFooter`, `pageRanges`, and so on).\n","tags":["browserless"],"responses":{"200":{"description":"The rendered document as `application/pdf`, relayed byte-for-byte.","content":{"application/octet-stream":{"schema":{"type":"string","format":"binary"}}}},"400":{"description":"The gateway's own closed field policy rejected the call before it reached Browserless — an\nunrecognized query parameter, a disallowed body field (a cost-expanding, launch,\nproxy/CAPTCHA, or cross-tenant `profile` control, or anything else outside the allow-set), or\na body that isn't a valid JSON object. Plain gateway-shaped error, not Browserless's own\nenvelope, since Browserless was never reached.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The bearer token was missing, unknown, or revoked. The reply body is the JSON `{ \"error\": \"Unauthorized.\" }`.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No route matched the path, or the matched route disallows that method (an unlisted\n`/serper/<endpoint>`, for instance). The body lists every mounted route, verbatim as the\ngateway sends it. A path on one of the four model-inference routes also `404`s this way when\nthe specific endpoint or model isn't on that provider's allowlist; an unsupported model\naddressed through `/inference` gets that endpoint's own `400` instead (see the Inference tag).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"security":[{"bearerAuth":[]}]}},"/browserless/content":{"post":{"operationId":"browserless_content","summary":"Fetch fully rendered HTML","description":"> **NativePort's API gateway is being discontinued.**\n>\n> NativePort now connects your team's AIs in shared rooms.\n>\n> [See what's new](https://nativeport.ai/)\n\nRelays to `https://production-sfo.browserless.io/content`, injecting the `token` query\nparameter and forcing `timeout=30000`. Send `url` or `html` (not both); admits only the\ncommon field set — no `options` or `elements` (see the Browserless tag description above).\n","tags":["browserless"],"responses":{"200":{"description":"The fully rendered page, JavaScript included, as `text/html`.","content":{"application/json":{"schema":{"type":"object","properties":{}}}}},"400":{"description":"The gateway's own closed field policy rejected the call before it reached Browserless — an\nunrecognized query parameter, a disallowed body field (a cost-expanding, launch,\nproxy/CAPTCHA, or cross-tenant `profile` control, or anything else outside the allow-set), or\na body that isn't a valid JSON object. Plain gateway-shaped error, not Browserless's own\nenvelope, since Browserless was never reached.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The bearer token was missing, unknown, or revoked. The reply body is the JSON `{ \"error\": \"Unauthorized.\" }`.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No route matched the path, or the matched route disallows that method (an unlisted\n`/serper/<endpoint>`, for instance). The body lists every mounted route, verbatim as the\ngateway sends it. A path on one of the four model-inference routes also `404`s this way when\nthe specific endpoint or model isn't on that provider's allowlist; an unsupported model\naddressed through `/inference` gets that endpoint's own `400` instead (see the Inference tag).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"security":[{"bearerAuth":[]}]}},"/browserless/scrape":{"post":{"operationId":"browserless_scrape","summary":"Extract structured data with CSS selectors","description":"> **NativePort's API gateway is being discontinued.**\n>\n> NativePort now connects your team's AIs in shared rooms.\n>\n> [See what's new](https://nativeport.ai/)\n\nRelays to `https://production-sfo.browserless.io/scrape`, injecting the `token` query\nparameter and forcing `timeout=30000`. `elements` — required, alongside `url` or `html` —\nlists the CSS selectors to capture.\n","tags":["browserless"],"responses":{"200":{"description":"One result set per selector — `text`, `html`, `attributes`, and layout box — as\n`application/json`.\n","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"400":{"description":"The gateway's own closed field policy rejected the call before it reached Browserless — an\nunrecognized query parameter, a disallowed body field (a cost-expanding, launch,\nproxy/CAPTCHA, or cross-tenant `profile` control, or anything else outside the allow-set), or\na body that isn't a valid JSON object. Plain gateway-shaped error, not Browserless's own\nenvelope, since Browserless was never reached.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The bearer token was missing, unknown, or revoked. The reply body is the JSON `{ \"error\": \"Unauthorized.\" }`.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No route matched the path, or the matched route disallows that method (an unlisted\n`/serper/<endpoint>`, for instance). The body lists every mounted route, verbatim as the\ngateway sends it. A path on one of the four model-inference routes also `404`s this way when\nthe specific endpoint or model isn't on that provider's allowlist; an unsupported model\naddressed through `/inference` gets that endpoint's own `400` instead (see the Inference tag).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"security":[{"bearerAuth":[]}]}},"/steel/scrape":{"post":{"operationId":"steel_scrape","summary":"Scrape a page with Steel","description":"> **NativePort's API gateway is being discontinued.**\n>\n> NativePort now connects your team's AIs in shared rooms.\n>\n> [See what's new](https://nativeport.ai/)\n\nRelays to `https://api.steel.dev/v1/scrape`, injecting the `steel-api-key` header. Loads\n`url` and returns page content — the response always includes `content`, `metadata`, and\n`links`; `format` controls which content variants come back (`html` if omitted). Add\n`screenshot: true` or `pdf: true` to bundle a hosted file alongside the scraped content in\nthe same call. See the Steel tag description above for the full field policy.\n","tags":["steel"],"responses":{"200":{"description":"Steel's own scrape result — `content`, `metadata`, and `links` — as `application/json`, relayed as-is.","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"400":{"description":"The gateway's own closed field policy rejected the call before it reached Steel — any query\nparameter (none are permitted), a disallowed or out-of-range body field (`useProxy`, a\n`delay` outside `0`–`10000`, an unrecognized `format` value, or anything else outside the\nallow-set), or a body that isn't a valid JSON object. Plain gateway-shaped error, not Steel's\nown envelope, since Steel was never reached.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The bearer token was missing, unknown, or revoked. The reply body is the JSON `{ \"error\": \"Unauthorized.\" }`.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No route matched the path, or the matched route disallows that method (an unlisted\n`/serper/<endpoint>`, for instance). The body lists every mounted route, verbatim as the\ngateway sends it. A path on one of the four model-inference routes also `404`s this way when\nthe specific endpoint or model isn't on that provider's allowlist; an unsupported model\naddressed through `/inference` gets that endpoint's own `400` instead (see the Inference tag).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"security":[{"bearerAuth":[]}]}},"/steel/screenshot":{"post":{"operationId":"steel_screenshot","summary":"Capture a screenshot with Steel","description":"> **NativePort's API gateway is being discontinued.**\n>\n> NativePort now connects your team's AIs in shared rooms.\n>\n> [See what's new](https://nativeport.ai/)\n\nRelays to `https://api.steel.dev/v1/screenshot`, injecting the `steel-api-key` header.\nLoads `url` and returns a hosted PNG. Use `fullPage: true` to capture the entire scrollable\npage instead of just the viewport.\n","tags":["steel"],"responses":{"200":{"description":"A hosted, public, durable PNG URL, as `application/json`.","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"400":{"description":"The gateway's own closed field policy rejected the call before it reached Steel — any query\nparameter (none are permitted), a disallowed or out-of-range body field (`useProxy`, a\n`delay` outside `0`–`10000`, an unrecognized `format` value, or anything else outside the\nallow-set), or a body that isn't a valid JSON object. Plain gateway-shaped error, not Steel's\nown envelope, since Steel was never reached.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The bearer token was missing, unknown, or revoked. The reply body is the JSON `{ \"error\": \"Unauthorized.\" }`.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No route matched the path, or the matched route disallows that method (an unlisted\n`/serper/<endpoint>`, for instance). The body lists every mounted route, verbatim as the\ngateway sends it. A path on one of the four model-inference routes also `404`s this way when\nthe specific endpoint or model isn't on that provider's allowlist; an unsupported model\naddressed through `/inference` gets that endpoint's own `400` instead (see the Inference tag).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"security":[{"bearerAuth":[]}]}},"/steel/pdf":{"post":{"operationId":"steel_pdf","summary":"Render a PDF with Steel","description":"> **NativePort's API gateway is being discontinued.**\n>\n> NativePort now connects your team's AIs in shared rooms.\n>\n> [See what's new](https://nativeport.ai/)\n\nRelays to `https://api.steel.dev/v1/pdf`, injecting the `steel-api-key` header. Loads `url`\nand returns a hosted PDF. Same shape as `/steel/screenshot`: a JSON body with one hosted URL.\n","tags":["steel"],"responses":{"200":{"description":"A hosted, public, durable PDF URL, as `application/json`.","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"400":{"description":"The gateway's own closed field policy rejected the call before it reached Steel — any query\nparameter (none are permitted), a disallowed or out-of-range body field (`useProxy`, a\n`delay` outside `0`–`10000`, an unrecognized `format` value, or anything else outside the\nallow-set), or a body that isn't a valid JSON object. Plain gateway-shaped error, not Steel's\nown envelope, since Steel was never reached.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The bearer token was missing, unknown, or revoked. The reply body is the JSON `{ \"error\": \"Unauthorized.\" }`.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No route matched the path, or the matched route disallows that method (an unlisted\n`/serper/<endpoint>`, for instance). The body lists every mounted route, verbatim as the\ngateway sends it. A path on one of the four model-inference routes also `404`s this way when\nthe specific endpoint or model isn't on that provider's allowlist; an unsupported model\naddressed through `/inference` gets that endpoint's own `400` instead (see the Inference tag).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"security":[{"bearerAuth":[]}]}},"/mistral/v1/ocr":{"post":{"operationId":"mistral_ocr","summary":"OCR a document or image (Document AI)","description":"> **NativePort's API gateway is being discontinued.**\n>\n> NativePort now connects your team's AIs in shared rooms.\n>\n> [See what's new](https://nativeport.ai/)\n\nRelays to `https://api.mistral.ai/v1/ocr`, injecting the `Authorization: Bearer` credential.\nExtracts the selected pages of a PDF (or a single image) as per-page markdown, optionally\nwith structured annotations pulled from the same pass. This is the only mounted Mistral\nroute — every other Mistral path answers the gateway's own `404`, this one included under any\nother method or with a trailing slash.\n\nUnlike the transparent routes in this spec, the body is a closed allow-set and the forwarded\nrequest is rebuilt from it:\n\n- `model` is pinned to `mistral-ocr-4-0`. Send it or omit it; any other value — including the\n  `mistral-ocr-latest` alias — is a `400`.\n- `document` must be a `document_url` chunk (optionally with a `document_name`) or an\n  `image_url` chunk, carrying a public `https` URL. Mistral's `file_id` chunk is denied: the\n  shared account key behind this route would make one client's uploaded file readable by all.\n- `pages` is **required** and selects at most 100 unique, zero-based page indices — an\n  integer array, or a string of comma-separated indices and `start-end` ranges. It is the\n  cost basis the balance preflight prices, which is why the route asks for it up front\n  instead of defaulting to the whole document.\n- `include_blocks` and `include_image_base64` are always forwarded as `false`; asking for\n  `true` is a `400`, as are `image_limit` and `image_min_size`, and so is any field the\n  policy doesn't recognize.\n- Adding `document_annotation_format` or `bbox_annotation_format` prices the whole call at\n  the Document AI rate ($5.275 per 1,000 pages) instead of the OCR rate\n  ($4.22 per 1,000 pages), both with the gateway's 5.5% fee included; the two rates never\n  stack, and `document_annotation_prompt` alone does not change the rate.\n\nMistral's answer comes back exactly as it arrived — status, headers, and body bytes — and the\ncharge is settled from the `usage_info.pages_processed` it reports. There is no retry: a\nsecond attempt is yours to make, as a separate, separately billed request.\n","tags":["mistral"],"responses":{"200":{"description":"Mistral's own OCR result, relayed byte-for-byte — one entry per processed page, plus the\n`usage_info.pages_processed` count the charge is settled from. Fields the request asked for\n(`document_annotation`, per-image `image_annotation`) appear alongside; `image_base64` is\nalways `null`, since the gateway forwards `include_image_base64: false`.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MistralOcrResponse"}}}},"400":{"description":"The gateway's own closed body policy rejected the call before it reached Mistral — a missing or\nout-of-bounds `pages` selection, a `document` that isn't one of the two admitted URL chunks (or\nwhose URL isn't a public `https` one), an aliased or unknown `model`, a query parameter (none\nare permitted), a request for a forced-`false` or denied field, or anything else the policy\ndoesn't recognize. Plain gateway-shaped error, not Mistral's own envelope, since Mistral was\nnever reached — and nothing is billed.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The bearer token was missing, unknown, or revoked. The reply body is the JSON `{ \"error\": \"Unauthorized.\" }`.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Insufficient credits — two distinct checks, at two layers, can answer this status:\n\n- **The account-wide credit gate**, shared by every route in this spec (see [Common\n  responses](/api-reference)), rejects the call before the OCR policy runs at all if the\n  account balance is zero or negative.\n- **The per-request balance preflight**, this route's page-priced form of the per-request\n  cost preflight that every priced route in this spec runs: the selected page count times the\n  applicable per-page rate is compared with the remaining balance *before* the upstream\n  request, and a job that doesn't fit is refused rather than forwarded. The message names the\n  price in microcredits and the number of pages selected, so the fix — top up, or select\n  fewer pages — is unambiguous. Nothing is charged either way.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No route matched the path, or the matched route disallows that method (an unlisted\n`/serper/<endpoint>`, for instance). The body lists every mounted route, verbatim as the\ngateway sends it. A path on one of the four model-inference routes also `404`s this way when\nthe specific endpoint or model isn't on that provider's allowlist; an unsupported model\naddressed through `/inference` gets that endpoint's own `400` instead (see the Inference tag).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"description":"The OCR request. A closed allow-set: `document` and `pages` are required, every other field\nbelow is optional, and anything not listed is rejected with a `400` before Mistral is called.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MistralOcrRequest"}}}},"security":[{"bearerAuth":[]}]}},"/llamaparse/v2/parse":{"post":{"operationId":"llamaParse_createParse","summary":"Start a document parse","description":"> **NativePort's API gateway is being discontinued.**\n>\n> NativePort now connects your team's AIs in shared rooms.\n>\n> [See what's new](https://nativeport.ai/)\n\nRelays to `https://api.cloud.llamaindex.ai/api/v2/parse`, injecting the\n`Authorization: Bearer` credential. Starts an asynchronous parse of the document at\n`source_url` and answers with the job id to poll. This and\n`GET /llamaparse/v2/parse/{job_id}` are the only mounted LlamaParse routes — every other\nLlamaParse path answers the gateway's own `404`, this one included under any other method.\n\nThe body is a closed allow-set of exactly four fields and at most 8,192 bytes, and the\nrequest forwarded upstream is rebuilt from it:\n\n- `source_url` is a credential-free `https` URL on any public host — a signed\n  object-storage link, a document on your own site, or any public PDF. LlamaCloud fetches\n  the document itself, from its own network. The body cap is also why an inline `data:`\n  document is never an option: send a URL.\n- `tier` is one of `fast`, `cost_effective`, `agentic`, `agentic_plus` and sets the per-page\n  rate for the whole job.\n- `version` is `latest` or a past `YYYY-MM-DD` calendar version.\n- `page_ranges` is **required** and carries exactly one of `max_pages` (1–100) or\n  `target_pages` (a 1-based selection, as an integer array or a `start-end` range string).\n  At most 100 unique pages, no page number above 10000. It is the cost basis, which is why\n  the route asks for it up front instead of defaulting to the whole document.\n\nQuery parameters are not accepted, and any field the policy doesn't recognize is a `400`\nbefore LlamaCloud is reached. The job is registered to the calling account, which is the\nonly account that can read it afterwards.\n\nBefore the upstream call, the selected-page ceiling at the tier's rate is reserved against\nyour balance; a job that doesn't fit answers `402` and is never forwarded, and a create that\nproduces no reachable job releases the reservation in full. Once the job finishes and\nLlamaCloud reports what it used, the reservation settles to that exact figure plus the\ngateway's 5.5% fee; while the figure is outstanding the reservation stands, and if it never\narrives the reservation is the charge.\n\nThere is no retry. If a create times out ambiguously the job may already exist, so don't\nresend it blind — persist the id a create returns and poll the status route.\n","tags":["llamaParse"],"responses":{"200":{"description":"The parse job was created and registered to your account. The gateway re-serializes the\nanswer down to the three fields you need — the job id to poll, its current status, and the\ntier it will be billed at — so LlamaCloud's shared-account identifiers never reach you. The\nupstream's own success status is preserved, so treat any `2xx` here as \"the job exists\".\n\nPoll `GET /llamaparse/v2/parse/{id}` from here. Persist `id` before doing anything else: it\nis the only handle to the job, and to the work already reserved against your balance.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LlamaparseCreatedJob"}}}},"400":{"description":"The gateway's own closed body policy rejected the create before it reached LlamaCloud — a\nmissing or unrecognized field, a `source_url` the URL policy refuses,\nan unknown `tier`, a `version` that isn't `latest` or a past calendar date, a `page_ranges`\nthat doesn't carry exactly one of `max_pages` or `target_pages`, an out-of-bounds or\nambiguous page selection, or any query parameter (none are permitted). Plain gateway-shaped\nerror, not LlamaCloud's own envelope, since LlamaCloud was never reached — and nothing is\nbilled or reserved.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The bearer token was missing, unknown, or revoked. The reply body is the JSON `{ \"error\": \"Unauthorized.\" }`.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Insufficient credits — two distinct checks, at two layers, can answer this status:\n\n- **The account-wide credit gate**, shared by every route in this spec (see [Common\n  responses](/api-reference)), rejects the call before the parse policy runs at all if the\n  account balance is zero or negative.\n- **The create-time reservation**, this route's page-priced preflight: the selected-page\n  ceiling times the tier's per-page rate is reserved against the remaining balance *before*\n  the upstream request, in one atomic step, and a job that doesn't fit is refused rather\n  than forwarded. The message names the price in microcredits and the number of pages\n  selected, so the fix — top up, select fewer pages, or choose a cheaper tier — is\n  unambiguous. Nothing is charged either way.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No route matched the path, or the matched route disallows that method (an unlisted\n`/serper/<endpoint>`, for instance). The body lists every mounted route, verbatim as the\ngateway sends it. A path on one of the four model-inference routes also `404`s this way when\nthe specific endpoint or model isn't on that provider's allowlist; an unsupported model\naddressed through `/inference` gets that endpoint's own `400` instead (see the Inference tag).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"The upstream created the resource, but the gateway could not record it as yours — so it was\ndiscarded rather than handed back untracked, and nothing was charged for it. Retry the\nrequest.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"The upstream call did not produce a response the gateway will forward. LlamaCloud's own\nerror bodies and headers are never relayed — they can echo the shared credential, your\nsigned source URL, or document content — so the gateway answers in its own shape and alerts\nits operators. On a create, anything reserved for the job is released.\n\n`502` covers the two cases the gateway substitutes a status for: an upstream credential\nfailure, and a success whose body it could not safely read. When the upstream simply refuses\na request, **its** status is preserved (so you can tell \"I sent something wrong\" from \"back\noff\" from \"the upstream is down\") and only the body is replaced — with the same\n`{\"error\": …}` shape shown here, naming that status. A `retry-after` the upstream sent is\ncarried over.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"description":"The parse request. A closed allow-set: all four fields are required, and anything not listed\nis rejected with a `400` before LlamaCloud is called.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LlamaparseParseRequest"}}}},"security":[{"bearerAuth":[]}]}},"/llamaparse/v2/parse/{job_id}":{"get":{"operationId":"llamaParse_getParse","summary":"Read a parse job","description":"> **NativePort's API gateway is being discontinued.**\n>\n> NativePort now connects your team's AIs in shared rooms.\n>\n> [See what's new](https://nativeport.ai/)\n\nRelays to `https://api.cloud.llamaindex.ai/api/v2/parse/{job_id}`, injecting the\n`Authorization: Bearer` credential. Answers with the job and its `status` — `PENDING`,\n`RUNNING`, `COMPLETED`, `FAILED`, or `CANCELLED` — plus, when `expand` asks for it, the\nparsed content itself.\n\nPoll this route until the status is terminal (`COMPLETED`, `FAILED`, or `CANCELLED`).\nPolling is not itself billed; the job's charge is reconciled to LlamaCloud's own exact\nreported usage, plus the gateway's 5.5% fee, once that usage is reported, whether or not you\nare polling at that moment.\nUntil then the create-time reservation stands, and if the exact usage is never reported the\nreservation is what the job is charged.\n\n**Ownership is enforced here**: the account that created the job is the only one that can\nread it, and any other account gets the same `404` an unknown id gets, with no upstream call\nmade on its behalf. The gateway re-serializes the answer, so shared-account identifiers and\nits own internal reconciliation fields never appear in it.\n","tags":["llamaParse"],"parameters":[{"name":"job_id","in":"path","description":"The job id a create returned. Only the account that created the job can read it: an id\nbelonging to another account and an unknown id answer the same `404`, refused locally with\nno upstream call, so the two are indistinguishable. A job you **do** own whose results\nLlamaCloud has since expired also answers `404`, but that read is authorized and does\nreach the upstream, so the answer is the upstream's `404` relayed under the gateway's error\nshape rather than the local refusal.\n","required":true,"schema":{"type":"string"}},{"name":"expand","in":"query","description":"Pull the parsed content inline. `text` returns plain text; `markdown` returns markdown and\nis available for every tier except `fast`, which produces none. No other value is\naccepted, and the parameter may be given only once. Omit it to read status alone.\n","required":false,"schema":{"$ref":"#/components/schemas/LlamaparseV2ParseJobIdGetParametersExpand"}}],"responses":{"200":{"description":"The job as LlamaCloud reports it, re-serialized by the gateway with its shared-account\nidentifiers and internal reconciliation fields removed. `job.status` is `PENDING`,\n`RUNNING`, `COMPLETED`, `FAILED`, or `CANCELLED`; the first two mean keep polling. Parsed\ncontent appears only when `expand` asked for it.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LlamaparseJobResponse"}}}},"400":{"description":"The status read's query was rejected. Only `expand` is accepted, only once, and only with\nthe value `text` or `markdown` — and `markdown` isn't available for a `fast`-tier job, which\nproduces none. Nothing is billed, and no upstream call is made.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"The bearer token was missing, unknown, or revoked. The reply body is the JSON `{ \"error\": \"Unauthorized.\" }`.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No route matched the path, or the matched route disallows that method (an unlisted\n`/serper/<endpoint>`, for instance). The body lists every mounted route, verbatim as the\ngateway sends it. A path on one of the four model-inference routes also `404`s this way when\nthe specific endpoint or model isn't on that provider's allowlist; an unsupported model\naddressed through `/inference` gets that endpoint's own `400` instead (see the Inference tag).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"The upstream call did not produce a response the gateway will forward. LlamaCloud's own\nerror bodies and headers are never relayed — they can echo the shared credential, your\nsigned source URL, or document content — so the gateway answers in its own shape and alerts\nits operators. On a create, anything reserved for the job is released.\n\n`502` covers the two cases the gateway substitutes a status for: an upstream credential\nfailure, and a success whose body it could not safely read. When the upstream simply refuses\na request, **its** status is preserved (so you can tell \"I sent something wrong\" from \"back\noff\" from \"the upstream is down\") and only the body is replaced — with the same\n`{\"error\": …}` shape shown here, naming that status. A `retry-after` the upstream sent is\ncarried over.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"bearerAuth":[]}]}},"/openai/webhooks":{"post":{"operationId":"openAi_webhook","summary":"OpenAI's own job-completion webhook (not client-facing)","description":"> **NativePort's API gateway is being discontinued.**\n>\n> NativePort now connects your team's AIs in shared rooms.\n>\n> [See what's new](https://nativeport.ai/)\n\nReceives OpenAI's asynchronous batch/fine-tuning completion callbacks and settles the job's\ncost against its registered owner. This endpoint is called by **OpenAI**, not by gateway\nclients — it is authenticated by a Standard Webhooks HMAC signature over the request, not by\na bearer token, and it sits outside the credit gate entirely. Register it as the webhook URL\nin your own OpenAI dashboard if you operate this gateway; nothing about it is reachable or\nuseful with a regular NativePort API key.\n","tags":["openAi"],"responses":{"200":{"description":"The webhook payload was verified and processed (or safely ignored, for an event type this gateway doesn't act on).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OpenAI_webhook_Response_200"}}}},"400":{"description":"The request's Standard Webhooks signature failed verification, or the payload was malformed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}}}},"/openai/{path}":{"get":{"operationId":"openAi_get","summary":"Relay an OpenAI GET: models, files, vector stores, batches","description":"> **NativePort's API gateway is being discontinued.**\n>\n> NativePort now connects your team's AIs in shared rooms.\n>\n> [See what's new](https://nativeport.ai/)\n\n`GET /v1/models` and `GET /v1/models/{id}` answer locally from the gateway's own catalog —\nOpenAI's upstream model list is never proxied (it would enumerate the shared org). Every\nother admitted `GET` reads a stateful resource **you created through this gateway**\n(a file, vector store, batch, or fine-tuning job, including its bare list form, which is\nalso answered locally from the gateway's ownership records rather than proxied); an id you\ndon't own answers the same anonymous `404` as an id that never existed.\n","tags":["openAi"],"parameters":[{"name":"path","in":"path","description":"The path to call on OpenAI's API, any further `/` segments included — all of it after\n`/openai/` is passed to `https://api.openai.com/` when the gateway's model catalog and\nendpoint/field policy admit the request (see the OpenAI tag description and *The four\nmodel-inference routes are policed, not transparent* above). Examples:\n`v1/chat/completions`, `v1/responses`, `v1/embeddings`, `v1/moderations`, `v1/models`,\n`v1/models/{model}`, `v1/files`, `v1/files/{id}`, `v1/vector_stores`,\n`v1/batches`, `v1/batches/{id}/cancel`, `v1/fine_tuning/jobs`,\n`v1/fine_tuning/jobs/{id}/events`.\n","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Whatever the upstream answered, relayed as-is (status, headers, body). Rendered here as\nJSON; the true shape is the upstream provider's to define.\n","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"400":{"description":"The gateway's own request-policy check rejected the call before it reached the upstream —\nan unrecognized `model`, a disallowed body field, an unapproved `anthropic-beta` flag, or\nsimilar. Shaped like the upstream's own error envelope (OpenAI/Grok/Hugging Face style) so\nofficial SDKs render it without special-casing; the `code` value (`gateway_*`) names the\nspecific rejection reason and isn't part of the upstream's own documented set of codes.\n","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"401":{"description":"The bearer token was missing, unknown, or revoked. The reply body is the JSON `{ \"error\": \"Unauthorized.\" }`.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No route matched the path, or the matched route disallows that method (an unlisted\n`/serper/<endpoint>`, for instance). The body lists every mounted route, verbatim as the\ngateway sends it. A path on one of the four model-inference routes also `404`s this way when\nthe specific endpoint or model isn't on that provider's allowlist; an unsupported model\naddressed through `/inference` gets that endpoint's own `400` instead (see the Inference tag).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"bearerAuth":[]}]},"post":{"operationId":"openAi_post","summary":"Run OpenAI inference, or create a file, batch or job","description":"> **NativePort's API gateway is being discontinued.**\n>\n> NativePort now connects your team's AIs in shared rooms.\n>\n> [See what's new](https://nativeport.ai/)\n\nCovers `v1/responses`, `v1/embeddings`, `v1/chat/completions`, and the free-but-rate-limited\n`v1/moderations`, plus creating the stateful resources listed in the `path` parameter\n(registered to your account on success) and minting a short-lived Realtime credential via\n`v1/realtime/client_secrets`. The request `model` must be on the gateway's catalog, and a\nclosed set of body fields is forced, denied, or passed through — see the OpenAI tag\ndescription above.\n","tags":["openAi"],"parameters":[{"name":"path","in":"path","description":"The path to call on OpenAI's API, any further `/` segments included — all of it after\n`/openai/` is passed to `https://api.openai.com/` when the gateway's model catalog and\nendpoint/field policy admit the request (see the OpenAI tag description and *The four\nmodel-inference routes are policed, not transparent* above). Examples:\n`v1/chat/completions`, `v1/responses`, `v1/embeddings`, `v1/moderations`, `v1/models`,\n`v1/models/{model}`, `v1/files`, `v1/files/{id}`, `v1/vector_stores`,\n`v1/batches`, `v1/batches/{id}/cancel`, `v1/fine_tuning/jobs`,\n`v1/fine_tuning/jobs/{id}/events`.\n","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Whatever the upstream answered, relayed as-is (status, headers, body). Rendered here as\nJSON; the true shape is the upstream provider's to define.\n","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"400":{"description":"The gateway's own request-policy check rejected the call before it reached the upstream —\nan unrecognized `model`, a disallowed body field, an unapproved `anthropic-beta` flag, or\nsimilar. Shaped like the upstream's own error envelope (OpenAI/Grok/Hugging Face style) so\nofficial SDKs render it without special-casing; the `code` value (`gateway_*`) names the\nspecific rejection reason and isn't part of the upstream's own documented set of codes.\n","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"401":{"description":"The bearer token was missing, unknown, or revoked. The reply body is the JSON `{ \"error\": \"Unauthorized.\" }`.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No route matched the path, or the matched route disallows that method (an unlisted\n`/serper/<endpoint>`, for instance). The body lists every mounted route, verbatim as the\ngateway sends it. A path on one of the four model-inference routes also `404`s this way when\nthe specific endpoint or model isn't on that provider's allowlist; an unsupported model\naddressed through `/inference` gets that endpoint's own `400` instead (see the Inference tag).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"security":[{"bearerAuth":[]}]},"delete":{"operationId":"openAi_delete","summary":"Delete a file or vector store you own","description":"> **NativePort's API gateway is being discontinued.**\n>\n> NativePort now connects your team's AIs in shared rooms.\n>\n> [See what's new](https://nativeport.ai/)\n\nDeletes a file or vector store previously created through this gateway. The id must belong\nto your account — a foreign or unknown id answers the same anonymous `404` a never-existed\nid would, never a `403`.\n","tags":["openAi"],"parameters":[{"name":"path","in":"path","description":"The path to call on OpenAI's API, any further `/` segments included — all of it after\n`/openai/` is passed to `https://api.openai.com/` when the gateway's model catalog and\nendpoint/field policy admit the request (see the OpenAI tag description and *The four\nmodel-inference routes are policed, not transparent* above). Examples:\n`v1/chat/completions`, `v1/responses`, `v1/embeddings`, `v1/moderations`, `v1/models`,\n`v1/models/{model}`, `v1/files`, `v1/files/{id}`, `v1/vector_stores`,\n`v1/batches`, `v1/batches/{id}/cancel`, `v1/fine_tuning/jobs`,\n`v1/fine_tuning/jobs/{id}/events`.\n","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Whatever the upstream answered, relayed as-is (status, headers, body). Rendered here as\nJSON; the true shape is the upstream provider's to define.\n","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"401":{"description":"The bearer token was missing, unknown, or revoked. The reply body is the JSON `{ \"error\": \"Unauthorized.\" }`.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No route matched the path, or the matched route disallows that method (an unlisted\n`/serper/<endpoint>`, for instance). The body lists every mounted route, verbatim as the\ngateway sends it. A path on one of the four model-inference routes also `404`s this way when\nthe specific endpoint or model isn't on that provider's allowlist; an unsupported model\naddressed through `/inference` gets that endpoint's own `400` instead (see the Inference tag).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"bearerAuth":[]}]}},"/anthropic/{path}":{"get":{"operationId":"anthropic_get","summary":"Relay an Anthropic GET (models, or your own files/batches)","description":"> **NativePort's API gateway is being discontinued.**\n>\n> NativePort now connects your team's AIs in shared rooms.\n>\n> [See what's new](https://nativeport.ai/)\n\n`GET /v1/models` and `GET /v1/models/{id}` answer locally from the gateway's own model\ncatalog — the authoritative list of admitted Claude models. Every other admitted `GET` reads a file or message batch **you created through this\ngateway** (including its bare list form, answered locally from the gateway's ownership\nrecords); an id you don't own answers the same anonymous `404` as an id that never existed.\nA file's raw bytes (`/{id}/content`) are additionally gated on that file's own\n`downloadable` flag at creation time.\n","tags":["anthropic"],"parameters":[{"name":"path","in":"path","description":"The path to call on Anthropic's Claude API, any further `/` segments included — all of it\nafter `/anthropic/` is passed to `https://api.anthropic.com/` when the gateway's model\ncatalog and endpoint/field policy admit the request (see the Anthropic tag description\nabove). Examples: `v1/messages`, `v1/messages/count_tokens`, `v1/models`,\n`v1/models/{model}`, `v1/files`, `v1/files/{id}`, `v1/files/{id}/content`,\n`v1/messages/batches`, `v1/messages/batches/{id}/cancel`.\n","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Whatever the upstream answered, relayed as-is (status, headers, body). Rendered here as\nJSON; the true shape is the upstream provider's to define.\n","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"400":{"description":"The gateway's own request-policy check rejected the call before it reached Anthropic — an\nunrecognized `model`, a disallowed body field (`mcp_servers`, for instance), or an\n`anthropic-beta` flag outside the allowlist. Shaped like the Claude API's own error envelope\nso official SDKs render it without special-casing; the `code` value (`gateway_*`) names the\nspecific rejection reason and isn't part of Anthropic's own documented set of codes.\n","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"401":{"description":"The bearer token was missing, unknown, or revoked. The reply body is the JSON `{ \"error\": \"Unauthorized.\" }`.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No route matched the path, or the matched route disallows that method (an unlisted\n`/serper/<endpoint>`, for instance). The body lists every mounted route, verbatim as the\ngateway sends it. A path on one of the four model-inference routes also `404`s this way when\nthe specific endpoint or model isn't on that provider's allowlist; an unsupported model\naddressed through `/inference` gets that endpoint's own `400` instead (see the Inference tag).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"bearerAuth":[]}]},"post":{"operationId":"anthropic_post","summary":"Send a Messages request, count tokens, create a file","description":"> **NativePort's API gateway is being discontinued.**\n>\n> NativePort now connects your team's AIs in shared rooms.\n>\n> [See what's new](https://nativeport.ai/)\n\nCovers `v1/messages` and the free `v1/messages/count_tokens`, plus creating a file or a\nmessage batch (registered to your account on success — a batch's own per-item bodies face\nthe identical field policy a live `v1/messages` call would). The request `model` must appear\nin `GET /anthropic/v1/models`, both possible client credential headers are overwritten, a\nfixed `anthropic-version` is enforced regardless of what you send, `anthropic-beta` flags are\nchecked against an allowlist, and `tools[]`/`mcp_servers` face the field policy described on\nthe Anthropic tag above.\n","tags":["anthropic"],"parameters":[{"name":"path","in":"path","description":"The path to call on Anthropic's Claude API, any further `/` segments included — all of it\nafter `/anthropic/` is passed to `https://api.anthropic.com/` when the gateway's model\ncatalog and endpoint/field policy admit the request (see the Anthropic tag description\nabove). Examples: `v1/messages`, `v1/messages/count_tokens`, `v1/models`,\n`v1/models/{model}`, `v1/files`, `v1/files/{id}`, `v1/files/{id}/content`,\n`v1/messages/batches`, `v1/messages/batches/{id}/cancel`.\n","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Whatever the upstream answered, relayed as-is (status, headers, body). Rendered here as\nJSON; the true shape is the upstream provider's to define.\n","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"400":{"description":"The gateway's own request-policy check rejected the call before it reached Anthropic — an\nunrecognized `model`, a disallowed body field (`mcp_servers`, for instance), or an\n`anthropic-beta` flag outside the allowlist. Shaped like the Claude API's own error envelope\nso official SDKs render it without special-casing; the `code` value (`gateway_*`) names the\nspecific rejection reason and isn't part of Anthropic's own documented set of codes.\n","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"401":{"description":"The bearer token was missing, unknown, or revoked. The reply body is the JSON `{ \"error\": \"Unauthorized.\" }`.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No route matched the path, or the matched route disallows that method (an unlisted\n`/serper/<endpoint>`, for instance). The body lists every mounted route, verbatim as the\ngateway sends it. A path on one of the four model-inference routes also `404`s this way when\nthe specific endpoint or model isn't on that provider's allowlist; an unsupported model\naddressed through `/inference` gets that endpoint's own `400` instead (see the Inference tag).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"security":[{"bearerAuth":[]}]},"delete":{"operationId":"anthropic_delete","summary":"Delete a file you own","description":"> **NativePort's API gateway is being discontinued.**\n>\n> NativePort now connects your team's AIs in shared rooms.\n>\n> [See what's new](https://nativeport.ai/)\n\nDeletes a file previously created through this gateway. The id must belong to your account —\na foreign or unknown id answers the same anonymous `404` a never-existed id would.\n","tags":["anthropic"],"parameters":[{"name":"path","in":"path","description":"The path to call on Anthropic's Claude API, any further `/` segments included — all of it\nafter `/anthropic/` is passed to `https://api.anthropic.com/` when the gateway's model\ncatalog and endpoint/field policy admit the request (see the Anthropic tag description\nabove). Examples: `v1/messages`, `v1/messages/count_tokens`, `v1/models`,\n`v1/models/{model}`, `v1/files`, `v1/files/{id}`, `v1/files/{id}/content`,\n`v1/messages/batches`, `v1/messages/batches/{id}/cancel`.\n","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Whatever the upstream answered, relayed as-is (status, headers, body). Rendered here as\nJSON; the true shape is the upstream provider's to define.\n","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"401":{"description":"The bearer token was missing, unknown, or revoked. The reply body is the JSON `{ \"error\": \"Unauthorized.\" }`.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No route matched the path, or the matched route disallows that method (an unlisted\n`/serper/<endpoint>`, for instance). The body lists every mounted route, verbatim as the\ngateway sends it. A path on one of the four model-inference routes also `404`s this way when\nthe specific endpoint or model isn't on that provider's allowlist; an unsupported model\naddressed through `/inference` gets that endpoint's own `400` instead (see the Inference tag).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"bearerAuth":[]}]}},"/grok/{path}":{"get":{"operationId":"grok_get","summary":"Relay a Grok GET: models, responses, files, batches","description":"> **NativePort's API gateway is being discontinued.**\n>\n> NativePort now connects your team's AIs in shared rooms.\n>\n> [See what's new](https://nativeport.ai/)\n\n`GET /v1/models` and `GET /v1/models/{id}` answer locally from the gateway's six-model\ncatalog. Every other admitted `GET` reads a stored Response, file, or batch **you created\nthrough this gateway** (including its bare list form, answered locally from the gateway's\nownership records), or resolves a deferred-completion `request_id` via\n`GET /v1/chat/deferred-completion/{id}`; an id you don't own answers the same anonymous\n`404` as an id that never existed.\n","tags":["grok"],"parameters":[{"name":"path","in":"path","description":"The path to call on xAI's Grok API, any further `/` segments included — all of it after\n`/grok/` is passed to `https://api.x.ai/` when the gateway's model catalog and\nendpoint/field policy admit the request (see the Grok tag description above). Examples:\n`v1/chat/completions`, `v1/chat/deferred-completion/{id}`, `v1/responses`,\n`v1/responses/compact`, `v1/tokenize-text`, `v1/models`, `v1/models/{model}`, `v1/files`,\n`v1/files/{id}`, `v1/batches`, `v1/batches/{id}`.\n","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Whatever the upstream answered, relayed as-is (status, headers, body). Rendered here as\nJSON; the true shape is the upstream provider's to define.\n","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"400":{"description":"The gateway's own request-policy check rejected the call before it reached the upstream —\nan unrecognized `model`, a disallowed body field, an unapproved `anthropic-beta` flag, or\nsimilar. Shaped like the upstream's own error envelope (OpenAI/Grok/Hugging Face style) so\nofficial SDKs render it without special-casing; the `code` value (`gateway_*`) names the\nspecific rejection reason and isn't part of the upstream's own documented set of codes.\n","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"401":{"description":"The bearer token was missing, unknown, or revoked. The reply body is the JSON `{ \"error\": \"Unauthorized.\" }`.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No route matched the path, or the matched route disallows that method (an unlisted\n`/serper/<endpoint>`, for instance). The body lists every mounted route, verbatim as the\ngateway sends it. A path on one of the four model-inference routes also `404`s this way when\nthe specific endpoint or model isn't on that provider's allowlist; an unsupported model\naddressed through `/inference` gets that endpoint's own `400` instead (see the Inference tag).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"bearerAuth":[]}]},"post":{"operationId":"grok_post","summary":"Run inference, tokenize, or create a file/batch","description":"> **NativePort's API gateway is being discontinued.**\n>\n> NativePort now connects your team's AIs in shared rooms.\n>\n> [See what's new](https://nativeport.ai/)\n\nCovers `v1/chat/completions`, `v1/responses`, `v1/responses/compact` (compacts a prior\nResponses API input window for a subsequent turn), and `v1/tokenize-text`, plus creating a file or batch\n(registered to your account on success — a batch's own per-item bodies face the identical\nfield policy a live call would). The request `model` must be on the gateway's catalog,\n`user` is always overwritten with a per-tenant identifier, and `tools[]` is checked by its\nexplicit `type` — see the Grok tag description above.\n","tags":["grok"],"parameters":[{"name":"path","in":"path","description":"The path to call on xAI's Grok API, any further `/` segments included — all of it after\n`/grok/` is passed to `https://api.x.ai/` when the gateway's model catalog and\nendpoint/field policy admit the request (see the Grok tag description above). Examples:\n`v1/chat/completions`, `v1/chat/deferred-completion/{id}`, `v1/responses`,\n`v1/responses/compact`, `v1/tokenize-text`, `v1/models`, `v1/models/{model}`, `v1/files`,\n`v1/files/{id}`, `v1/batches`, `v1/batches/{id}`.\n","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Whatever the upstream answered, relayed as-is (status, headers, body). Rendered here as\nJSON; the true shape is the upstream provider's to define.\n","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"400":{"description":"The gateway's own request-policy check rejected the call before it reached the upstream —\nan unrecognized `model`, a disallowed body field, an unapproved `anthropic-beta` flag, or\nsimilar. Shaped like the upstream's own error envelope (OpenAI/Grok/Hugging Face style) so\nofficial SDKs render it without special-casing; the `code` value (`gateway_*`) names the\nspecific rejection reason and isn't part of the upstream's own documented set of codes.\n","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"401":{"description":"The bearer token was missing, unknown, or revoked. The reply body is the JSON `{ \"error\": \"Unauthorized.\" }`.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No route matched the path, or the matched route disallows that method (an unlisted\n`/serper/<endpoint>`, for instance). The body lists every mounted route, verbatim as the\ngateway sends it. A path on one of the four model-inference routes also `404`s this way when\nthe specific endpoint or model isn't on that provider's allowlist; an unsupported model\naddressed through `/inference` gets that endpoint's own `400` instead (see the Inference tag).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"security":[{"bearerAuth":[]}]},"delete":{"operationId":"grok_delete","summary":"Delete a stored response or file you own","description":"> **NativePort's API gateway is being discontinued.**\n>\n> NativePort now connects your team's AIs in shared rooms.\n>\n> [See what's new](https://nativeport.ai/)\n\nDeletes a stored Response or file previously created through this gateway. The id must\nbelong to your account — a foreign or unknown id answers the same anonymous `404` a\nnever-existed id would.\n","tags":["grok"],"parameters":[{"name":"path","in":"path","description":"The path to call on xAI's Grok API, any further `/` segments included — all of it after\n`/grok/` is passed to `https://api.x.ai/` when the gateway's model catalog and\nendpoint/field policy admit the request (see the Grok tag description above). Examples:\n`v1/chat/completions`, `v1/chat/deferred-completion/{id}`, `v1/responses`,\n`v1/responses/compact`, `v1/tokenize-text`, `v1/models`, `v1/models/{model}`, `v1/files`,\n`v1/files/{id}`, `v1/batches`, `v1/batches/{id}`.\n","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Whatever the upstream answered, relayed as-is (status, headers, body). Rendered here as\nJSON; the true shape is the upstream provider's to define.\n","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"401":{"description":"The bearer token was missing, unknown, or revoked. The reply body is the JSON `{ \"error\": \"Unauthorized.\" }`.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No route matched the path, or the matched route disallows that method (an unlisted\n`/serper/<endpoint>`, for instance). The body lists every mounted route, verbatim as the\ngateway sends it. A path on one of the four model-inference routes also `404`s this way when\nthe specific endpoint or model isn't on that provider's allowlist; an unsupported model\naddressed through `/inference` gets that endpoint's own `400` instead (see the Inference tag).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"bearerAuth":[]}]}},"/huggingface/{path}":{"get":{"operationId":"huggingFace_huggingfaceGet","summary":"List the catalog, or look up one model","description":"> **NativePort's API gateway is being discontinued.**\n>\n> NativePort now connects your team's AIs in shared rooms.\n>\n> [See what's new](https://nativeport.ai/)\n\n`GET /v1/models` and `GET /v1/models/{owner}/{repo}` both answer locally from the gateway's\ncatalog, in the same shape as the live router's own model-list response (each admitted\nprovider's `pricing`, the gateway's 5.5% fee included, with the pinned default listed\nfirst) — nothing is proxied to Hugging Face for a `GET`.\n","tags":["huggingFace"],"parameters":[{"name":"path","in":"path","description":"The path to call on Hugging Face's Inference Providers router, any further `/` segments\nincluded — all of it after `/huggingface/` is passed to `https://router.huggingface.co/`\nwhen the gateway's `(model, provider)` catalog admits the request (see the Hugging Face tag\ndescription above). Only two forms are admitted: `v1/chat/completions` and\n`v1/models[/{owner}/{repo}]`.\n","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Whatever the upstream answered, relayed as-is (status, headers, body). Rendered here as\nJSON; the true shape is the upstream provider's to define.\n","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"401":{"description":"The bearer token was missing, unknown, or revoked. The reply body is the JSON `{ \"error\": \"Unauthorized.\" }`.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No route matched the path, or the matched route disallows that method (an unlisted\n`/serper/<endpoint>`, for instance). The body lists every mounted route, verbatim as the\ngateway sends it. A path on one of the four model-inference routes also `404`s this way when\nthe specific endpoint or model isn't on that provider's allowlist; an unsupported model\naddressed through `/inference` gets that endpoint's own `400` instead (see the Inference tag).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"bearerAuth":[]}]},"post":{"operationId":"huggingFace_huggingfacePost","summary":"Run chat completion inference","description":"> **NativePort's API gateway is being discontinued.**\n>\n> NativePort now connects your team's AIs in shared rooms.\n>\n> [See what's new](https://nativeport.ai/)\n\nThe only admitted `POST`. A bare `model` id is rewritten to its pinned default serving\nprovider; an explicit `model:provider` suffix is honored only if that exact pairing is\ncataloged, and the router's own `:fastest`/`:cheapest`/`:preferred` policy suffixes are\nrejected outright (see the Hugging Face tag description above). `tools[]` items must be\n`type: \"function\"`. The client-suppliable `X-HF-Bill-To` header is always removed.\n","tags":["huggingFace"],"parameters":[{"name":"path","in":"path","description":"The path to call on Hugging Face's Inference Providers router, any further `/` segments\nincluded — all of it after `/huggingface/` is passed to `https://router.huggingface.co/`\nwhen the gateway's `(model, provider)` catalog admits the request (see the Hugging Face tag\ndescription above). Only two forms are admitted: `v1/chat/completions` and\n`v1/models[/{owner}/{repo}]`.\n","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Whatever the upstream answered, relayed as-is (status, headers, body). Rendered here as\nJSON; the true shape is the upstream provider's to define.\n","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"400":{"description":"The gateway's own request-policy check rejected the call before it reached the upstream —\nan unrecognized `model`, a disallowed body field, an unapproved `anthropic-beta` flag, or\nsimilar. Shaped like the upstream's own error envelope (OpenAI/Grok/Hugging Face style) so\nofficial SDKs render it without special-casing; the `code` value (`gateway_*`) names the\nspecific rejection reason and isn't part of the upstream's own documented set of codes.\n","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"401":{"description":"The bearer token was missing, unknown, or revoked. The reply body is the JSON `{ \"error\": \"Unauthorized.\" }`.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No route matched the path, or the matched route disallows that method (an unlisted\n`/serper/<endpoint>`, for instance). The body lists every mounted route, verbatim as the\ngateway sends it. A path on one of the four model-inference routes also `404`s this way when\nthe specific endpoint or model isn't on that provider's allowlist; an unsupported model\naddressed through `/inference` gets that endpoint's own `400` instead (see the Inference tag).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{"description":"Any type"}}}}},"security":[{"bearerAuth":[]}]}},"/inference/v1/chat/completions":{"post":{"operationId":"inference_chatCompletions","summary":"Run chat inference against any canonical model","description":"> **NativePort's API gateway is being discontinued.**\n>\n> NativePort now connects your team's AIs in shared rooms.\n>\n> [See what's new](https://nativeport.ai/)\n\nThe unified endpoint's only `POST`. `model` must be a canonical id\n(`openai/<id>`, `anthropic/<id>`, `xai/<id>`, `huggingface/<owner>/<model>[:provider]`) —\nthere is no default and no fallback if it's missing or unresolved; routing from a valid\ncanonical id to a provider and model is deterministic, never inferred or best-guessed. The\nrequest body accepts only the field set every backing provider\ncan express in common (see `GET /inference/v1/models` → `supported_parameters` for the exact\nlist) — a field outside it is rejected with `400 unsupported_parameter` before any upstream\ncall, never silently dropped. Set `stream: true` for Server-Sent Events instead of a single\nJSON object; both forms are OpenAI Chat Completions-shaped regardless of which of the four\nproviders actually served the request, including for Anthropic, whose native Messages\nwire shape is fully translated in both directions to produce this contract. A response's\n`model` field is rewritten to the canonical id that served it, and cross-provider `usage` and\n`tool_calls` are reported in this same normalized shape either way.\n","tags":["inference"],"responses":{"200":{"description":"A normalized OpenAI Chat Completions response — `application/json` for a single\n`chat.completion` object, or `text/event-stream` (when the request set `stream: true`) for\nincremental `chat.completion.chunk` events terminated by a literal `data: [DONE]` line.\nRegardless of which of the four providers served the request, `usage` and `tool_calls`\n(or their streaming `delta` equivalents) are reported in this one shape, and `model`\ncarries the canonical id that served it. Every response — this one included — carries the\ndiagnostic `x-nativeport-request-id`, `x-nativeport-provider`, and `x-nativeport-model`\nheaders described on the [Inference API guide](/inference).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InferenceChatCompletion"}}}},"400":{"description":"The unified endpoint's own request-policy check rejected the call before any of the four\nproviders were touched — an unresolved or unsupported `model`, a field outside the\ncommon cross-provider set, a structurally invalid message/tool shape, `image_url` content\naimed at a model whose `capabilities.vision` is `false`, or an explicit `max_tokens`/\n`max_completion_tokens` above the resolved model's provider-configured output ceiling — every\none of the four backing providers enforces its own ceiling here, same as on its native route.\nAlways the OpenAI\n`{\"error\":{message,type,param,code}}` envelope regardless of the resolved provider — see the\n[Inference API guide](/inference) for the full `code` list.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InferenceError"}}}},"401":{"description":"The bearer token was missing, unknown, or revoked. The reply body is the JSON `{ \"error\": \"Unauthorized.\" }`.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Insufficient credits — either of two distinct checks, at two different layers, can produce\nthis status:\n\n- **The account-wide credit gate**, shared by every route in this spec (see [Common\n  responses](/api-reference)), rejects the call before it reaches `/inference` routing logic\n  at all if the account balance is zero or negative. This one answers the gateway-wide plain\n  `{\"error\": \"...\"}` shape, not the OpenAI-shaped envelope the rest of this endpoint uses.\n- **A per-request cost-estimate preflight**, inside whichever of the four provider pipelines\n  the request resolved to, rejects a specific call whose estimated input cost alone would\n  exceed the remaining balance. This one uses the OpenAI-shaped envelope, consistent with\n  every other error this endpoint produces past the gate — though `code` is always\n  `gateway_insufficient_credits`, the envelope's `type` string is whichever that resolved\n  provider's own pipeline uses (`insufficient_credits` for OpenAI, `billing_error` for\n  Anthropic, `invalid_request_error` for xAI and Hugging Face), not a single normalized value.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InferenceChatCompletionsRequestPaymentRequiredError"}}}},"403":{"description":"The bearer token is valid but the account is currently suspended (non-billing enforcement action, distinct from an empty balance).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"The per-account rate limiter (shared with the legacy `/openai/v1/*`, `/anthropic/v1/*`,\n`/grok/v1/*`, and `/huggingface/v1/*` routes — one capacity pool per provider, not a separate\none for this endpoint) refused the request. Carries a `retry-after` header in seconds. `code`\nis always `gateway_rate_limited`; the envelope's `type` string mirrors whichever provider's\nown pipeline produced it (`rate_limit_error` for OpenAI and Anthropic, `invalid_request_error`\nfor xAI and Hugging Face) rather than one normalized value — the example below shows the\nOpenAI/Anthropic form.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InferenceError"}}}},"502":{"description":"The resolved provider's own upstream was unreachable (DNS/connection/TLS/timeout) rather than\nanswering with an error response of its own. Never echoes the underlying connection error, to\navoid leaking upstream infrastructure details.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InferenceError"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InferenceChatRequest"}}}},"security":[{"bearerAuth":[]}]}},"/inference/v1/models":{"get":{"operationId":"inference_listModels","summary":"List every model your key can reach","description":"> **NativePort's API gateway is being discontinued.**\n>\n> NativePort now connects your team's AIs in shared rooms.\n>\n> [See what's new](https://nativeport.ai/)\n\nEvery canonical id across all four providers that this gateway supports — a model it\ndoesn't support is simply absent from this list, the same way the four native provider\nroutes filter their own local `GET /v1/models`. `GET /inference/v1/models` is the\nauthoritative list of model IDs supported by the gateway. Each entry carries its `capabilities`, the exact\n`supported_parameters` this gateway accepts for it, and per-1M-token USD `pricing`.\n","tags":["inference"],"responses":{"200":{"description":"The catalog of models supported by the gateway, OpenAI model-list-shaped.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InferenceModelList"}}}},"401":{"description":"The bearer token was missing, unknown, or revoked. The reply body is the JSON `{ \"error\": \"Unauthorized.\" }`.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Insufficient credits — either of two distinct checks, at two different layers, can produce\nthis status:\n\n- **The account-wide credit gate**, shared by every route in this spec (see [Common\n  responses](/api-reference)), rejects the call before it reaches `/inference` routing logic\n  at all if the account balance is zero or negative. This one answers the gateway-wide plain\n  `{\"error\": \"...\"}` shape, not the OpenAI-shaped envelope the rest of this endpoint uses.\n- **A per-request cost-estimate preflight**, inside whichever of the four provider pipelines\n  the request resolved to, rejects a specific call whose estimated input cost alone would\n  exceed the remaining balance. This one uses the OpenAI-shaped envelope, consistent with\n  every other error this endpoint produces past the gate — though `code` is always\n  `gateway_insufficient_credits`, the envelope's `type` string is whichever that resolved\n  provider's own pipeline uses (`insufficient_credits` for OpenAI, `billing_error` for\n  Anthropic, `invalid_request_error` for xAI and Hugging Face), not a single normalized value.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InferenceListModelsRequestPaymentRequiredError"}}}},"403":{"description":"The bearer token is valid but the account is currently suspended (non-billing enforcement action, distinct from an empty balance).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"bearerAuth":[]}]}},"/inference/v1/models/{id}":{"get":{"operationId":"inference_getModel","summary":"Look up one canonical model","description":"> **NativePort's API gateway is being discontinued.**\n>\n> NativePort now connects your team's AIs in shared rooms.\n>\n> [See what's new](https://nativeport.ai/)\n\nAnswers with the same object shape as an entry in `GET /inference/v1/models`'s `data` array —\ncapabilities, `supported_parameters`, and pricing — for exactly one canonical id, filtered by\nthe same availability rule: an id this gateway doesn't support answers the identical\n`404 model_not_found`.\n","tags":["inference"],"parameters":[{"name":"id","in":"path","description":"The canonical model id to look up. IDs can themselves contain further `/` segments — the\nHugging Face form is `huggingface/<owner>/<model>[:provider]` — so this segment is a\nslash-inclusive wildcard capture, the same pattern this spec uses for `{path}` on the\ntwenty-four transparent wildcard proxies (e.g. `/firecrawl/{path}`), not a single\npath-templated token. An id that doesn't resolve to a model this gateway supports answers\nthis endpoint's own `404` rather than the underlying provider's.\n","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"The looked-up model's catalog entry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InferenceModel"}}}},"401":{"description":"The bearer token was missing, unknown, or revoked. The reply body is the JSON `{ \"error\": \"Unauthorized.\" }`.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Insufficient credits — either of two distinct checks, at two different layers, can produce\nthis status:\n\n- **The account-wide credit gate**, shared by every route in this spec (see [Common\n  responses](/api-reference)), rejects the call before it reaches `/inference` routing logic\n  at all if the account balance is zero or negative. This one answers the gateway-wide plain\n  `{\"error\": \"...\"}` shape, not the OpenAI-shaped envelope the rest of this endpoint uses.\n- **A per-request cost-estimate preflight**, inside whichever of the four provider pipelines\n  the request resolved to, rejects a specific call whose estimated input cost alone would\n  exceed the remaining balance. This one uses the OpenAI-shaped envelope, consistent with\n  every other error this endpoint produces past the gate — though `code` is always\n  `gateway_insufficient_credits`, the envelope's `type` string is whichever that resolved\n  provider's own pipeline uses (`insufficient_credits` for OpenAI, `billing_error` for\n  Anthropic, `invalid_request_error` for xAI and Hugging Face), not a single normalized value.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InferenceGetModelRequestPaymentRequiredError"}}}},"403":{"description":"The bearer token is valid but the account is currently suspended (non-billing enforcement action, distinct from an empty balance).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"`GET /inference/v1/models/{id}` was called with an id that doesn't resolve to a model this\ngateway supports — the same fail-closed shape `PolicyRejected`/`NotFound` share elsewhere in\nthis spec.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InferenceError"}}}}},"security":[{"bearerAuth":[]}]}}},"tags":[{"name":"catalog"},{"name":"serper"},{"name":"scraperApi"},{"name":"serpApi"},{"name":"elevenLabs"},{"name":"searchApiIo"},{"name":"youCom"},{"name":"dataForSeo"},{"name":"tavily"},{"name":"exa"},{"name":"linkup"},{"name":"parallel"},{"name":"typeSafe"},{"name":"jina"},{"name":"firecrawl"},{"name":"scrapingBee"},{"name":"scrapfly"},{"name":"zenRows"},{"name":"crawlbase"},{"name":"oxylabs"},{"name":"brightData"},{"name":"spider"},{"name":"apify"},{"name":"browserbase"},{"name":"zyte"},{"name":"fishAudio"},{"name":"browserless"},{"name":"steel"},{"name":"mistral"},{"name":"llamaParse"},{"name":"openAi"},{"name":"anthropic"},{"name":"grok"},{"name":"huggingFace"},{"name":"inference"}],"servers":[{"url":"https://api.nativeport.ai","description":"NativePort production"},{"url":"http://localhost:8787","description":"Local development (wrangler dev)"}],"components":{"schemas":{"BraveVerticalSearchGetParametersVertical":{"type":"string","enum":["web","images","videos","news","suggest","spellcheck","summarizer"],"title":"BraveVerticalSearchGetParametersVertical"},"Error":{"type":"object","properties":{"error":{"type":"string","description":"Explanatory message meant for humans."}},"required":["error"],"title":"Error"},"McpPostRequestBodyContentApplicationJsonSchemaJsonrpc":{"type":"string","enum":["2.0"],"title":"McpPostRequestBodyContentApplicationJsonSchemaJsonrpc"},"McpPostRequestBodyContentApplicationJsonSchemaId":{"oneOf":[{"type":"integer"},{"type":"string"}],"title":"McpPostRequestBodyContentApplicationJsonSchemaId"},"CatalogEntryActionsItems":{"type":"object","properties":{"method":{"type":"string"},"path":{"type":"string"},"summary":{"type":"string"}},"title":"CatalogEntryActionsItems"},"CatalogPriceType":{"type":"string","enum":["PER_CALL","PER_UNIT","PASSTHROUGH","PER_TOKEN","FREE"],"title":"CatalogPriceType"},"CatalogPrice":{"type":"object","properties":{"type":{"$ref":"#/components/schemas/CatalogPriceType"}},"required":["type"],"description":"Discriminated on `type`. `PER_CALL` — `amountMicro`, `basis` (`list` or `approximation`);\n`PER_UNIT` — `unit`, `amountMicroPerUnit`, `typicalUnits`, `note`; `PASSTHROUGH` — `source`,\n`note`; `PER_TOKEN` — `modelsRoute`, `note`; `FREE`. All amounts in micro-credits, with the\ngateway's 5.5% fee (the response's `callFeeBps`) already included, so they are what the\nledger debits. A `PASSTHROUGH` debit is the provider's own reported cost plus that fee.\n","title":"CatalogPrice"},"CatalogEntry":{"type":"object","properties":{"id":{"type":"string"},"provider":{"type":"string"},"providerName":{"type":"string"},"group":{"type":"string"},"methods":{"type":"array","items":{"type":"string"}},"route":{"type":"string","description":"The mounted route with `{...}` placeholders."},"actions":{"type":"array","items":{"$ref":"#/components/schemas/CatalogEntryActionsItems"},"description":"Wildcard families only — the exact actions the allowlist admits."},"summary":{"type":"string"},"tags":{"type":"array","items":{"type":"string"}},"capabilities":{"type":"array","items":{"type":"string"}},"example":{"type":"object","additionalProperties":{"description":"Any type"},"description":"The minimal valid request (`method`, `path`, optional `query` and `body`)."},"price":{"$ref":"#/components/schemas/CatalogPrice"},"priceLabel":{"type":"string"},"expectedMicro":{"type":["integer","null"],"description":"What one plain call debits, the gateway's 5.5% fee included, when knowable in advance, else null."},"restrictions":{"type":"array","items":{"type":"string"}},"docUrl":{"type":"string","format":"uri"},"score":{"type":"number","format":"double","description":"Present only on `?q=` results."}},"required":["id","provider","providerName","group","methods","route","summary","tags","capabilities","example","price","priceLabel","docUrl"],"title":"CatalogEntry"},"CatalogList":{"type":"object","properties":{"version":{"type":"string"},"callFeeBps":{"type":"integer","description":"The gateway's fee on every debit, in basis points (`550` = 5.5%). Every price in the response already includes it."},"query":{"type":"string"},"count":{"type":"integer"},"skill":{"type":"string","format":"uri"},"entries":{"type":"array","items":{"$ref":"#/components/schemas/CatalogEntry"}}},"required":["version","callFeeBps","count","entries"],"title":"CatalogList"},"CatalogDetailRequest":{"type":"object","properties":{"method":{"type":"string"},"url":{"type":"string"},"headers":{"type":"object","additionalProperties":{"type":"string"}},"body":{"description":"Any type"}},"title":"CatalogDetailRequest"},"CatalogDetail":{"type":"object","properties":{"version":{"type":"string"},"callFeeBps":{"type":"integer","description":"The gateway's fee on every debit, in basis points (`550` = 5.5%). Every price in the response already includes it."},"entry":{"$ref":"#/components/schemas/CatalogEntry"},"request":{"$ref":"#/components/schemas/CatalogDetailRequest"},"curl":{"type":"string"}},"required":["version","callFeeBps","entry","request","curl"],"title":"CatalogDetail"},"CatalogGetRequestNotFoundError":{"type":"object","properties":{"error":{"type":"string"}},"title":"CatalogGetRequestNotFoundError"},"Catalog_accountGet_Response_200":{"type":"object","properties":{"balanceMicro":{"type":"integer","description":"Micro-credits (1,000,000 µc = one credit = US$1)."},"balanceUsd":{"type":"number","format":"double"},"status":{"type":"string"},"trialState":{"type":"string","description":"Present only while the account is under trial probation."}},"required":["balanceMicro","balanceUsd","status"],"title":"Catalog_accountGet_Response_200"},"Serper_searchAliasPost_Request":{"oneOf":[{"type":"object","additionalProperties":{"description":"Any type"}},{"type":"array","items":{"type":"object","additionalProperties":{"description":"Any type"}}}],"title":"Serper_searchAliasPost_Request"},"SerperEndpointGetParametersEndpoint":{"type":"string","enum":["search","images","videos","places","maps","reviews","news","shopping","lens","scholar","patents","autocomplete","webpage"],"title":"SerperEndpointGetParametersEndpoint"},"SerperEndpointPostParametersEndpoint":{"type":"string","enum":["search","images","videos","places","maps","reviews","news","shopping","lens","scholar","patents","autocomplete","webpage"],"title":"SerperEndpointPostParametersEndpoint"},"Serper_endpointPost_Request":{"oneOf":[{"type":"object","additionalProperties":{"description":"Any type"}},{"type":"array","items":{"type":"object","additionalProperties":{"description":"Any type"}}}],"title":"Serper_endpointPost_Request"},"SerpapiGetParametersOutput":{"type":"string","enum":["json","html"],"title":"SerpapiGetParametersOutput"},"TavilyEndpointPostParametersEndpoint":{"type":"string","enum":["search","extract","crawl","map"],"title":"TavilyEndpointPostParametersEndpoint"},"ExaEndpointPostParametersEndpoint":{"type":"string","enum":["search","contents","findSimilar","answer"],"title":"ExaEndpointPostParametersEndpoint"},"TypesafeV1SystemonePostRequestBodyContentApplicationJsonSchemaState":{"oneOf":[{"type":"string"},{"type":"object","additionalProperties":{"description":"Any type"}},{"type":"array","items":{"description":"Any type"}}],"description":"The content to evaluate — text, or structured data for records, chat logs, or application state.","title":"TypesafeV1SystemonePostRequestBodyContentApplicationJsonSchemaState"},"TypesafeV1SystemonePostRequestBodyContentApplicationJsonSchemaQuestionsType":{"type":"string","enum":["noul","choice","score"],"title":"TypesafeV1SystemonePostRequestBodyContentApplicationJsonSchemaQuestionsType"},"TypesafeV1SystemonePostRequestBodyContentApplicationJsonSchemaQuestionsInstructions":{"oneOf":[{"type":"string"},{"type":"object","additionalProperties":{"description":"Any type"}},{"type":"array","items":{"description":"Any type"}}],"description":"What the model should decide, rate, or answer.","title":"TypesafeV1SystemonePostRequestBodyContentApplicationJsonSchemaQuestionsInstructions"},"TypesafeV1SystemonePostRequestBodyContentApplicationJsonSchemaQuestionsCriteria":{"oneOf":[{"type":"object","additionalProperties":{"description":"Any type"}},{"type":"array","items":{"description":"Any type"}}],"description":"Optional for `noul` (an object describing what a yes and a no mean); required for `choice` (a map of option to description, or `null`) and for `score` (an ordered array of at least two level descriptions).","title":"TypesafeV1SystemonePostRequestBodyContentApplicationJsonSchemaQuestionsCriteria"},"TypesafeV1SystemonePostRequestBodyContentApplicationJsonSchemaQuestions":{"type":"object","properties":{"type":{"$ref":"#/components/schemas/TypesafeV1SystemonePostRequestBodyContentApplicationJsonSchemaQuestionsType"},"instructions":{"$ref":"#/components/schemas/TypesafeV1SystemonePostRequestBodyContentApplicationJsonSchemaQuestionsInstructions","description":"What the model should decide, rate, or answer."},"criteria":{"$ref":"#/components/schemas/TypesafeV1SystemonePostRequestBodyContentApplicationJsonSchemaQuestionsCriteria","description":"Optional for `noul` (an object describing what a yes and a no mean); required for `choice` (a map of option to description, or `null`) and for `score` (an ordered array of at least two level descriptions)."}},"required":["type","instructions"],"title":"TypesafeV1SystemonePostRequestBodyContentApplicationJsonSchemaQuestions"},"JinaServiceGetParametersService":{"type":"string","enum":["reader","search","embeddings","rerank","classify"],"title":"JinaServiceGetParametersService"},"JinaServicePostParametersService":{"type":"string","enum":["reader","search","embeddings","rerank","classify"],"title":"JinaServicePostParametersService"},"Scrapfly_head_Response_200":{"type":"object","properties":{},"description":"Empty response body","title":"Scrapfly_head_Response_200"},"ApifyRunEnvelopeDataStatus":{"type":"string","enum":["READY","RUNNING","SUCCEEDED","FAILED","TIMED-OUT","ABORTED","TIMING-OUT","ABORTING"],"description":"Apify's run lifecycle. `READY` and `RUNNING` mean the run is live; `SUCCEEDED`,\n`FAILED`, `TIMED-OUT`, and `ABORTED` are terminal, and `TIMING-OUT` / `ABORTING` are\nthe transitions into them. The charge is taken only on a terminal status.\n","title":"ApifyRunEnvelopeDataStatus"},"ApifyRunEnvelopeData":{"type":"object","properties":{"id":{"type":"string","description":"The run id — the handle for `GET /apify/v2/actor-runs/{runId}` and the abort route."},"actId":{"type":"string","description":"The actor that ran."},"status":{"$ref":"#/components/schemas/ApifyRunEnvelopeDataStatus","description":"Apify's run lifecycle. `READY` and `RUNNING` mean the run is live; `SUCCEEDED`,\n`FAILED`, `TIMED-OUT`, and `ABORTED` are terminal, and `TIMING-OUT` / `ABORTING` are\nthe transitions into them. The charge is taken only on a terminal status.\n"},"startedAt":{"type":"string","format":"date-time","description":"When the run started."},"finishedAt":{"type":["string","null"],"format":"date-time","description":"When the run finished, or `null` while it is still going."},"defaultDatasetId":{"type":"string","description":"The dataset this run writes its items to — registered to your account alongside the\nrun, and readable at `GET /apify/v2/datasets/{defaultDatasetId}/items`.\n"},"usageTotalUsd":{"type":"number","format":"double","description":"What the run has cost upstream so far, in US dollars — compute, proxy traffic,\nstorage operations, and dataset writes already summed by Apify. It is a running\ntotal until the run is terminal, which is why nothing is charged before then. Once\nterminal, this exact figure plus the gateway's 5.5% fee is charged once, to the\naccount that created the run.\n"}},"description":"The run object.","title":"ApifyRunEnvelopeData"},"ApifyRunEnvelope":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/ApifyRunEnvelopeData","description":"The run object."}},"description":"Apify's own run envelope, relayed as received. The gateway reads `data.id` and\n`data.defaultDatasetId` on an asynchronous create to register both to your account, and\n`data.status` / `data.usageTotalUsd` to settle the run once it is terminal. It changes\nnothing.\n","title":"ApifyRunEnvelope"},"ApifyV2DatasetsDatasetIdItemsGetParametersFormat":{"type":"string","enum":["json","jsonl","csv","html","xml","rss","xlsx"],"title":"ApifyV2DatasetsDatasetIdItemsGetParametersFormat"},"FishaudioV1TtsPostParametersModel":{"type":"string","enum":["s1","s2-pro","s2.1-pro"],"default":"s2.1-pro","title":"FishaudioV1TtsPostParametersModel"},"FishaudioV1TtsStreamWithTimestampPostParametersModel":{"type":"string","enum":["s1","s2-pro","s2.1-pro"],"default":"s2.1-pro","title":"FishaudioV1TtsStreamWithTimestampPostParametersModel"},"FishaudioV1AsrPostResponsesContentApplicationJsonSchemaSegmentsItems":{"type":"object","properties":{"text":{"type":"string"},"start":{"type":"number","format":"double"},"end":{"type":"number","format":"double"}},"title":"FishaudioV1AsrPostResponsesContentApplicationJsonSchemaSegmentsItems"},"Fish_Audio_fishaudioAsr_Response_200":{"type":"object","properties":{"text":{"type":"string"},"duration":{"type":"number","format":"double","description":"Duration of the audio in seconds — the figure the gateway bills from."},"segments":{"type":"array","items":{"$ref":"#/components/schemas/FishaudioV1AsrPostResponsesContentApplicationJsonSchemaSegmentsItems"}}},"required":["text","duration","segments"],"title":"Fish Audio_fishaudioAsr_Response_200"},"FishaudioV1VoiceDesignPostParametersModel":{"type":"string","enum":["voice-design-1"],"default":"voice-design-1","title":"FishaudioV1VoiceDesignPostParametersModel"},"FishaudioV1VoiceDesignPostResponsesContentApplicationJsonSchemaCandidatesItems":{"type":"object","properties":{"id":{"type":"string"},"index":{"type":"integer"},"audio_base64":{"type":"string"},"sample_rate":{"type":"integer"},"duration_ms":{"type":"integer"},"text":{"type":["string","null"]},"instruct":{"type":["string","null"]},"language":{"type":["string","null"]}},"required":["id","index","audio_base64","sample_rate","duration_ms"],"title":"FishaudioV1VoiceDesignPostResponsesContentApplicationJsonSchemaCandidatesItems"},"Fish_Audio_fishaudioVoiceDesign_Response_200":{"type":"object","properties":{"candidates":{"type":"array","items":{"$ref":"#/components/schemas/FishaudioV1VoiceDesignPostResponsesContentApplicationJsonSchemaCandidatesItems"}}},"required":["candidates"],"title":"Fish Audio_fishaudioVoiceDesign_Response_200"},"MistralDocumentUrlChunk":{"type":"object","properties":{"type":{"type":"string","enum":["document_url"]},"document_url":{"type":"string","format":"uri","maxLength":2048,"description":"A public `https` URL — signed, time-limited links are the intended use. Refused: any other\nscheme, an embedded `user:password`, an IP-literal host in any spelling, a single-label or\n`.localhost`/`.local`/`.internal` hostname.\n"},"document_name":{"type":"string","pattern":"^[A-Za-z0-9._()-]+$","maxLength":256,"description":"Optional label Mistral echoes back in its response. A plain filename — letters, digits, `.`, `_`, `-`, and parentheses; no spaces, quotes, or path separators."}},"required":["type","document_url"],"description":"A document (PDF and the other formats Mistral's OCR accepts) that Mistral fetches itself, from its own network, at the URL you give it.","title":"MistralDocumentUrlChunk"},"MistralImageUrlChunk":{"type":"object","properties":{"type":{"type":"string","enum":["image_url"]},"image_url":{"type":"string","format":"uri","maxLength":2048,"description":"A public `https` URL, under the same URL policy as `document_url`."}},"required":["type","image_url"],"description":"A single image to read, fetched by Mistral from the URL you give it.","title":"MistralImageUrlChunk"},"MistralOcrRequestDocument":{"oneOf":[{"$ref":"#/components/schemas/MistralDocumentUrlChunk"},{"$ref":"#/components/schemas/MistralImageUrlChunk"}],"description":"What to read — one of the two admitted URL chunks. Mistral's third chunk type, a `file_id` handle to a file on the account, is denied.","title":"MistralOcrRequestDocument"},"MistralOcrRequestPages":{"oneOf":[{"type":"array","items":{"type":"integer","minimum":0,"maximum":9999}},{"type":"string","maxLength":1000}],"description":"Which pages to read — **required**, and the basis for both the balance preflight and the\ncharge. Zero-based, at most 100 unique pages per request, and each index at most 9999. A\nrepeated or overlapping selection is refused rather than deduplicated, so a request always\ncosts what it looks like it costs. Either spelling works: an integer array, or a string of\ncomma-separated indices and ascending `start-end` ranges.\n","title":"MistralOcrRequestPages"},"MistralOcrRequestTableFormat":{"type":"string","enum":["markdown","html"],"description":"How tables come back in the page markdown. `null` leaves Mistral's own default in place.","title":"MistralOcrRequestTableFormat"},"MistralOcrRequestConfidenceScoresGranularity":{"type":"string","enum":["page"],"description":"Ask for per-page confidence scores. Only `page` (or `null`) is admitted; Mistral's `word` granularity is denied, since a score per word multiplies the response size without changing what is metered.","title":"MistralOcrRequestConfidenceScoresGranularity"},"MistralAnnotationFormatJsonSchema":{"type":"object","properties":{"name":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,64}$","description":"A short identifier for the schema — 1–64 letters, digits, `_`, or `-`."},"schema":{"type":"object","additionalProperties":{"description":"Any type"},"description":"The JSON Schema describing what to extract."},"description":{"type":"string"},"strict":{"type":"boolean"}},"required":["name","schema"],"title":"MistralAnnotationFormatJsonSchema"},"MistralAnnotationFormat":{"type":"object","properties":{"type":{"type":"string","enum":["json_schema"]},"json_schema":{"$ref":"#/components/schemas/MistralAnnotationFormatJsonSchema"}},"required":["type","json_schema"],"description":"Mistral's `json_schema` response format, at most 8,192 bytes serialized. Used for both\n`document_annotation_format` (fields drawn from the whole document) and\n`bbox_annotation_format` (labels for each detected figure); either one prices the call at the\nDocument AI rate.\n","title":"MistralAnnotationFormat"},"MistralOcrRequest":{"type":"object","properties":{"model":{"type":"string","enum":["mistral-ocr-4-0"],"description":"Pinned. Optional to send, but no other value — including the `mistral-ocr-latest` alias — is accepted, because an alias can re-point to a model at a different price."},"document":{"$ref":"#/components/schemas/MistralOcrRequestDocument","description":"What to read — one of the two admitted URL chunks. Mistral's third chunk type, a `file_id` handle to a file on the account, is denied."},"pages":{"$ref":"#/components/schemas/MistralOcrRequestPages","description":"Which pages to read — **required**, and the basis for both the balance preflight and the\ncharge. Zero-based, at most 100 unique pages per request, and each index at most 9999. A\nrepeated or overlapping selection is refused rather than deduplicated, so a request always\ncosts what it looks like it costs. Either spelling works: an integer array, or a string of\ncomma-separated indices and ascending `start-end` ranges.\n"},"table_format":{"$ref":"#/components/schemas/MistralOcrRequestTableFormat","description":"How tables come back in the page markdown. `null` leaves Mistral's own default in place."},"extract_header":{"type":"boolean","description":"Whether page headers are extracted alongside the body text."},"extract_footer":{"type":"boolean","description":"Whether page footers are extracted alongside the body text."},"confidence_scores_granularity":{"$ref":"#/components/schemas/MistralOcrRequestConfidenceScoresGranularity","description":"Ask for per-page confidence scores. Only `page` (or `null`) is admitted; Mistral's `word` granularity is denied, since a score per word multiplies the response size without changing what is metered."},"include_blocks":{"type":"boolean","enum":[false],"description":"Always forwarded as `false`. Sending `true` is rejected rather than silently rewritten."},"include_image_base64":{"type":"boolean","enum":[false],"description":"Always forwarded as `false`. Sending `true` is rejected rather than silently rewritten — extracted image bytes are neither metered nor buffered here."},"document_annotation_format":{"$ref":"#/components/schemas/MistralAnnotationFormat"},"bbox_annotation_format":{"$ref":"#/components/schemas/MistralAnnotationFormat"},"document_annotation_prompt":{"type":"string","minLength":1,"maxLength":2000,"description":"Plain-language instructions for the annotation pass. On its own it does not change the rate — only an annotation format does."}},"required":["document","pages"],"description":"The admitted OCR request. `document` and `pages` are required; unlisted fields are rejected\nwith a `400`, and the request forwarded upstream is rebuilt from exactly these fields.\n","title":"MistralOcrRequest"},"MistralOcrResponsePagesItems":{"type":"object","properties":{"index":{"type":"integer","description":"The zero-based page index this entry came from."},"markdown":{"type":"string","description":"The page's extracted text as markdown, tables included."},"images":{"type":"array","items":{"type":"object","additionalProperties":{"description":"Any type"}},"description":"Figures detected on the page, with their bounding boxes. `image_base64` is always `null` here; `image_annotation` carries the per-figure result when `bbox_annotation_format` was sent."},"dimensions":{"type":"object","additionalProperties":{"description":"Any type"},"description":"The page's rendered size, as Mistral reports it."}},"title":"MistralOcrResponsePagesItems"},"MistralOcrResponseUsageInfo":{"type":"object","properties":{"pages_processed":{"type":"integer","description":"How many pages Mistral processed — the figure the charge is settled from."},"doc_size_bytes":{"type":"integer","description":"Size of the fetched document, as Mistral measured it."}},"description":"Mistral's own accounting for the call.","title":"MistralOcrResponseUsageInfo"},"MistralOcrResponse":{"type":"object","properties":{"pages":{"type":"array","items":{"$ref":"#/components/schemas/MistralOcrResponsePagesItems"},"description":"One entry per processed page, in page order."},"model":{"type":"string","description":"The model that ran — always the pinned OCR model."},"document_annotation":{"description":"The whole-document annotation when `document_annotation_format` was sent, `null` otherwise."},"usage_info":{"$ref":"#/components/schemas/MistralOcrResponseUsageInfo","description":"Mistral's own accounting for the call."}},"description":"Mistral's own OCR result, relayed as received. The gateway reads `usage_info.pages_processed` to settle the charge and changes nothing.","title":"MistralOcrResponse"},"LlamaparseParseRequestTier":{"type":"string","enum":["fast","cost_effective","agentic","agentic_plus"],"description":"The parse tier — it sets the per-page rate for the whole job. Listed in ascending cost\norder, with the higher tiers being the more capable parsers; see LlamaParse's own\ndocumentation for what each does with a page. `fast` produces no markdown, so\n`expand=markdown` is unavailable on a `fast` job.\n","title":"LlamaparseParseRequestTier"},"LlamaparsePageRangesTargetPages":{"oneOf":[{"type":"array","items":{"type":"integer","minimum":1,"maximum":10000}},{"type":"string","maxLength":1000}],"description":"An explicit **1-based** selection — page one of a PDF is `1`. Either spelling works: an\ninteger array, or a string of comma-separated page numbers and ascending `start-end`\nranges. At most 100 unique pages, each page number at most 10000. A repeated,\noverlapping, descending, or empty selection is refused rather than repaired.\n","title":"LlamaparsePageRangesTargetPages"},"LlamaparsePageRanges":{"type":"object","properties":{"max_pages":{"type":"integer","minimum":1,"maximum":100,"description":"Parse at most this many pages, from the start of the document."},"target_pages":{"$ref":"#/components/schemas/LlamaparsePageRangesTargetPages","description":"An explicit **1-based** selection — page one of a PDF is `1`. Either spelling works: an\ninteger array, or a string of comma-separated page numbers and ascending `start-end`\nranges. At most 100 unique pages, each page number at most 10000. A repeated,\noverlapping, descending, or empty selection is refused rather than repaired.\n"}},"description":"The page selection — **required**, and the basis for both the create-time reservation and\nthe final charge. Exactly one of `max_pages` or `target_pages`: supplying both is refused as\nan ambiguous cost basis rather than resolved by a precedence rule you can't see.\n","title":"LlamaparsePageRanges"},"LlamaparseParseRequest":{"type":"object","properties":{"source_url":{"type":"string","format":"uri","maxLength":2048,"description":"An `https` URL to the document, carrying no embedded credentials, on any public host —\na signed object-storage link, a document on your own site, or any public PDF. Refused:\nany other scheme (`http` and inline `data:` included), an embedded `user:password`, an\nIP-literal host in any spelling, and a single-label or `.localhost`/`.local`/`.internal`\nhostname. LlamaCloud fetches the document itself, from its own network, so the URL must\nbe reachable without your credentials.\n"},"tier":{"$ref":"#/components/schemas/LlamaparseParseRequestTier","description":"The parse tier — it sets the per-page rate for the whole job. Listed in ascending cost\norder, with the higher tiers being the more capable parsers; see LlamaParse's own\ndocumentation for what each does with a page. `fast` produces no markdown, so\n`expand=markdown` is unavailable on a `fast` job.\n"},"version":{"type":"string","pattern":"^(latest|\\d{4}-\\d{2}-\\d{2})$","description":"`latest`, or a past `YYYY-MM-DD` calendar version to pin the parser behaviour to. A\nfuture date is refused. Pinning is what keeps output stable across a parser update;\n`latest` follows it.\n"},"page_ranges":{"$ref":"#/components/schemas/LlamaparsePageRanges"}},"required":["source_url","tier","version","page_ranges"],"description":"The admitted parse request. All four fields are required; unlisted fields are rejected with\na `400`, and the request forwarded upstream is rebuilt from exactly these fields.\n","title":"LlamaparseParseRequest"},"LlamaparseJobStatus":{"type":"string","enum":["PENDING","RUNNING","COMPLETED","FAILED","CANCELLED"],"description":"Where the job is. `PENDING` and `RUNNING` mean keep polling; `COMPLETED`, `FAILED`, and\n`CANCELLED` are terminal, and a terminal job's charge is reconciled to LlamaCloud's own\nexact reported usage, plus the gateway's 5.5% fee, once that usage is reported — until then,\nthe create-time reservation stands.\n","title":"LlamaparseJobStatus"},"LlamaparseCreatedJobTier":{"type":"string","enum":["fast","cost_effective","agentic","agentic_plus"],"description":"The tier the job runs at, and the per-page rate it bills at.","title":"LlamaparseCreatedJobTier"},"LlamaparseCreatedJob":{"type":"object","properties":{"id":{"type":"string","description":"The job id. Poll `GET /llamaparse/v2/parse/{id}` with it, and persist it — it is the only handle to the job."},"status":{"$ref":"#/components/schemas/LlamaparseJobStatus"},"tier":{"$ref":"#/components/schemas/LlamaparseCreatedJobTier","description":"The tier the job runs at, and the per-page rate it bills at."}},"description":"The create response, re-serialized by the gateway down to exactly these three fields —\nLlamaCloud's shared-account identifiers and the gateway's own internal reference are never\npart of it.\n","title":"LlamaparseCreatedJob"},"LlamaparseV2ParseJobIdGetParametersExpand":{"type":"string","enum":["text","markdown"],"title":"LlamaparseV2ParseJobIdGetParametersExpand"},"LlamaparseJobResponseJob":{"type":"object","properties":{"id":{"type":"string","description":"The job id."},"status":{"$ref":"#/components/schemas/LlamaparseJobStatus"}},"description":"The job itself.","title":"LlamaparseJobResponseJob"},"LlamaparseJobResponse":{"type":"object","properties":{"job":{"$ref":"#/components/schemas/LlamaparseJobResponseJob","description":"The job itself."}},"description":"The job as LlamaCloud reports it, re-serialized by the gateway. Shared-account identifiers\nand the gateway's internal reconciliation fields are removed; everything else — including\nthe parsed content you paid for — is preserved as it arrived. Field-level detail beyond\n`job.status` belongs to LlamaParse's own documentation.\n\nParsed content appears only when `expand` asked for it, **under the key you asked for** —\n`text` or `markdown`, each an object carrying `pages[]` with `page_number` — never at the\ntop level. Every key you did not ask for is present and `null`, so a `\"text\": null` on a\n`COMPLETED` job means the read carried no `expand`, not that the job produced nothing\n(verified against the live API on 2026-09-10).\n","title":"LlamaparseJobResponse"},"OpenAI_webhook_Response_200":{"type":"object","properties":{},"description":"Empty response body","title":"OpenAI_webhook_Response_200"},"InferenceChatMessageRole":{"type":"string","enum":["system","user","assistant","tool"],"title":"InferenceChatMessageRole"},"InferenceTextContentPart":{"type":"object","properties":{"type":{"type":"string","enum":["text"]},"text":{"type":"string"}},"required":["type","text"],"title":"InferenceTextContentPart"},"InferenceImageContentPartImageUrl":{"type":"object","properties":{"url":{"type":"string","description":"A `https://` URL or a `data:` URI. Only honored for a model whose\n`GET /inference/v1/models` entry reports `capabilities.vision: true` — sent to any\nother model, the whole request is rejected preflight with `400 unsupported_parameter`.\n"}},"required":["url"],"title":"InferenceImageContentPartImageUrl"},"InferenceImageContentPart":{"type":"object","properties":{"type":{"type":"string","enum":["image_url"]},"image_url":{"$ref":"#/components/schemas/InferenceImageContentPartImageUrl"}},"required":["type","image_url"],"title":"InferenceImageContentPart"},"InferenceContentPart":{"oneOf":[{"$ref":"#/components/schemas/InferenceTextContentPart"},{"$ref":"#/components/schemas/InferenceImageContentPart"}],"title":"InferenceContentPart"},"InferenceChatMessageContent1":{"type":"array","items":{"$ref":"#/components/schemas/InferenceContentPart"},"title":"InferenceChatMessageContent1"},"InferenceChatMessageContent":{"oneOf":[{"type":"string"},{"$ref":"#/components/schemas/InferenceChatMessageContent1"}],"description":"Required for every role except `assistant` when it carries `tool_calls` instead. A plain\nstring, or an array of `text`/`image_url` parts (see `InferenceContentPart`) — image parts\nare validated the same way regardless of role, so vision-capability rejection also applies\nto a `tool` message's image content.\n","title":"InferenceChatMessageContent"},"InferenceToolCallFunction":{"type":"object","properties":{"name":{"type":"string"},"arguments":{"type":"string","description":"A JSON-encoded string of the call's arguments (not a nested object)."}},"required":["name","arguments"],"title":"InferenceToolCallFunction"},"InferenceToolCall":{"type":"object","properties":{"id":{"type":"string"},"type":{"type":"string","enum":["function"]},"function":{"$ref":"#/components/schemas/InferenceToolCallFunction"}},"required":["id","type","function"],"title":"InferenceToolCall"},"InferenceChatMessage":{"type":"object","properties":{"role":{"$ref":"#/components/schemas/InferenceChatMessageRole"},"content":{"$ref":"#/components/schemas/InferenceChatMessageContent","description":"Required for every role except `assistant` when it carries `tool_calls` instead. A plain\nstring, or an array of `text`/`image_url` parts (see `InferenceContentPart`) — image parts\nare validated the same way regardless of role, so vision-capability rejection also applies\nto a `tool` message's image content.\n"},"tool_calls":{"type":"array","items":{"$ref":"#/components/schemas/InferenceToolCall"},"description":"Only valid on an `assistant` message."},"tool_call_id":{"type":"string","description":"Required on a `tool` message (naming the call this message answers); invalid on any other role."}},"required":["role"],"title":"InferenceChatMessage"},"InferenceChatRequestStop":{"oneOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}],"title":"InferenceChatRequestStop"},"InferenceChatRequestStreamOptions":{"type":"object","properties":{"include_usage":{"type":"boolean","description":"Emit one extra usage-only chunk (empty `choices`) immediately before `[DONE]`."}},"title":"InferenceChatRequestStreamOptions"},"InferenceToolDefinitionFunction":{"type":"object","properties":{"name":{"type":"string","pattern":"^[a-zA-Z0-9_-]{1,64}$"},"description":{"type":"string"},"parameters":{"type":"object","additionalProperties":{"description":"Any type"},"description":"A JSON Schema object describing the function's arguments. Omitted means the function takes none."}},"required":["name"],"title":"InferenceToolDefinitionFunction"},"InferenceToolDefinition":{"type":"object","properties":{"type":{"type":"string","enum":["function"]},"function":{"$ref":"#/components/schemas/InferenceToolDefinitionFunction"}},"required":["type","function"],"title":"InferenceToolDefinition"},"InferenceToolChoice0":{"type":"string","enum":["auto","none","required"],"title":"InferenceToolChoice0"},"InferenceToolChoiceOneOf1Function":{"type":"object","properties":{"name":{"type":"string"}},"required":["name"],"title":"InferenceToolChoiceOneOf1Function"},"InferenceToolChoice1":{"type":"object","properties":{"type":{"type":"string","enum":["function"]},"function":{"$ref":"#/components/schemas/InferenceToolChoiceOneOf1Function"}},"required":["type","function"],"title":"InferenceToolChoice1"},"InferenceToolChoice":{"oneOf":[{"$ref":"#/components/schemas/InferenceToolChoice0"},{"$ref":"#/components/schemas/InferenceToolChoice1"}],"description":"`\"auto\"`, `\"none\"`, `\"required\"`, or an object pinning one specific function tool.","title":"InferenceToolChoice"},"InferenceChatRequest":{"type":"object","properties":{"model":{"type":"string","description":"A canonical model id. Mandatory — there is no default and no fallback. See the [Inference API guide](/inference) for the `openai/<id>` / `anthropic/<id>` / `xai/<id>` / `huggingface/<owner>/<model>[:provider]` forms."},"messages":{"type":"array","items":{"$ref":"#/components/schemas/InferenceChatMessage"}},"max_tokens":{"type":"integer","minimum":1,"description":"For a request resolving to an Anthropic model, mapped to that API's required `max_tokens` field; if neither this nor `max_completion_tokens` is set, the gateway injects Anthropic's configured default rather than letting the call 400 there alone."},"max_completion_tokens":{"type":"integer","minimum":1},"temperature":{"type":"number","format":"double"},"top_p":{"type":"number","format":"double"},"stop":{"$ref":"#/components/schemas/InferenceChatRequestStop"},"stream":{"type":"boolean","description":"Selects the `text/event-stream` response form over a single JSON object."},"stream_options":{"$ref":"#/components/schemas/InferenceChatRequestStreamOptions"},"tools":{"type":"array","items":{"$ref":"#/components/schemas/InferenceToolDefinition"}},"tool_choice":{"$ref":"#/components/schemas/InferenceToolChoice"},"parallel_tool_calls":{"type":"boolean"}},"required":["model","messages"],"description":"OpenAI Chat Completions-shaped, but deliberately narrower: only the field set every one of the\nfour backing providers can express in common is accepted (this schema's own property list —\nthe same set `GET /inference/v1/models` reports per model as `supported_parameters`). A field\noutside it is rejected with `400 unsupported_parameter` before any upstream call.\n","title":"InferenceChatRequest"},"InferenceChatCompletionChoicesItemsMessage":{"type":"object","properties":{"role":{"type":"string","enum":["assistant"]},"content":{"type":["string","null"]},"tool_calls":{"type":"array","items":{"$ref":"#/components/schemas/InferenceToolCall"}}},"title":"InferenceChatCompletionChoicesItemsMessage"},"InferenceChatCompletionChoicesItemsFinishReason":{"type":"string","enum":["stop","length","tool_calls","content_filter"],"title":"InferenceChatCompletionChoicesItemsFinishReason"},"InferenceChatCompletionChoicesItems":{"type":"object","properties":{"index":{"type":"integer"},"message":{"$ref":"#/components/schemas/InferenceChatCompletionChoicesItemsMessage"},"finish_reason":{"$ref":"#/components/schemas/InferenceChatCompletionChoicesItemsFinishReason"},"logprobs":{"oneOf":[{"description":"Any type"},{"type":"null"}]}},"title":"InferenceChatCompletionChoicesItems"},"InferenceUsagePromptTokensDetails":{"type":"object","properties":{"cached_tokens":{"type":"integer"}},"description":"Present only when the resolved model reports cache-read tokens.","title":"InferenceUsagePromptTokensDetails"},"InferenceUsage":{"type":"object","properties":{"prompt_tokens":{"type":"integer"},"completion_tokens":{"type":"integer"},"total_tokens":{"type":"integer"},"prompt_tokens_details":{"$ref":"#/components/schemas/InferenceUsagePromptTokensDetails","description":"Present only when the resolved model reports cache-read tokens."}},"title":"InferenceUsage"},"InferenceChatCompletion":{"type":"object","properties":{"id":{"type":"string"},"object":{"type":"string","enum":["chat.completion"]},"created":{"type":"integer"},"model":{"type":"string","description":"Rewritten to the canonical id that actually served the request, regardless of the provider's own native model identifier."},"choices":{"type":"array","items":{"$ref":"#/components/schemas/InferenceChatCompletionChoicesItems"}},"usage":{"$ref":"#/components/schemas/InferenceUsage"}},"title":"InferenceChatCompletion"},"InferenceErrorError":{"type":"object","properties":{"message":{"type":"string","description":"Explanatory message meant for humans."},"type":{"type":"string","description":"An error category. The envelope shape is uniform, but for a gateway-originated error this string is whichever vocabulary the resolved provider's own pipeline uses (mostly OpenAI-style values like `invalid_request_error`/`rate_limit_error`, plus provider-specific ones like Anthropic's `billing_error` or OpenAI's own `insufficient_credits`) — it is not normalized to one fixed value across providers."},"param":{"type":["string","null"],"description":"The offending request field, when the error names one."},"code":{"type":["string","null"],"description":"A stable machine-readable reason. A `gateway_*` code is gateway-originated rather than passed through from a provider."}},"required":["message","type","param","code"],"title":"InferenceErrorError"},"InferenceError":{"type":"object","properties":{"error":{"$ref":"#/components/schemas/InferenceErrorError"}},"required":["error"],"description":"The OpenAI-shaped envelope every error this endpoint itself produces uses, regardless of which of the four providers a request resolved to.","title":"InferenceError"},"InferenceChatCompletionsRequestPaymentRequiredError":{"oneOf":[{"$ref":"#/components/schemas/Error"},{"$ref":"#/components/schemas/InferenceError"}],"title":"InferenceChatCompletionsRequestPaymentRequiredError"},"InferenceModelProvider":{"type":"string","enum":["openai","anthropic","xai","huggingface"],"title":"InferenceModelProvider"},"InferenceModelCapabilities":{"type":"object","properties":{"streaming":{"type":"boolean"},"tools":{"type":"boolean"},"tool_choice":{"type":"boolean"},"vision":{"type":"boolean","description":"Whether this specific model is known to accept `image_url` content parts — truthful per model, not a blanket value across the catalog."}},"title":"InferenceModelCapabilities"},"InferenceModelPricingLongContext":{"type":"object","properties":{"threshold_input_tokens":{"type":"integer","description":"Input token count above which these long-context rates replace the top-level (short-context) rates."},"input_per_million":{"type":"number","format":"double"},"cached_input_per_million":{"type":"number","format":"double"},"cache_write_per_million":{"type":"number","format":"double"},"output_per_million":{"type":"number","format":"double"}},"description":"OpenAI `gpt-5.6` family only — present when the model has a distinct rate tier for requests whose input token count exceeds `threshold_input_tokens`. Absent for every other provider and model.","title":"InferenceModelPricingLongContext"},"InferenceModelPricing":{"type":"object","properties":{"currency":{"type":"string","enum":["usd"]},"input_per_million":{"type":"number","format":"double"},"output_per_million":{"type":"number","format":"double"},"cached_input_per_million":{"type":"number","format":"double","description":"OpenAI's cached-input discount rate, or Anthropic's cache-READ rate. Absent where the provider has no cache-read discount (xAI, Hugging Face)."},"cache_write_5m_per_million":{"type":"number","format":"double","description":"Anthropic only — writing a 5-minute ephemeral cache breakpoint."},"cache_write_1h_per_million":{"type":"number","format":"double","description":"Anthropic only — writing a 1-hour ephemeral cache breakpoint."},"cache_write_per_million":{"type":"number","format":"double","description":"OpenAI `gpt-5.6` family only — rate for the `cache_write_tokens` category OpenAI reports in `usage.input_tokens_details` (Responses API) or `usage.prompt_tokens_details` (Chat Completions API). A mutually exclusive input token category, never additive with `input_per_million` or `cached_input_per_million`."},"long_context":{"$ref":"#/components/schemas/InferenceModelPricingLongContext","description":"OpenAI `gpt-5.6` family only — present when the model has a distinct rate tier for requests whose input token count exceeds `threshold_input_tokens`. Absent for every other provider and model."}},"description":"Clean per-1M-token USD rates with the gateway's 5.5% fee included, sourced from the same price tables each native provider route bills from.","title":"InferenceModelPricing"},"InferenceModel":{"type":"object","properties":{"id":{"type":"string","description":"The canonical model id (same form accepted in a chat request's `model` field)."},"object":{"type":"string","enum":["model"]},"created":{"type":"integer"},"owned_by":{"type":"string","description":"For a Hugging Face entry, the underlying HF repo's owner segment — not necessarily the same string as `provider`."},"provider":{"$ref":"#/components/schemas/InferenceModelProvider"},"capabilities":{"$ref":"#/components/schemas/InferenceModelCapabilities"},"supported_parameters":{"type":"array","items":{"type":"string"},"description":"The optional `InferenceChatRequest` fields this gateway accepts — uniform across every listed model, since the common set is provider-agnostic by construction."},"pricing":{"$ref":"#/components/schemas/InferenceModelPricing"}},"title":"InferenceModel"},"InferenceModelList":{"type":"object","properties":{"object":{"type":"string","enum":["list"]},"data":{"type":"array","items":{"$ref":"#/components/schemas/InferenceModel"}}},"title":"InferenceModelList"},"InferenceListModelsRequestPaymentRequiredError":{"oneOf":[{"$ref":"#/components/schemas/Error"},{"$ref":"#/components/schemas/InferenceError"}],"title":"InferenceListModelsRequestPaymentRequiredError"},"InferenceGetModelRequestPaymentRequiredError":{"oneOf":[{"$ref":"#/components/schemas/Error"},{"$ref":"#/components/schemas/InferenceError"}],"title":"InferenceGetModelRequestPaymentRequiredError"}},"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer","description":"Your per-client bearer token — the API key the gateway issued to you. Present it in\n`Authorization: Bearer <token>` form. A token that is missing, unknown, or revoked draws a\n`401`. Before the call is sent upstream the token is removed (stripped, or swapped for the\nupstream's own credential); it never makes it past the gateway.\n"}}}}