Skip to content
All documentation

API reference

Responses API

Configure Responses clients and Codex CLI.

OPENAI BASE URLhttps://www.modelmesh.in/api/v1

A gateway adapter

POST /api/v1/responses adapts supported text and tool interactions to the configured chat provider. Hosted tools, vendor storage, and background jobs are not implemented.

Use an explicit model

Send an exact catalog ID and input. Use stream: false for JSON or stream: true for typed response events. max_output_tokens controls the forwarded output limit. Coding workflows require tool-calling support.

Codex configuration

Open Connections → Codex CLI. Use wire_api = responses and the displayed OpenAI base URL. Keep the key in MODELMESH_API_KEY and preserve existing user settings.

Request example

POSThttps://www.modelmesh.in/api/v1/responses

Replace the key placeholder before running this example. This page does not send requests. Paid requests consume your allowance or funds.

$env:MODELMESH_API_KEY = 'YOUR_MODELMESH_KEY'

Invoke-RestMethod -Method Post -Uri 'https://www.modelmesh.in/api/v1/responses' `
  -Headers @{Authorization="Bearer $env:MODELMESH_API_KEY"} `
  -ContentType 'application/json' `
  -Body '{
  "model": "YOUR_MODEL_ID",
  "input": "Say hello in one sentence.",
  "max_output_tokens": 64,
  "stream": false
}'