Create Response
Authorizations
Enter your MeshAPI key (rsk_...) — sent as Authorization: Bearer <key>.
Headers
Dated version of the API contract to pin this request to. Omit it and the request is served under 2026-08 — the oldest supported version, so an existing integration is never moved by a release. A malformed or unsupported value is rejected with 400 invalid_api_version rather than falling back silently. The version actually served is echoed as X-Mesh-Version on every response, including errors.
2026-08 Body
x >= 10 <= x <= 20 <= x <= 1Custom function tool in the Responses API flat format.
The Responses API uses a flat structure (name/description/parameters at top level) unlike Chat Completions which nests them under a "function" key:
Responses API: {"type": "function", "name": "add", "parameters": {...}} Chat Completions: {"type": "function", "function": {"name": "add", ...}}
- ResponsesFunctionTool
- BuiltinTool
2561 <= x <= 10x > 0Response
Completed response (JSON), a queued background job when background=true, or an SSE stream when stream=true