Skip to main content
PUT
/
simulate
/
agent-definitions
/
{agent_id}
/
edit
/
Update agent definition
curl --request PUT \
  --url https://api.futureagi.com/simulate/agent-definitions/{agent_id}/edit/ \
  --header 'Content-Type: application/json' \
  --header 'X-Api-Key: <api-key>' \
  --header 'X-Secret-Key: <api-key>' \
  --data '{
  "agent_name": "<string>",
  "description": "<string>",
  "contact_number": "<string>",
  "assistant_id": "<string>",
  "provider": "<string>",
  "language": "<string>",
  "api_key": "<string>",
  "webhook_secret": "<string>",
  "knowledge_base": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}'

Authorizations

X-Api-Key
string
header
required

API Key for authentication. Click here to access API Key

X-Secret-Key
string
header
required

Secret Key for authentication. Click here to access Secret Key

Path Parameters

agent_id
string<uuid>
required

Body

application/json
agent_name
string
description
string
contact_number
string
assistant_id
string
provider
string
language
string
api_key
string
webhook_secret
string
knowledge_base
string<uuid> | null

Response

200

Agent definition updated