/api/v1/scim/UsersList SCIM users
SCIM 2.0 (RFC 7644 §3.2) /Users collection — paginated list with `attr eq "value"` filter support. This is the CANONICAL mount that our own ResourceTypes and ServiceProviderConfig discovery documents point an IdP at. Authenticates with the SCIM Bearer token, not a session cookie. Authentication: the IdP-issued SCIM bearer token (`Authorization: Bearer scim_...`, the ScimBearer scheme), NOT an `eg_` API key — an API key is rejected on this path. API-key scopes are not evaluated here, so none is published; a SCIM token's own per-operation allow-list governs instead.
Authentication
This is a SCIM 2.0 provisioning endpoint. Send the SCIM bearer token issued to your organisation — not an eg_ API key, which will not authenticate here. Issue a token with POST /api/v1/scim/tokens and revoke it with DELETE /api/v1/scim/tokens — both require an org owner or admin role — then paste the token into your identity provider.
Response
All status codes
Code samples
cURL
curl -X GET \ https://evalguard.ai/api/v1/scim/Users \ -H "Authorization: Bearer $EVALGUARD_API_KEY"
TypeScript
// The TypeScript SDK (@evalguard/sdk) exposes TYPED methods — runEval,
// getEval, runSecurityScan, checkFirewall, … — not a generic request().
// For an arbitrary endpoint, call it directly:
const res = await fetch("https://evalguard.ai/api/v1/scim/Users", {
method: "GET",
headers: { Authorization: `Bearer ${process.env.EVALGUARD_API_KEY}` },
});
console.log(res.status, await res.json());Python
# The Python SDK (pip install evalguardai) exposes TYPED methods on
# EvalGuardClient — run_eval, get_eval, … — not a generic request().
# For an arbitrary endpoint, call it directly:
import os
import requests
headers = {"Authorization": f"Bearer {os.environ['EVALGUARD_API_KEY']}"}
response = requests.request("GET", "https://evalguard.ai/api/v1/scim/Users", headers=headers)
print(response.status_code, response.json())Go
package main
import (
"context"
"fmt"
"net/http"
"os"
)
func main() {
req, _ := http.NewRequestWithContext(context.Background(), "GET", "https://evalguard.ai/api/v1/scim/Users", nil)
req.Header.Set("Authorization", "Bearer "+os.Getenv("EVALGUARD_API_KEY"))
resp, err := http.DefaultClient.Do(req)
if err != nil { panic(err) }
defer resp.Body.Close()
fmt.Println(resp.Status)
}