Unreleased documentation. These pages follow the main branch and can change before the next release. For supported guidance, use v0.15.2.
List the complete Evidence request shapes available to the authenticated caller
const url = 'https://example.com/v1/evidence-definitions';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://example.com/v1/evidence-definitions \ --header 'Authorization: Bearer <token>'Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”Requester-scoped Evidence definitions
object
object
object
What the subject bindings in this requirement’s assertions are derived under. The vocabulary is closed and carries no default: absence means audience-scoped, stated here so a relying party reading a definition without the key knows the requirement issues audience-scoped assertions and is not reading an omission it has to resolve elsewhere. A definition that does carry the key states the mode explicitly.
object
object
object
object
object
object
object
Example
{ "assuranceProfile": "local", "definitions": [ { "concepts": [ { "form": "boolean" } ], "kind": "criterion", "subjectBindingMode": "audience-scoped", "subjects": [ { "cardinality": "one", "selector": { "fields": [ { "type": "string" } ], "valueOrigin": "request" } } ] } ], "schema": "registry.evidence-definitions/v1"}Headers
Section titled “Headers”Evidence responses are never cacheable.
Server-minted operation identifier for this request. It is generated by Evidence, never taken from the caller, and is the identifier a caller quotes to an operator. Problem responses repeat it in the operation member.
Malformed discovery request
object
object
object
object
object
object
object
object
object
object
Example
{ "code": "malformed_request", "status": 400, "title": "Request is not valid", "type": "https://registrystack.org/problems/evidence/malformed_request"}Headers
Section titled “Headers”Evidence responses are never cacheable.
Server-minted operation identifier for this request. It is generated by Evidence, never taken from the caller, and is the identifier a caller quotes to an operator. Problem responses repeat it in the operation member.
Authentication failed
object
object
object
object
object
object
object
object
object
object
Example
{ "code": "authentication_failed", "status": 401, "title": "Authentication failed", "type": "https://registrystack.org/problems/evidence/authentication_failed"}Headers
Section titled “Headers”Evidence responses are never cacheable.
Server-minted operation identifier for this request. It is generated by Evidence, never taken from the caller, and is the identifier a caller quotes to an operator. Problem responses repeat it in the operation member.
Request rate exceeded
object
object
object
object
object
object
object
object
object
object
Example
{ "code": "rate_limited", "status": 429, "title": "Request rate exceeded", "type": "https://registrystack.org/problems/evidence/rate_limited"}Headers
Section titled “Headers”Evidence responses are never cacheable.
Server-minted operation identifier for this request. It is generated by Evidence, never taken from the caller, and is the identifier a caller quotes to an operator. Problem responses repeat it in the operation member.
Service temporarily unavailable
object
object
object
object
object
object
object
object
object
object
Example
{ "code": "service_unavailable", "status": 503, "title": "Service temporarily unavailable", "type": "https://registrystack.org/problems/evidence/service_unavailable"}Headers
Section titled “Headers”Evidence responses are never cacheable.
Server-minted operation identifier for this request. It is generated by Evidence, never taken from the caller, and is the identifier a caller quotes to an operator. Problem responses repeat it in the operation member.