Create or update settings for an API key.

Creates or updates settings for an API key and organization.

Path Params
string
required

The ID of the Organization.

string
required

ID of the API key to which the settings belong to.

Body Params
boolean
required

Whether prompt sharing is enabled.

boolean
required

Whether routing is enabled.

double
required

The importance of the quality over cost when comparing models.

Examples:

  • 0.5 means that the quality of the model is as important as the cost.
  • 1 means that only the quality will be considered.
  • 0 means that only the cost will be considered.
Responses

Language
Credentials
URL
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json