> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://developers.meshapi.ai/llms.txt.
> For full documentation content, see https://developers.meshapi.ai/llms-full.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://developers.meshapi.ai/_mcp/server.

# Responses API (Reasoning)

> Query reasoning models with the Node.js SDK.

# Responses API (Reasoning Models)

Use the responses API to query o-series and similar models that provide reasoning efforts.

```ts
const response = await client.responses.create({
  model: "openai/o4-mini",
  input: "Explain the halting problem in two sentences.",
  reasoning: { effort: "medium" },
  max_output_tokens: 512,
});

console.log(response.output);
```

Streaming works the same way via `client.responses.create({ ...stream: true })`.