GET
/api/v1/compliance/licencesList the organisation's regulatory licence register
Returns the licences, registrations and permits this organisation must HOLD, each with its DERIVED `standing` rather than only the stored `status` — a licence recorded as 'granted' whose expiry has passed is reported 'lapsed'. Distinct from `/compliance/changes`, which is the global catalog of what the law is doing. Org-scoped: requires membership in `orgId`.
Authentication
Send Authorization: Bearer YOUR_API_KEY on every request. Generate API keys at /dashboard/settings/api-keys.
Parameters
orgId in queryrequiredstringjurisdiction in querystringstatus in querystringlimit in queryintegerResponse
200 example
{
"licences": [
{
"id": "00000000-0000-0000-0000-000000000000",
"orgId": "00000000-0000-0000-0000-000000000000",
"kind": "licence",
"name": "string",
"jurisdiction": "<'EU', ISO-3166 alpha-2, or a subdivision>",
"authority": "string",
"frameworkId": "string",
"reference": "string",
"status": "not_started",
"ownerUserId": "00000000-0000-0000-0000-000000000000",
"effectiveFrom": "2026-01-01",
"expiresAt": "2026-01-01",
"renewalLeadDays": 0,
"notes": "string",
"standing": "in_force",
"daysUntilExpiry": 0
}
],
"total": 0,
"needingAttention": 0
}All status codes
200The register, with a count of what needs attention.
400orgId missing or invalid
401Unauthenticated
403Not a member of the organisation
409Conflict — CONFLICT.
429Too Many Requests — the per-key or per-organization rate limit was exceeded. Honour the Retry-After header.
500Internal Server Error — DB_ERROR.
503Schema behind code — the register migration is not applied here
Code samples
cURL
curl -X GET \ https://evalguard.ai/api/v1/compliance/licences \ -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/compliance/licences", {
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/compliance/licences", 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/compliance/licences", 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)
}Errors
400401403409429500503