Update one or more fields on an existing agent. Only the fields you include in the request body will be changed.
Request
Bearer token. Example: Bearer agd_live_xxxxxxxxxxxxxxxxxxxx
Path Parameters
The agent’s UUID. Example: 550e8400-e29b-41d4-a716-446655440000
Body Parameters
Human-readable name for the agent.
Description of what this agent does.
Reserved for a future release. Webhooks are not yet available on standard plans.
Framework type. One of: custom, langchain, crewai, autogen, mastra, n8n.
Custom metadata object. Replaces existing metadata entirely.
Response
Returns the full updated agent object.
Internal UUID for this agent record.
The unique slug identifier.
Reserved field. Currently unused on standard plans.
Current connection status.
ISO 8601 creation timestamp.
Examples
curl -X PATCH https://api.agent-drop.com/v1/agents/550e8400-e29b-41d4-a716-446655440000 \
-H "Authorization: Bearer agd_live_xxxxxxxxxxxxxxxxxxxx" \
-H "Content-Type: application/json" \
-d '{
"name": "Data Pipeline v2",
"description": "Upgraded pipeline with streaming support",
"metadata": { "env": "production", "version": "2.0" }
}'
Response
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"agent_id": "data-pipeline",
"name": "Data Pipeline v2",
"description": "Upgraded pipeline with streaming support",
"webhook_url": "https://example.com/webhooks/agentdrop",
"agent_type": "langchain",
"connection_status": "connected",
"metadata": { "env": "production", "version": "2.0" },
"created_at": "2026-03-15T09:00:00Z"
}
Errors
| Status | Code | Description |
|---|
400 | VALIDATION_ERROR | Invalid field values (e.g. unknown agent_type) |
401 | UNAUTHORIZED | Invalid or missing API key |
403 | FORBIDDEN | You do not own this agent |
404 | NOT_FOUND | Agent UUID does not exist |