Responses API

POST /responses supports input items, instructions, function tools, the web_search tool, text.format (JSON schema) and reasoning. With store (default true) the conversation is kept 30 days, encrypted, so previous_response_id works; send store: false to opt out.

curl https://api.ultragpt.pro/v1/responses \
  -H "Authorization: Bearer $ULTRAGPT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "model": "grok-4.7", "input": "What is an API?" }'