Talk with Archie
API reference › Connect Keys
API reference › Connect Keys

List API Keys for the Caller's Organisation

GET/api/v1/connect-keys
Return all keys for the caller's org, merged with mirror metadata.

Combines the WorkOS-canonical view (id, name, obfuscated_value, last_used_at, permissions, created_at, updated_at) with the mirror-canonical view (workspace_id, rate_limit_per_minute, description, created_by_user_id, rotated_from_key_id, expires_at, revoked_at). Mirror fields are None when no mirror row exists yet for a particular key.

Returns

Successful Response

curl https://uk.heyarchie.com/api/v1/connect-keys \
  -H "Authorization: Bearer sk_..."
import requests

headers = {"Authorization": "Bearer sk_..."}

r = requests.get("https://uk.heyarchie.com/api/v1/connect-keys", headers=headers)
print(r.json())
const r = await fetch("https://uk.heyarchie.com/api/v1/connect-keys", {
  method: "GET",
  headers: { "Authorization": "Bearer sk_..." },
});
const data = await r.json();
console.log(data);
Response

Every response also carries X-Request-ID. Quote it if you write to us about a call.