Pular para o conteúdo principal
PATCH
Python (SDK)

Autorizações

Authorization
string
header
obrigatório

Gateway auth: send Authorization: Bearer <mka1-api-key>. For multi-user server-side integrations, you can also send X-On-Behalf-Of: <external-user-id>.

Parâmetros de caminho

id
string
obrigatório

Corpo

application/json
provider
string
modelId
string
displayName
string | null
baseUrl
string<uri> | null
apiFormat
enum<string>
Opções disponíveis:
responses,
completions,
embeddings,
images,
transcriptions,
tts
apiProviderType
enum<string>
Opções disponíveis:
groq,
azure,
meetkai,
meetkaiGateway,
fal,
openai
created
integer
Intervalo obrigatório: 0 <= x <= 9007199254740991
auth
object
capabilities
object
contextWindow
integer | null
Intervalo obrigatório: 0 < x <= 9007199254740991
rpm
integer | null
Intervalo obrigatório: 0 < x <= 9007199254740991
rateLimits
object[] | null
concurrency
object | null
requestTimeoutMs
integer | null
Intervalo obrigatório: 0 < x <= 9007199254740991
maxRetries
integer | null
Intervalo obrigatório: 0 <= x <= 9007199254740991
defaultParams
object | null
rerouteRules
object[] | null
hidden
boolean | null
embeddingLimits
object | null
healthCheck
object

Resposta

200 - application/json

OK

id
string
obrigatório
provider
string
obrigatório
model_id
string
obrigatório
source
string
obrigatório
immutable
boolean
obrigatório
definition
object
obrigatório
health
object
obrigatório
created_at
number | null
obrigatório
updated_at
number | null
obrigatório