POST
/
agents
/
{agent_id}
/
config
curl --request POST \
  --url https://api.proficientai.com/agents/{agent_id}/config \
  --header 'Content-Type: application/json' \
  --data '{
  "anthropic": {
    "temperature": 123,
    "top_k": 123,
    "top_p": 123
  },
  "greeting_message": "<string>",
  "initial_turn": "user",
  "model": "anthropic.claude-v1",
  "openai": {
    "frequency_penalty": 123,
    "presence_penalty": 123,
    "temperature": 123,
    "top_p": 123
  },
  "system_message": "<string>"
}'
{
  "object": "agent_config",
  "anthropic": {
    "temperature": 123,
    "top_k": 123,
    "top_p": 123
  },
  "agent_id": "<string>",
  "greeting_message": "<string>",
  "initial_turn": "user",
  "model": "anthropic.claude-v1",
  "openai": {
    "frequency_penalty": 123,
    "presence_penalty": 123,
    "temperature": 123,
    "top_p": 123
  },
  "system_message": "<string>"
}

Path Parameters

agent_id
string
required

The unique identifier of the agent

Body

application/json

The data with which an AgentConfig is updated.

Response

200
application/json

Represents the current configuration of the agent. This is an admin-level resource that is not exposed to the users.