responses
Cursor Model List
Changed onOpenAI-compatible model listing for the Cursor BYOK base URL.
Clients pointed at <proxy>/cursor as an OpenAI-compatible base URL resolve and verify models via GET {base}/models (the OpenAI SDK contract). Without this route those requests fall through to the Cursor Cloud Agents passthrough, which demands a Cursor API key and 401s, so key verification silently fails before any chat request is ever sent. Delegates to the standard /v1/models handler.
get/cursor/models
Request
- Base URLhttps://api.mammouth.ai (the document declares no server; this is the origin it was published from)
- AuthAPI key in header x-litellm-api-key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Response
Successful Response
unknown required
Changes
- info
endpoint added
- info