Cursor Integration
Cursor hybrid chat completions
Accepts Cursor's hybrid chat-completions payload (which is structurally a Responses API request with input blocks) and returns a chat- completions-shaped response (choices + delta chunks for streams). Routes the request through the Responses pipeline internally.
post/cursor/v1/chat/completions
Request
- Base URLhttp://localhost:8080
- Auth
- HTTP bearer
- or HTTP basic
- or API key in header x-bf-vk
- or API key in header x-api-key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"model": "gpt-4"
}Response
Successful response
Changes
No recorded changes to this operation across all 1 revision of this API.