red team
Get red team id
Requires scopes: red_team:read
GET
/
api
/
red-team
/
findings
/
{id}
Get red team id
curl --request GET \
--url https://evalgate.com/api/red-team/findings/{id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://evalgate.com/api/red-team/findings/{id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://evalgate.com/api/red-team/findings/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://evalgate.com/api/red-team/findings/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://evalgate.com/api/red-team/findings/{id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://evalgate.com/api/red-team/findings/{id}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://evalgate.com/api/red-team/findings/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"finding": {
"id": "<string>",
"organizationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"campaignId": "<string>",
"firstRunId": "<string>",
"latestResultId": "<string>",
"fingerprint": "<string>",
"category": "prompt_injection",
"severity": "medium",
"confidence": 123,
"status": "<string>",
"title": "<string>",
"summary": "<string>",
"ownerId": "<string>",
"adjudicationItemId": 123,
"candidateCaseId": 123,
"remediationExperimentId": "<string>",
"signedReportId": 123,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"resolvedAt": "2023-11-07T05:31:56Z"
},
"results": [
{
"id": "<string>",
"organizationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"runId": "<string>",
"attackCaseId": "<string>",
"caseKind": "<string>",
"caseId": "<string>",
"obligationIds": [
"<string>"
],
"variantKey": "<string>",
"executionKey": "<string>",
"status": "<string>",
"attackSucceeded": false,
"severity": "medium",
"confidence": 123,
"responseHash": "<string>",
"responsePreview": "<string>",
"redactionState": "<string>",
"matchedIndicators": [
"<string>"
],
"scorerResultIds": [
"<string>"
],
"modelCallId": "<string>",
"costRecordId": 123,
"evidence": {},
"strategy": "reverse",
"turnCount": 123,
"createdAt": "2023-11-07T05:31:56Z"
}
],
"decisions": [
{
"id": "<string>",
"organizationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"findingId": "<string>",
"fromStatus": "<string>",
"toStatus": "<string>",
"rationale": "<string>",
"evidence": {},
"actorId": "<string>",
"createdAt": "2023-11-07T05:31:56Z"
}
],
"links": [
{
"id": "<string>",
"organizationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"findingId": "<string>",
"linkType": "<string>",
"resourceType": "<string>",
"resourceId": "<string>",
"resourceVersionId": "<string>",
"evidenceHash": "<string>",
"status": "<string>",
"metadata": {},
"createdBy": "<string>",
"createdAt": "2023-11-07T05:31:56Z"
}
],
"adjudication": {
"id": 123,
"organizationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"reasonCode": "<string>",
"status": "<string>",
"severity": "<string>",
"sourceType": "<string>",
"sourceId": "<string>",
"evaluationId": 123,
"title": "<string>",
"summary": "<string>",
"provenance": {
"sourceLabel": "<string>",
"redactedPreview": {},
"traceKey": "<string>",
"evalCaseId": "<string>",
"confidence": 123
},
"assignedTo": "<string>",
"createdBy": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"resolvedAt": "2023-11-07T05:31:56Z",
"reviewPreparation": [
{
"version": "review-preparation.v1",
"id": "<string>",
"idempotencyKey": "<string>",
"materialRevision": "<string>",
"inputDigest": "<string>",
"at": "<string>",
"actorId": "<string>",
"purpose": "platform_assistance",
"payer": "platform",
"credentialSource": "platform_environment",
"provider": "typesafe",
"model": "<string>",
"status": "completed",
"reasonCode": "<string>",
"source": {
"failureReportId": "<string>",
"description": "<string>",
"category": "<string>",
"severity": "medium",
"hasApprovalRecord": true,
"hasCompleteTrace": true,
"evidenceExcerpt": "<string>"
},
"reservationId": 123,
"reservedCostUsd": 123,
"costUsd": 123,
"costMissingReason": "<string>",
"result": {
"provider": "local",
"model": "<string>",
"score": 123,
"passed": true,
"latencyMs": 123,
"reasoning": "<string>",
"signals": {},
"judgeId": "<string>",
"retries": 123,
"parseStatus": "failed",
"confidence": 123,
"modelCallId": "<string>",
"decisions": [
{
"type": "choice",
"confidence": 123,
"question": "<string>",
"questionId": "<string>",
"choice": "<string>",
"probabilities": {}
}
],
"tokenUsage": {
"input": 123,
"output": 123,
"total": 123
},
"modelProvenance": {
"provider": "local",
"model": "<string>",
"temperature": 123,
"prompt_hash": "<string>",
"top_p": 123,
"max_tokens": 123,
"seed": 123
},
"cached": false,
"judgeFingerprint": {},
"criterionResults": [
{
"title": "<string>",
"score": 123,
"passed": true,
"reasoning": "<string>",
"criterionId": "<string>"
}
],
"decisionProvenance": {
"purpose": "platform_assistance",
"provider": "typesafe",
"model": "<string>",
"disposition": "pass",
"fallbackUsed": true,
"questionSchemaHash": "<string>",
"inputConstructionVersion": "<string>",
"modelVersion": "<string>",
"threshold": 123,
"inputDigest": "<string>",
"calibrationVersion": "<string>",
"decisionPolicyVersion": "<string>",
"fallbackReason": "<string>"
}
},
"suggestion": {
"version": "failure-review-prep.v1",
"purpose": "platform_assistance",
"interpretationPolicyVersion": "failure-review-prep-policy.v1",
"interpretationPolicy": {
"version": "failure-review-prep-policy.v1",
"needsPolicyClarificationMin": 123,
"traceSupportsCategoryMin": 123,
"essentialContextMissingMin": 123
},
"specialty": "unknown",
"needsPolicyClarification": true,
"traceSupportsSuspectedCategory": false,
"essentialContextMissing": true,
"routingTemplate": "<string>",
"maySuppressWork": false,
"mayGrantAuthority": false,
"disposition": "<string>",
"questionSchemaNote": "<string>"
}
}
],
"reviewActivity": [
{
"version": "review-activity.v1",
"id": "<string>",
"action": "start",
"at": "<string>",
"actorId": "<string>",
"actorKind": "human",
"sessionId": "<string>",
"assistanceId": "<string>",
"materialRevision": "<string>",
"adoption": "used",
"correctness": "correct",
"evidenceReference": "<string>",
"note": "<string>"
}
]
},
"sourceContexts": [
{
"id": "<string>",
"resultId": "<string>",
"evidenceRole": "original_observation",
"state": "not_applicable",
"reasonCode": "<string>",
"evidenceHash": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"source": null
}
],
"frameworkMapping": {
"owaspLlmTop10": [
"<string>"
],
"mitreAtlas": [
"<string>"
],
"aidefendTactics": [
"model"
],
"owaspAgenticTop10": [
"<string>"
],
"aidefendControlRefs": [
"<string>"
]
}
}{
"error": {
"code": "UNAUTHORIZED",
"message": "<string>",
"details": "<unknown>",
"requestId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"redaction": {
"applied": true,
"fieldCount": 1,
"secretCount": 1
}
}
}{
"error": {
"code": "UNAUTHORIZED",
"message": "<string>",
"details": "<unknown>",
"requestId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"redaction": {
"applied": true,
"fieldCount": 1,
"secretCount": 1
}
}
}{
"error": {
"code": "UNAUTHORIZED",
"message": "<string>",
"details": "<unknown>",
"requestId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"redaction": {
"applied": true,
"fieldCount": 1,
"secretCount": 1
}
}
}{
"error": {
"code": "UNAUTHORIZED",
"message": "<string>",
"details": "<unknown>",
"requestId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"redaction": {
"applied": true,
"fieldCount": 1,
"secretCount": 1
}
}
}{
"error": {
"code": "UNAUTHORIZED",
"message": "<string>",
"details": "<unknown>",
"requestId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"redaction": {
"applied": true,
"fieldCount": 1,
"secretCount": 1
}
}
}{
"error": {
"code": "UNAUTHORIZED",
"message": "<string>",
"details": "<unknown>",
"requestId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"redaction": {
"applied": true,
"fieldCount": 1,
"secretCount": 1
}
}
}{
"error": {
"code": "UNAUTHORIZED",
"message": "<string>",
"details": "<unknown>",
"requestId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"redaction": {
"applied": true,
"fieldCount": 1,
"secretCount": 1
}
}
}{
"error": {
"code": "UNAUTHORIZED",
"message": "<string>",
"details": "<unknown>",
"requestId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"redaction": {
"applied": true,
"fieldCount": 1,
"secretCount": 1
}
}
}Authorizations
Organization-scoped EvalGate API key. Discover the supported agent scopes at /.well-known/oauth-protected-resource. Per-operation grants are listed in x-evalgate-required-scopes; OpenAPI bearer security requirement arrays remain empty as required for non-OAuth schemes.
Path Parameters
Response
Successful response
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
- Option 1
- Option 2
Show child attributes
Show child attributes
Show child attributes
Show child attributes
⌘I
Get red team id
curl --request GET \
--url https://evalgate.com/api/red-team/findings/{id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://evalgate.com/api/red-team/findings/{id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://evalgate.com/api/red-team/findings/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://evalgate.com/api/red-team/findings/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://evalgate.com/api/red-team/findings/{id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://evalgate.com/api/red-team/findings/{id}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://evalgate.com/api/red-team/findings/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"finding": {
"id": "<string>",
"organizationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"campaignId": "<string>",
"firstRunId": "<string>",
"latestResultId": "<string>",
"fingerprint": "<string>",
"category": "prompt_injection",
"severity": "medium",
"confidence": 123,
"status": "<string>",
"title": "<string>",
"summary": "<string>",
"ownerId": "<string>",
"adjudicationItemId": 123,
"candidateCaseId": 123,
"remediationExperimentId": "<string>",
"signedReportId": 123,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"resolvedAt": "2023-11-07T05:31:56Z"
},
"results": [
{
"id": "<string>",
"organizationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"runId": "<string>",
"attackCaseId": "<string>",
"caseKind": "<string>",
"caseId": "<string>",
"obligationIds": [
"<string>"
],
"variantKey": "<string>",
"executionKey": "<string>",
"status": "<string>",
"attackSucceeded": false,
"severity": "medium",
"confidence": 123,
"responseHash": "<string>",
"responsePreview": "<string>",
"redactionState": "<string>",
"matchedIndicators": [
"<string>"
],
"scorerResultIds": [
"<string>"
],
"modelCallId": "<string>",
"costRecordId": 123,
"evidence": {},
"strategy": "reverse",
"turnCount": 123,
"createdAt": "2023-11-07T05:31:56Z"
}
],
"decisions": [
{
"id": "<string>",
"organizationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"findingId": "<string>",
"fromStatus": "<string>",
"toStatus": "<string>",
"rationale": "<string>",
"evidence": {},
"actorId": "<string>",
"createdAt": "2023-11-07T05:31:56Z"
}
],
"links": [
{
"id": "<string>",
"organizationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"findingId": "<string>",
"linkType": "<string>",
"resourceType": "<string>",
"resourceId": "<string>",
"resourceVersionId": "<string>",
"evidenceHash": "<string>",
"status": "<string>",
"metadata": {},
"createdBy": "<string>",
"createdAt": "2023-11-07T05:31:56Z"
}
],
"adjudication": {
"id": 123,
"organizationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"reasonCode": "<string>",
"status": "<string>",
"severity": "<string>",
"sourceType": "<string>",
"sourceId": "<string>",
"evaluationId": 123,
"title": "<string>",
"summary": "<string>",
"provenance": {
"sourceLabel": "<string>",
"redactedPreview": {},
"traceKey": "<string>",
"evalCaseId": "<string>",
"confidence": 123
},
"assignedTo": "<string>",
"createdBy": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"resolvedAt": "2023-11-07T05:31:56Z",
"reviewPreparation": [
{
"version": "review-preparation.v1",
"id": "<string>",
"idempotencyKey": "<string>",
"materialRevision": "<string>",
"inputDigest": "<string>",
"at": "<string>",
"actorId": "<string>",
"purpose": "platform_assistance",
"payer": "platform",
"credentialSource": "platform_environment",
"provider": "typesafe",
"model": "<string>",
"status": "completed",
"reasonCode": "<string>",
"source": {
"failureReportId": "<string>",
"description": "<string>",
"category": "<string>",
"severity": "medium",
"hasApprovalRecord": true,
"hasCompleteTrace": true,
"evidenceExcerpt": "<string>"
},
"reservationId": 123,
"reservedCostUsd": 123,
"costUsd": 123,
"costMissingReason": "<string>",
"result": {
"provider": "local",
"model": "<string>",
"score": 123,
"passed": true,
"latencyMs": 123,
"reasoning": "<string>",
"signals": {},
"judgeId": "<string>",
"retries": 123,
"parseStatus": "failed",
"confidence": 123,
"modelCallId": "<string>",
"decisions": [
{
"type": "choice",
"confidence": 123,
"question": "<string>",
"questionId": "<string>",
"choice": "<string>",
"probabilities": {}
}
],
"tokenUsage": {
"input": 123,
"output": 123,
"total": 123
},
"modelProvenance": {
"provider": "local",
"model": "<string>",
"temperature": 123,
"prompt_hash": "<string>",
"top_p": 123,
"max_tokens": 123,
"seed": 123
},
"cached": false,
"judgeFingerprint": {},
"criterionResults": [
{
"title": "<string>",
"score": 123,
"passed": true,
"reasoning": "<string>",
"criterionId": "<string>"
}
],
"decisionProvenance": {
"purpose": "platform_assistance",
"provider": "typesafe",
"model": "<string>",
"disposition": "pass",
"fallbackUsed": true,
"questionSchemaHash": "<string>",
"inputConstructionVersion": "<string>",
"modelVersion": "<string>",
"threshold": 123,
"inputDigest": "<string>",
"calibrationVersion": "<string>",
"decisionPolicyVersion": "<string>",
"fallbackReason": "<string>"
}
},
"suggestion": {
"version": "failure-review-prep.v1",
"purpose": "platform_assistance",
"interpretationPolicyVersion": "failure-review-prep-policy.v1",
"interpretationPolicy": {
"version": "failure-review-prep-policy.v1",
"needsPolicyClarificationMin": 123,
"traceSupportsCategoryMin": 123,
"essentialContextMissingMin": 123
},
"specialty": "unknown",
"needsPolicyClarification": true,
"traceSupportsSuspectedCategory": false,
"essentialContextMissing": true,
"routingTemplate": "<string>",
"maySuppressWork": false,
"mayGrantAuthority": false,
"disposition": "<string>",
"questionSchemaNote": "<string>"
}
}
],
"reviewActivity": [
{
"version": "review-activity.v1",
"id": "<string>",
"action": "start",
"at": "<string>",
"actorId": "<string>",
"actorKind": "human",
"sessionId": "<string>",
"assistanceId": "<string>",
"materialRevision": "<string>",
"adoption": "used",
"correctness": "correct",
"evidenceReference": "<string>",
"note": "<string>"
}
]
},
"sourceContexts": [
{
"id": "<string>",
"resultId": "<string>",
"evidenceRole": "original_observation",
"state": "not_applicable",
"reasonCode": "<string>",
"evidenceHash": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"source": null
}
],
"frameworkMapping": {
"owaspLlmTop10": [
"<string>"
],
"mitreAtlas": [
"<string>"
],
"aidefendTactics": [
"model"
],
"owaspAgenticTop10": [
"<string>"
],
"aidefendControlRefs": [
"<string>"
]
}
}{
"error": {
"code": "UNAUTHORIZED",
"message": "<string>",
"details": "<unknown>",
"requestId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"redaction": {
"applied": true,
"fieldCount": 1,
"secretCount": 1
}
}
}{
"error": {
"code": "UNAUTHORIZED",
"message": "<string>",
"details": "<unknown>",
"requestId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"redaction": {
"applied": true,
"fieldCount": 1,
"secretCount": 1
}
}
}{
"error": {
"code": "UNAUTHORIZED",
"message": "<string>",
"details": "<unknown>",
"requestId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"redaction": {
"applied": true,
"fieldCount": 1,
"secretCount": 1
}
}
}{
"error": {
"code": "UNAUTHORIZED",
"message": "<string>",
"details": "<unknown>",
"requestId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"redaction": {
"applied": true,
"fieldCount": 1,
"secretCount": 1
}
}
}{
"error": {
"code": "UNAUTHORIZED",
"message": "<string>",
"details": "<unknown>",
"requestId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"redaction": {
"applied": true,
"fieldCount": 1,
"secretCount": 1
}
}
}{
"error": {
"code": "UNAUTHORIZED",
"message": "<string>",
"details": "<unknown>",
"requestId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"redaction": {
"applied": true,
"fieldCount": 1,
"secretCount": 1
}
}
}{
"error": {
"code": "UNAUTHORIZED",
"message": "<string>",
"details": "<unknown>",
"requestId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"redaction": {
"applied": true,
"fieldCount": 1,
"secretCount": 1
}
}
}{
"error": {
"code": "UNAUTHORIZED",
"message": "<string>",
"details": "<unknown>",
"requestId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"redaction": {
"applied": true,
"fieldCount": 1,
"secretCount": 1
}
}
}