Sign in

Create agent

documented

Create a new Gradient agent.

POST /v2/gen-ai/agentsGradient 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" \
  -X POST \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -H "Authorization: Bearer {{DIGITALOCEAN_API_KEY}}" \
  -d '{"name": "{{$name}}", "model_uuid": "{{$model_uuid}}", "instruction": "{{$instruction}}", "description": "{{$description}}", "project_id": "{{$project_id}}", "region": "{{$region}}", "knowledge_base_uuid": ["{{$knowledge_base_uuid_1}}","{{$knowledge_base_uuid_2}}"], "tags": ["{{$tag1}}","{{$tag2}}"]}'
Create agent · DigitalOcean · OpenIntegrations