curl --request PUT \
  --url https://api.honeyhive.ai/configurations/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "project": "<string>",
  "type": "LLM",
  "name": "<string>",
  "provider": "<string>",
  "parameters": {
    "call_type": "chat",
    "model": "<string>",
    "hyperparameters": {},
    "selectedFunctions": [
      {
        "id": "<string>",
        "name": "<string>",
        "description": "<string>",
        "parameters": {}
      }
    ],
    "functionCallParams": "none",
    "forceFunction": {}
  },
  "user_properties": {}
}'

Authorizations

Authorization
string
headerrequired

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

Path Parameters

id
string
required

Configuration ID

Body

application/json
project
string
required

ID of the project to which this configuration belongs

type
enum<string>

Type of the configuration - "LLM" or "pipeline" - "LLM" by default

Available options:
LLM,
pipeline
name
string
required

Name of the configuration

provider
string
required

Name of the provider - "openai", "anthropic", etc.

parameters
object
user_properties
object

Details of user who created the configuration