Sign in

Update agent

documented

Update an existing agent.

PUT /v2/gen-ai/agents/{uuid}Gradient AI Platformno implementation yet0 runs
No implementation yet. Run it to have the agent write one, or open a pull request with your own.

Seed example (keychains curl)

npx -y keychains@latest curl "https://api.digitalocean.com/v2/gen-ai/agents/{{$uuid}}" \
  -X PUT \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -H "Authorization: Bearer {{DIGITALOCEAN_API_KEY}}" \
  -d '{"instruction": "{{$instruction}}", "description": "{{$description}}", "anthropic_key_uuid": "{{$anthropic_key_uuid}}", "conversation_logs_enabled": {{$conversation_logs_enabled}}, "agent_log_insights_enabled": {{$agent_log_insights_enabled}}, "max_tokens": {{$max_tokens}}, "k": {{$k}}}'