LLM integrationAnthropic protocol
Anthropic protocol
Connect through the native Messages request and streaming format.
Use https://api.musespark.ai/proxy/anthropic as the SDK base URL. An Anthropic SDK appends /v1/messages.
For direct HTTP calls, use the full path /proxy/anthropic/v1/messages, an anthropic-version header, and a MuseSpark API key.
Integration path
- Quickstart: complete Messages examples.
- Streaming: process native named SSE events.
- API reference: Messages and model catalog operations.
Select a model
curl --fail-with-body 'https://api.musespark.ai/proxy/anthropic/v1/models' \
-H "Authorization: Bearer $MUSESPARK_API_KEY"The native collection response uses data and has_more. Use an authorized model ID and check its model documentation.