GET/api/v1/compliance/owasp-agentic/score

Org-level OWASP Agentic AI Top-10 risk posture

Returns a graded risk report (per-AAI-category severity score + overall 0-100 + letter grade + worst-category callout) for the caller's org, computed from security_findings in the trailing window. Pattern lifted from Tencent AI-Infra-Guard's agent-scan report schema; OWASP categories AAI01-AAI10.

Authentication

Send Authorization: Bearer YOUR_API_KEY on every request. Generate API keys at /dashboard/api-keys.

Parameters

orgId in queryrequired
string
projectId in query
string
days in query
integer

Response

All status codes

200OwaspAgenticReport snapshot
400(no description)
401(no description)
429(no description)
500DB_ERROR fetching findings

Code samples

cURL

curl -X GET \
  https://evalguard.ai/api/v1/compliance/owasp-agentic/score \
  -H "Authorization: Bearer $EVALGUARD_API_KEY" \

TypeScript

import { EvalGuard } from "@evalguard/sdk";

const client = new EvalGuard({ apiKey: process.env.EVALGUARD_API_KEY });

const response = await client.request({
  method: "GET",
  path: "/api/v1/compliance/owasp-agentic/score",
});
console.log(response);

Python

from evalguard import EvalGuard
import os

client = EvalGuard(api_key=os.environ["EVALGUARD_API_KEY"])

response = client.request(method="GET", path="/api/v1/compliance/owasp-agentic/score")
print(response)

Go

package main

import (
	"context"
	"fmt"
	"os"

	"github.com/evalguard/evalguard-go"
)

func main() {
	client := evalguard.NewClient(os.Getenv("EVALGUARD_API_KEY"))
	resp, err := client.Request(context.Background(), "GET", "/api/v1/compliance/owasp-agentic/score", nil)
	if err != nil { panic(err) }
	fmt.Println(resp)
}

Errors

400401429500

Other Compliance endpoints