Preview release.These docs are a work in progress. Pages are still being written, links may break, and structure may shift without notice. Treat everything here as a draft and report issues onGitHub.
Get a consultation profile contract
const url = 'https://data.example.test/v1/consultations/example';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://data.example.test/v1/consultations/example \ --header 'Authorization: Bearer <token>'Returns the complete hash-pinned public contract for the one active contract behind this profile id. The response is protected and visible only to the configured authorized OIDC workload with the profile’s exact required scope.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Exact consultation profile identifier from the protected contract catalog.
Responses
Section titled “Responses”Consultation profile contract metadata.
Protected metadata containing the complete public contract for the one active contract behind this profile id.
object
Complete public consultation contract. Clients strict-parse and recompute its domain-separated contract hash before activation. The product-neutral spec.integration object contains exactly id and a positive integer revision; integration-pack content hashes remain internal to the signed deployment closure.
object
SHA-256 identity of the canonical public contract.
Examplegenerated
{ "contract": {}, "contract_hash": "example"}The Registry Notary OIDC credential is missing or invalid. Stable code: auth.invalid_credentials.
object
Example
{ "code": "auth.invalid_credentials", "detail": "no credential provided in Authorization or x-api-key header", "request_id": "01ARZ3NDEKTSV4RRFFQ69G5FAV", "status": 401, "title": "Missing credential", "type": "https://id.registrystack.org/problems/registry-relay/auth/missing_credential"}The authenticated workload is not permitted to view this consultation profile. Stable code: consultation.denied.
object
Example
{ "code": "consultation.denied", "detail": "no credential provided in Authorization or x-api-key header", "request_id": "01ARZ3NDEKTSV4RRFFQ69G5FAV", "status": 403, "title": "Missing credential", "type": "https://id.registrystack.org/problems/registry-relay/auth/missing_credential"}The profile id is not visible to this workload. Stable code: consultation.profile_not_found.
object
Example
{ "code": "consultation.profile_not_found", "detail": "no credential provided in Authorization or x-api-key header", "request_id": "01ARZ3NDEKTSV4RRFFQ69G5FAV", "status": 404, "title": "Missing credential", "type": "https://id.registrystack.org/problems/registry-relay/auth/missing_credential"}The consultation profile cannot be resolved safely. Stable code: consultation.unavailable.
object
Example
{ "code": "consultation.unavailable", "detail": "no credential provided in Authorization or x-api-key header", "request_id": "01ARZ3NDEKTSV4RRFFQ69G5FAV", "status": 503, "title": "Missing credential", "type": "https://id.registrystack.org/problems/registry-relay/auth/missing_credential"}