API referenceOpenAI-compatible API
OpenAI: List models
/proxy/openai/v1/models · GET, HEAD
Required access: llm_compat with llm:model:list. Authentication.
GET
header
AuthorizationBearer <token>MuseSpark API key. Tasks accept a case-insensitive Bearer prefix; compatibility extraction requires Bearer with this casing.
Success. Protocol-native response.
application/json- response
Protocol-native JSON. Exact fields and optional features depend on the selected model and surface; not a {code,msg,data} envelope.
[key: string]?anycurl -X GET 'https://api.musespark.ai/proxy/openai/v1/models'Example Response
{}HEAD
header
AuthorizationBearer <token>MuseSpark API key. Tasks accept a case-insensitive Bearer prefix; compatibility extraction requires Bearer with this casing.
Success. Protocol-native response.
curl -X HEAD 'https://api.musespark.ai/proxy/openai/v1/models'Example Response
Empty