Skip to main content
POST
Model Publicity
When called with an API key, the key needs the models scope (about scopes).

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

xi-api-key
string | null
x-api-key
string | null

Path Parameters

model_name
string
required

Body

application/json
public
boolean
required

whether to make the model public of private

Response

Successful Response