Skip to main content
POST
/
agents
/
sync-tools
Sync agent tool schemas
curl --request POST \
  --url https://asteragents.com/api/agents/sync-tools \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "updated": 5,
  "total": 5,
  "agents": [
    {
      "id": 1,
      "name": "Customer Support Agent"
    },
    {
      "id": 2,
      "name": "Sales Assistant"
    }
  ]
}

Authorizations

Authorization
string
header
required

JWT token from Clerk authentication.

Must be from a user with org:admin role.

Response

Tool schemas synced successfully

success
boolean
required
updated
integer
required

Number of agents successfully updated

total
integer
required

Total number of agents in the organization

agents
object[]
required

List of updated agents