MuseSpark
MuseSpark
API referenceOpenAI-compatible API

OpenAI: Read model

/proxy/openai/v1/models/{model} · GET, HEAD

Required access: llm_compat with llm:model:list. Authentication.

GET
/proxy/openai/v1/models/{model}

Authorization

headerAuthorizationBearer <token>

MuseSpark API key. Tasks accept a case-insensitive Bearer prefix; compatibility extraction requires Bearer with this casing.

Path Parameters

model*string

Catalog model ID; percent-encode the identifier as appropriate.

Response Body

Success. Protocol-native response.

application/json
  1. response

Protocol-native JSON. Exact fields and optional features depend on the selected model and surface; not a {code,msg,data} envelope.

[key: string]?any
Example Request
curl -X GET 'https://api.musespark.ai/proxy/openai/v1/models/string'
Example Response
{}
HEAD
/proxy/openai/v1/models/{model}

Authorization

headerAuthorizationBearer <token>

MuseSpark API key. Tasks accept a case-insensitive Bearer prefix; compatibility extraction requires Bearer with this casing.

Path Parameters

model*string

Catalog model ID; percent-encode the identifier as appropriate.

Response Body

Success. Protocol-native response.

Example Request
curl -X HEAD 'https://api.musespark.ai/proxy/openai/v1/models/string'
Example Response
Empty