AI AgentsUpdate an AI agent

Update an AI agent

POST /agents/{agent_id}

curl -X POST "https://app.bualpro.com/api/agents/3.14" \
  -H "Content-Type: application/json" \
  -H "X-ACCESS-TOKEN: YOUR_API_KEY" \
  -d '{
  "prompt": "Your prompt here"
}'
{
  "id": 3.14,
  "name": "Johan Ahmad",
  "created_by": 3.14,
  "created_at": "2024-12-25T10:00:00Z"
}
POST
/agents/{agent_id}
POST
Base URLstring

Target server for requests. Edit to use your own host.

API Key (header: X-ACCESS-TOKEN)
X-ACCESS-TOKENstring
Required

API key (sent in header)

Content-Typestring
Required

The media type of the request body

Options: application/json
promptstring

The prompt field for the AI agent

max_output_tokensnumber

The max_output_tokens field for the AI agent

Request Preview
Response

Response will appear here after sending the request

Authentication

header
X-ACCESS-TOKENstring
Required

API Key for authentication. Provide your API key in the header.

Path Parameters

Body

application/json
promptstring

The prompt field for the AI agent

max_output_tokensnumber

The max_output_tokens field for the AI agent

modelobject

Responses

idnumber
namestring
created_bynumber
created_atstring

Date in UTC. Example 2022-10-12 14:40:00

Update AI agent by id

The source does not declare a request media type. The JSON representation shown here is a documentation conversion default; confirm the required Content-Type before integrating.