Skip to main content

aiGateway-update

aiGateway-update

Request Body REQUIRED
workspaceId string REQUIRED
gatewayId string REQUIRED
name string REQUIRED

Possible values: length ≤ 100

modelApiKey string REQUIRED
customModelBaseUrl string REQUIRED
customModelName string REQUIRED
customModelInputPrice number REQUIRED
customModelOutputPrice number REQUIRED
Responses
200

Successful response

Schema OPTIONAL
id string
workspaceId string
name string
modelApiKey string OPTIONAL
customModelBaseUrl string OPTIONAL
customModelName string OPTIONAL
customModelInputPrice number OPTIONAL
customModelOutputPrice number OPTIONAL
createdAt string
updatedAt string
400

Invalid input data

Schema OPTIONAL
message string

The error message

code string

The error code

issues object[] OPTIONAL

An array of issues that were responsible for the error

message string
401

Authorization not provided

Schema OPTIONAL
message string

The error message

code string

The error code

issues object[] OPTIONAL

An array of issues that were responsible for the error

message string
403

Insufficient access

Schema OPTIONAL
message string

The error message

code string

The error code

issues object[] OPTIONAL

An array of issues that were responsible for the error

message string
404

Not found

Schema OPTIONAL
message string

The error message

code string

The error code

issues object[] OPTIONAL

An array of issues that were responsible for the error

message string
500

Internal server error

Schema OPTIONAL
message string

The error message

code string

The error code

issues object[] OPTIONAL

An array of issues that were responsible for the error

message string