API documentationBahasa Indonesia
GET/api/v2/ai/agents
List AI Agents
The AI Agents this key may ask, with their status and API switch.
Only agents with active: true and api_enabled: true can answer; turn on "Usable through the API" (Bisa dipakai lewat API) in AI Agent › Integration (AI Agent › Integrasi). A key limited to specific agents only sees those agents. Use id in Ask the AI for an answer.
Possible errors
- 401
missing_keyAPI key not sent - 401
key_invalidUnknown API key - 401
key_revokedAPI key revoked - 401
key_expiredAPI key expired - 401
member_inactiveKey creator is no longer a member - 403
ip_not_allowedServer IP not in the key's list - 403
plan_no_apiPlan does not include the API for live keys - 403
tenant_blockedBusiness access suspended - 403
scope_missingKey lacks this permission - 403
permission_missingKey creator's role lacks this permission - 429
rate_limitedToo many requests per minute - 500
internal_errorProblem at Klik Flow
Try it
Try it with a test key
/api/v2/ai/agents