Cursor Integration
Anthropic messages — wildcard (Cursor mount)
Cursor mount of the Anthropic messages wildcard (POST /anthropic/v1/messages/{path}). Routes extended Anthropic messages endpoints (e.g. batches, count tokens) through Cursor.
post/cursor/v1/messages/{path}
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.
Path parameters
pathstring required
Request body
Example request
{
"model": "claude-3-opus-20240229"
}Response
Successful response
Changes
No recorded changes to this operation across all 1 revision of this API.