Skip to main content
PUT
/
agents
/
{agent_pid}
Update Agent
curl --request PUT \
  --url https://ds.cominty.com/agents/{agent_pid} \
  --header 'Content-Type: application/json' \
  --header 'x-cominty-token: <api-key>' \
  --data '
{
  "name": "<string>",
  "description": "<string>",
  "instructions": "<string>"
}
'
{
  "id": "<string>",
  "name": "<string>",
  "mode": "<string>",
  "description": "<string>",
  "instructions": "<string>",
  "owner": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.cominty.ai/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

x-cominty-token
string
header
required

Your Cominty API token.

Path Parameters

agent_pid
string
required

Body

application/json
name
string | null
mode
enum<string> | null
Available options:
lite,
hive
description
string | null
Maximum string length: 500
instructions
string | null
Maximum string length: 2000

Response

Successful Response

id
string
required
name
string
required
mode
string
required
description
string | null
required
instructions
string | null
required
owner
string
required
read-only