assessments
Get assessments id
Requires scopes: eval:read
GET
/
api
/
assessments
/
{id}
Get assessments id
curl --request GET \
--url https://evalgate.com/api/assessments/{id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://evalgate.com/api/assessments/{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/assessments/{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/assessments/{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/assessments/{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/assessments/{id}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://evalgate.com/api/assessments/{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{
"id": 123,
"title": "<string>",
"goal": "<string>",
"decisionToInform": "<string>",
"stage": "<string>",
"status": "<string>",
"currency": "CURRENT",
"systemBinding": {
"state": "resolved",
"aiSystemId": 123,
"name": "<string>"
},
"updatedAt": "<string>",
"claims": [
{
"id": 123,
"statement": "<string>",
"status": "CONTRADICTED",
"limitations": "<string>",
"supportingEvidenceCount": 123,
"contradictingEvidenceCount": 123,
"excludedSupportingEvidenceCount": 123,
"excludedContradictingEvidenceCount": 123,
"danglingSupportingEvidenceCount": 123,
"danglingContradictingEvidenceCount": 123,
"statusBasis": "INVALID_SNAPSHOT_BINDING"
}
],
"measurements": [
{
"definitionId": 123,
"name": "<string>",
"kind": "<string>",
"value": "<string>",
"unit": "<string>",
"summary": "<string>",
"measuredAt": "<string>",
"validationStatus": "CHALLENGED",
"validationNotes": "<string>",
"validatedAt": "<string>",
"evidenceItemCount": 123,
"requirements": [
{
"evidenceKind": "<string>",
"necessity": "<string>",
"satisfiedCount": 123
}
],
"unresolvedEvidenceCount": 123
}
],
"evidence": [
{
"linkId": 123,
"evidenceItemId": 123,
"eventName": "<string>",
"sourceType": "<string>",
"sourceId": "<string>",
"exposureClass": "<string>",
"applicable": true,
"applicabilityMismatches": [
"<string>"
],
"exposureCount": 123,
"collectedAt": "<string>"
}
],
"decisions": [
{
"decisionId": 123,
"decisionType": "<string>",
"rationale": "<string>",
"decidedBy": "<string>",
"authority": "<string>",
"decidedAt": "<string>",
"effectiveFrom": "<string>",
"expiresAt": "<string>",
"conditions": [
{
"statement": "<string>",
"dueBy": "<string>",
"owner": "<string>",
"satisfied": false
}
],
"reassessmentConditions": "<string>",
"decisionValidity": "ACTIVE",
"snapshotId": 123,
"enforcementStatus": "CONFIRMED",
"receipts": [
{
"id": 123,
"target": "<string>",
"result": "<string>",
"observedAt": "<string>",
"externalReference": "<string>",
"policyVersion": "<string>",
"deploymentVersion": "<string>",
"proof": true,
"proofHash": "<string>"
}
],
"exceptions": [
{
"id": 123,
"waivedSourceType": "<string>",
"waivedSourceId": "<string>",
"authority": "<string>",
"reason": "<string>",
"compensatingControls": "<string>",
"expiresAt": "<string>",
"expired": true
}
]
}
],
"snapshots": [
{
"id": 123,
"snapshotKey": "<string>",
"createdAt": "<string>"
}
],
"openReassessmentTriggers": [
{
"id": 123,
"dependencyKind": "<string>",
"dependencyRef": "<string>",
"observedChange": "<string>",
"proposedCurrency": "<string>",
"reason": "<string>",
"createdAt": "<string>"
}
],
"syntheses": [
{
"id": 123,
"createdAt": "<string>"
}
],
"runtimeEvidence": {
"items": [
{
"snapshotId": 123,
"snapshotHash": "<string>",
"integrity": "unavailable",
"review": {
"schemaVersion": "assessment-runtime-review-v1",
"organizationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"assessmentId": 123,
"eventId": 123,
"reference": {
"source": "model_call",
"modelCallId": "<string>"
},
"observation": {
"reference": {
"source": "model_call",
"modelCallId": "<string>"
},
"target": "<string>",
"boundary": "<string>",
"outcome": "<string>",
"timing": "<string>",
"scopeComplete": true,
"receiptHash": "<string>",
"receipt": {}
},
"reviewedBy": {
"userId": "<string>",
"authType": "<string>",
"role": "<string>"
},
"reviewedAt": "<string>",
"rationale": "<string>",
"expectedAssessmentHash": "<string>",
"requestHash": "<string>",
"assessment": {}
},
"currentState": "changed",
"currentReceiptHash": "<string>"
}
],
"nextBeforeId": 123
},
"reviewContextHash": "<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
currency
Option 1 · enum<string>Option 2 · enum<string>Option 3 · enum<string>Option 4 · enum<string>
required
Available options:
CURRENT - Option 1
- Option 2
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
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
⌘I
Get assessments id
curl --request GET \
--url https://evalgate.com/api/assessments/{id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://evalgate.com/api/assessments/{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/assessments/{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/assessments/{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/assessments/{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/assessments/{id}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://evalgate.com/api/assessments/{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{
"id": 123,
"title": "<string>",
"goal": "<string>",
"decisionToInform": "<string>",
"stage": "<string>",
"status": "<string>",
"currency": "CURRENT",
"systemBinding": {
"state": "resolved",
"aiSystemId": 123,
"name": "<string>"
},
"updatedAt": "<string>",
"claims": [
{
"id": 123,
"statement": "<string>",
"status": "CONTRADICTED",
"limitations": "<string>",
"supportingEvidenceCount": 123,
"contradictingEvidenceCount": 123,
"excludedSupportingEvidenceCount": 123,
"excludedContradictingEvidenceCount": 123,
"danglingSupportingEvidenceCount": 123,
"danglingContradictingEvidenceCount": 123,
"statusBasis": "INVALID_SNAPSHOT_BINDING"
}
],
"measurements": [
{
"definitionId": 123,
"name": "<string>",
"kind": "<string>",
"value": "<string>",
"unit": "<string>",
"summary": "<string>",
"measuredAt": "<string>",
"validationStatus": "CHALLENGED",
"validationNotes": "<string>",
"validatedAt": "<string>",
"evidenceItemCount": 123,
"requirements": [
{
"evidenceKind": "<string>",
"necessity": "<string>",
"satisfiedCount": 123
}
],
"unresolvedEvidenceCount": 123
}
],
"evidence": [
{
"linkId": 123,
"evidenceItemId": 123,
"eventName": "<string>",
"sourceType": "<string>",
"sourceId": "<string>",
"exposureClass": "<string>",
"applicable": true,
"applicabilityMismatches": [
"<string>"
],
"exposureCount": 123,
"collectedAt": "<string>"
}
],
"decisions": [
{
"decisionId": 123,
"decisionType": "<string>",
"rationale": "<string>",
"decidedBy": "<string>",
"authority": "<string>",
"decidedAt": "<string>",
"effectiveFrom": "<string>",
"expiresAt": "<string>",
"conditions": [
{
"statement": "<string>",
"dueBy": "<string>",
"owner": "<string>",
"satisfied": false
}
],
"reassessmentConditions": "<string>",
"decisionValidity": "ACTIVE",
"snapshotId": 123,
"enforcementStatus": "CONFIRMED",
"receipts": [
{
"id": 123,
"target": "<string>",
"result": "<string>",
"observedAt": "<string>",
"externalReference": "<string>",
"policyVersion": "<string>",
"deploymentVersion": "<string>",
"proof": true,
"proofHash": "<string>"
}
],
"exceptions": [
{
"id": 123,
"waivedSourceType": "<string>",
"waivedSourceId": "<string>",
"authority": "<string>",
"reason": "<string>",
"compensatingControls": "<string>",
"expiresAt": "<string>",
"expired": true
}
]
}
],
"snapshots": [
{
"id": 123,
"snapshotKey": "<string>",
"createdAt": "<string>"
}
],
"openReassessmentTriggers": [
{
"id": 123,
"dependencyKind": "<string>",
"dependencyRef": "<string>",
"observedChange": "<string>",
"proposedCurrency": "<string>",
"reason": "<string>",
"createdAt": "<string>"
}
],
"syntheses": [
{
"id": 123,
"createdAt": "<string>"
}
],
"runtimeEvidence": {
"items": [
{
"snapshotId": 123,
"snapshotHash": "<string>",
"integrity": "unavailable",
"review": {
"schemaVersion": "assessment-runtime-review-v1",
"organizationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"assessmentId": 123,
"eventId": 123,
"reference": {
"source": "model_call",
"modelCallId": "<string>"
},
"observation": {
"reference": {
"source": "model_call",
"modelCallId": "<string>"
},
"target": "<string>",
"boundary": "<string>",
"outcome": "<string>",
"timing": "<string>",
"scopeComplete": true,
"receiptHash": "<string>",
"receipt": {}
},
"reviewedBy": {
"userId": "<string>",
"authType": "<string>",
"role": "<string>"
},
"reviewedAt": "<string>",
"rationale": "<string>",
"expectedAssessmentHash": "<string>",
"requestHash": "<string>",
"assessment": {}
},
"currentState": "changed",
"currentReceiptHash": "<string>"
}
],
"nextBeforeId": 123
},
"reviewContextHash": "<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
}
}
}