Skip to main content
List them anytime with GET /api/v2/agents:
curl "https://agp.eu.hcompany.ai/api/v2/agents" \
  -H "Authorization: Bearer $H_API_KEY"
Reference one by name when you create a session, and the platform supplies its full configuration:
curl -X POST https://agp.eu.hcompany.ai/api/v2/sessions \
  -H "Authorization: Bearer $H_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "agent": "h/web-surfer-holo3-1-35b",
    "messages": [{"type": "user_message", "message": "Top 3 stories on Hacker News right now?"}]
  }'