Skip to content
Skip to Content
Coder Docs

List AI Gateway clients

GET
/api/v2/ai-gateway/clients

Alias: also available at /api/v2/aibridge/clients for backward compatibility.

Authorization

CoderSessionToken
headerCoder-Session-Token<token>

Response Body

OK

application/json
  1. response
[index: integer]?string

The samples read CODER_URL and CODER_SESSION_TOKEN: set up your environment.

curl -X GET \	"$CODER_URL/api/v2/ai-gateway/clients" \	-H "Coder-Session-Token: $CODER_SESSION_TOKEN"
Example Response200
[  "string"]