{"openapi":"3.1.0","info":{"title":"OpenTrust Consumer API","version":"1.0.0","description":"Read shared compliance posture, resources, subprocessors, machine-readable JSON, and authorized vulnerability findings. Public reads need no key. Protected reads require an organization-issued Consumer key with the documented scope or an authorized session. Vulnerability data is never anonymous. Organization visibility, approval, and customer passkey policies apply. Publishing and internal knowledge operations are documented separately at /api/admin/openapi.json. Existing Management keys remain accepted on these legacy read routes with their original scopes. Data responses use private, no-store caching; lists use data and nextCursor (limit 50, maximum 100). Invalid supplied credentials are rejected."},"servers":[{"url":"/","description":"This OpenTrust instance"}],"tags":[{"name":"Certification","description":"Versioned publication, original documents, report snapshots, agency inventory and access evidence."},{"name":"Machine-readable","description":"Configurable public and protected raw JSON documents with stable URLs."},{"name":"Subprocessors","description":"Organization-wide third-party processing disclosures and public directory."},{"name":"Organization","description":"Organization identity and profile updates."},{"name":"Incidents","description":"Public availability incidents and the timestamped updates that follow."},{"name":"Compliance","description":"Offering metadata and framework posture."},{"name":"Resources","description":"Public, authenticated, and restricted evidence and documents."},{"name":"Vulnerabilities","description":"Authenticated finding reads and scanner synchronization."}],"paths":{"/api/v1/orgs/{orgSlug}/availability":{"get":{"operationId":"getAvailability","tags":["Availability"],"summary":"Read current and historical availability","description":"Public aggregate from the same configured monitors and SLO providers used by the uptime page. Current operational status is separate from rolling historical availability; unavailable/unconfigured data is explicit. Individual monitor identifiers, endpoints and backend payloads are never returned. Follow incidentsUrl for paginated incident history. The configured measurement coverage must be reconciled with the offering's core services.","parameters":[{"name":"orgSlug","in":"path","required":true,"schema":{"type":"string","minLength":1},"description":"Organization slug shown on the trust center home page. GET /api/v1/organization returns it for the site-root organization."}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"generatedAt":{"type":"string"},"current":{"type":"object","properties":{"status":{"type":"string","enum":["up","degraded","down","unknown"]},"updatedAt":{"type":["string","null"]},"source":{"type":"string","enum":["manual","monitor"]}},"required":["status","updatedAt","source"],"additionalProperties":false},"historical":{"anyOf":[{"type":"object","properties":{"availabilityPercent":{"type":["number","null"]},"targetPercent":{"type":["number","null"]},"objectiveCount":{"type":"number"},"meetingTargetCount":{"type":"number"},"windowDays":{"type":["number","null"]},"status":{"type":"string","enum":["healthy","degrading","violated","no_data","unavailable"]}},"required":["availabilityPercent","targetPercent","objectiveCount","meetingTargetCount","windowDays","status"],"additionalProperties":false},{"type":"null"}]},"incidentsUrl":{"type":"string"},"measurement":{"type":"string"}},"required":["generatedAt","current","historical","incidentsUrl","measurement"],"additionalProperties":false}},"required":["data"],"additionalProperties":false}}}},"400":{"description":"Invalid JSON, fields, or query parameters","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing, expired, revoked, invalid, or wrong-organization credentials","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Wrong key audience, insufficient scope, or organization access policy","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Organization, offering, or record not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Unexpected server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{},{"BearerAuth":[]},{"SessionCookie":[]},{"SecureSessionCookie":[]}],"x-api-key-scope":"content:read","x-api-key-audience":"consumer"}},"/api/v1/orgs/{orgSlug}/machine-readables":{"get":{"operationId":"listMachineReadables","tags":["Machine-readable"],"summary":"List accessible machine-readable documents","description":"List metadata and stable raw JSON URLs. Anonymous readers see public documents; verified, administrator-approved customers, organization members and content:read keys can read protected documents. Payloads are fetched separately.","parameters":[{"name":"orgSlug","in":"path","required":true,"schema":{"type":"string","minLength":1},"description":"Organization slug shown on the trust center home page. GET /api/v1/organization returns it for the site-root organization."},{"name":"limit","in":"query","required":false,"schema":{"default":50,"type":"integer","minimum":1,"maximum":100}},{"name":"cursor","in":"query","required":false,"schema":{"type":"string","minLength":1,"maxLength":255}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/MachineReadableSummary"}},"nextCursor":{"type":["string","null"]}},"required":["data","nextCursor"],"additionalProperties":false}}}},"400":{"description":"Invalid JSON, fields, or query parameters","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing, expired, revoked, invalid, or wrong-organization credentials","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Wrong key audience, insufficient scope, or organization access policy","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Organization, offering, or record not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Unexpected server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{},{"BearerAuth":[]},{"SessionCookie":[]},{"SecureSessionCookie":[]}],"x-api-key-scope":"content:read","x-api-key-audience":"consumer"}},"/api/v1/orgs/{orgSlug}/machine-readables/{documentSlug}":{"get":{"operationId":"getMachineReadable","tags":["Machine-readable"],"summary":"Read a machine-readable document","description":"Returns document metadata and the exact payloadText in a data envelope. For raw JSON without an envelope, GET the payload URL or the document's url instead. The same visibility rules protect both representations.","parameters":[{"name":"orgSlug","in":"path","required":true,"schema":{"type":"string","minLength":1},"description":"Organization slug shown on the trust center home page. GET /api/v1/organization returns it for the site-root organization."},{"name":"documentSlug","in":"path","required":true,"schema":{"type":"string","minLength":1},"description":"documentSlug from the organization or offering URL."}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/MachineReadable"}},"required":["data"],"additionalProperties":false}}}},"400":{"description":"Invalid JSON, fields, or query parameters","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing, expired, revoked, invalid, or wrong-organization credentials","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Wrong key audience, insufficient scope, or organization access policy","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Organization, offering, or record not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Unexpected server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{},{"BearerAuth":[]},{"SessionCookie":[]},{"SecureSessionCookie":[]}],"x-api-key-scope":"content:read","x-api-key-audience":"consumer"}},"/api/v1/orgs/{orgSlug}/machine-readables/{documentSlug}/payload":{"get":{"operationId":"getMachineReadablePayload","tags":["Machine-readable"],"summary":"GET the raw JSON payload","description":"Returns only the stored JSON payload, without a data envelope, metadata, HTML, or sign-in redirect. Supports objects, arrays, and JSON scalar values including null. Identical content and permissions are available at /{orgSlug}/machine-readable/{documentSlug}.json, and /machine-readable/{documentSlug}.json for the site-root organization. Public GETs require no credentials. Protected GETs accept a content:read Bearer key or an authorized session. Errors use the standard JSON error envelope. JSON Content-Type, nosniff, CORS, and no-store caching apply.","parameters":[{"name":"orgSlug","in":"path","required":true,"schema":{"type":"string","minLength":1},"description":"Organization slug shown on the trust center home page. GET /api/v1/organization returns it for the site-root organization."},{"name":"documentSlug","in":"path","required":true,"schema":{"type":"string","minLength":1},"description":"documentSlug from the organization or offering URL."}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{}}}},"400":{"description":"Invalid JSON, fields, or query parameters","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing, expired, revoked, invalid, or wrong-organization credentials","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Wrong key audience, insufficient scope, or organization access policy","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Organization, offering, or record not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Unexpected server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{},{"BearerAuth":[]},{"SessionCookie":[]},{"SecureSessionCookie":[]}],"x-api-key-scope":"content:read","x-api-key-audience":"consumer"}},"/api/v1/orgs/{orgSlug}/subprocessors":{"get":{"operationId":"listSubprocessors","tags":["Subprocessors"],"summary":"List subprocessors","description":"Read the organization-wide subprocessor directory. Anonymous readers and signed-in customers see published entries only. Organization members and content:read keys also see unpublished entries.","parameters":[{"name":"orgSlug","in":"path","required":true,"schema":{"type":"string","minLength":1},"description":"Organization slug shown on the trust center home page. GET /api/v1/organization returns it for the site-root organization."},{"name":"limit","in":"query","required":false,"schema":{"default":50,"type":"integer","minimum":1,"maximum":100}},{"name":"cursor","in":"query","required":false,"schema":{"type":"string","minLength":1,"maxLength":255}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Subprocessor"}},"nextCursor":{"type":["string","null"]}},"required":["data","nextCursor"],"additionalProperties":false}}}},"400":{"description":"Invalid JSON, fields, or query parameters","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing, expired, revoked, invalid, or wrong-organization credentials","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Wrong key audience, insufficient scope, or organization access policy","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Organization, offering, or record not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Unexpected server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{},{"BearerAuth":[]},{"SessionCookie":[]},{"SecureSessionCookie":[]}],"x-api-key-scope":"content:read","x-api-key-audience":"consumer"}},"/api/v1/orgs/{orgSlug}/subprocessors/{subprocessorSlug}":{"get":{"operationId":"getSubprocessor","tags":["Subprocessors"],"summary":"Read a subprocessor","description":"Read provider identity, processing purpose, data categories, processing locations, and links. Unpublished entries require organization membership or a content:read key.","parameters":[{"name":"orgSlug","in":"path","required":true,"schema":{"type":"string","minLength":1},"description":"Organization slug shown on the trust center home page. GET /api/v1/organization returns it for the site-root organization."},{"name":"subprocessorSlug","in":"path","required":true,"schema":{"type":"string","minLength":1},"description":"subprocessorSlug from the organization or offering URL."}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/Subprocessor"}},"required":["data"],"additionalProperties":false}}}},"400":{"description":"Invalid JSON, fields, or query parameters","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing, expired, revoked, invalid, or wrong-organization credentials","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Wrong key audience, insufficient scope, or organization access policy","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Organization, offering, or record not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Unexpected server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{},{"BearerAuth":[]},{"SessionCookie":[]},{"SecureSessionCookie":[]}],"x-api-key-scope":"content:read","x-api-key-audience":"consumer"}},"/api/v1/organization":{"get":{"operationId":"getSiteOrganization","tags":["Organization"],"summary":"Read the site-root organization","description":"Public identity for the organization served at the site root, including its slug. Use this when a trust-center URL has no organization segment.","parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/Organization"}},"required":["data"],"additionalProperties":false}}}},"400":{"description":"Invalid JSON, fields, or query parameters","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing, expired, revoked, invalid, or wrong-organization credentials","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Wrong key audience, insufficient scope, or organization access policy","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Organization, offering, or record not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Unexpected server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{},{"BearerAuth":[]},{"SessionCookie":[]},{"SecureSessionCookie":[]}],"x-api-key-scope":"content:read","x-api-key-audience":"consumer"}},"/api/v1/orgs/{orgSlug}":{"get":{"operationId":"getOrganization","tags":["Organization"],"summary":"Read organization profile","description":"Public organization identity and the selected vulnerability-read policy.","parameters":[{"name":"orgSlug","in":"path","required":true,"schema":{"type":"string","minLength":1},"description":"Organization slug shown on the trust center home page. GET /api/v1/organization returns it for the site-root organization."}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/Organization"}},"required":["data"],"additionalProperties":false}}}},"400":{"description":"Invalid JSON, fields, or query parameters","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing, expired, revoked, invalid, or wrong-organization credentials","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Wrong key audience, insufficient scope, or organization access policy","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Organization, offering, or record not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Unexpected server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{},{"BearerAuth":[]},{"SessionCookie":[]},{"SecureSessionCookie":[]}],"x-api-key-scope":"content:read","x-api-key-audience":"consumer"}},"/api/v1/orgs/{orgSlug}/incidents":{"get":{"operationId":"listIncidents","tags":["Incidents"],"summary":"List availability incidents","description":"List published availability incidents, newest activity first. Each incident includes its updates from the opening report through the latest status. Anonymous readers see the same lineage as the trust page.","parameters":[{"name":"orgSlug","in":"path","required":true,"schema":{"type":"string","minLength":1},"description":"Organization slug shown on the trust center home page. GET /api/v1/organization returns it for the site-root organization."},{"name":"limit","in":"query","required":false,"schema":{"default":50,"type":"integer","minimum":1,"maximum":100}},{"name":"cursor","in":"query","required":false,"schema":{"type":"string","minLength":1,"maxLength":255}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Incident"}},"nextCursor":{"type":["string","null"]}},"required":["data","nextCursor"],"additionalProperties":false}}}},"400":{"description":"Invalid JSON, fields, or query parameters","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing, expired, revoked, invalid, or wrong-organization credentials","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Wrong key audience, insufficient scope, or organization access policy","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Organization, offering, or record not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Unexpected server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{},{"BearerAuth":[]},{"SessionCookie":[]},{"SecureSessionCookie":[]}],"x-api-key-scope":"content:read","x-api-key-audience":"consumer"}},"/api/v1/orgs/{orgSlug}/incidents/{incidentId}":{"get":{"operationId":"getIncident","tags":["Incidents"],"summary":"Read an availability incident","description":"Read one incident and every update in the order it was published, including status changes.","parameters":[{"name":"orgSlug","in":"path","required":true,"schema":{"type":"string","minLength":1},"description":"Organization slug shown on the trust center home page. GET /api/v1/organization returns it for the site-root organization."},{"name":"incidentId","in":"path","required":true,"schema":{"type":"string","minLength":1},"description":"incidentId from the organization or offering URL."}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/Incident"}},"required":["data"],"additionalProperties":false}}}},"400":{"description":"Invalid JSON, fields, or query parameters","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing, expired, revoked, invalid, or wrong-organization credentials","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Wrong key audience, insufficient scope, or organization access policy","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Organization, offering, or record not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Unexpected server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{},{"BearerAuth":[]},{"SessionCookie":[]},{"SecureSessionCookie":[]}],"x-api-key-scope":"content:read","x-api-key-audience":"consumer"}},"/api/v1/orgs/{orgSlug}/offerings":{"get":{"operationId":"listOfferings","tags":["Compliance"],"summary":"List offerings","description":"List the organization’s public products and services.","parameters":[{"name":"orgSlug","in":"path","required":true,"schema":{"type":"string","minLength":1},"description":"Organization slug shown on the trust center home page. GET /api/v1/organization returns it for the site-root organization."},{"name":"limit","in":"query","required":false,"schema":{"default":50,"type":"integer","minimum":1,"maximum":100}},{"name":"cursor","in":"query","required":false,"schema":{"type":"string","minLength":1,"maxLength":255}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Offering"}},"nextCursor":{"type":["string","null"]}},"required":["data","nextCursor"],"additionalProperties":false}}}},"400":{"description":"Invalid JSON, fields, or query parameters","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing, expired, revoked, invalid, or wrong-organization credentials","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Wrong key audience, insufficient scope, or organization access policy","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Organization, offering, or record not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Unexpected server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{},{"BearerAuth":[]},{"SessionCookie":[]},{"SecureSessionCookie":[]}],"x-api-key-scope":"content:read","x-api-key-audience":"consumer"}},"/api/v1/orgs/{orgSlug}/offerings/{offeringSlug}":{"get":{"operationId":"getOffering","tags":["Compliance"],"summary":"Read an offering","description":"Read product identity and compliance-package metadata.","parameters":[{"name":"orgSlug","in":"path","required":true,"schema":{"type":"string","minLength":1},"description":"Organization slug shown on the trust center home page. GET /api/v1/organization returns it for the site-root organization."},{"name":"offeringSlug","in":"path","required":true,"schema":{"type":"string","minLength":1},"description":"Offering slug, the path segment after the organization slug."}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/Offering"}},"required":["data"],"additionalProperties":false}}}},"400":{"description":"Invalid JSON, fields, or query parameters","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing, expired, revoked, invalid, or wrong-organization credentials","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Wrong key audience, insufficient scope, or organization access policy","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Organization, offering, or record not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Unexpected server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{},{"BearerAuth":[]},{"SessionCookie":[]},{"SecureSessionCookie":[]}],"x-api-key-scope":"content:read","x-api-key-audience":"consumer"}},"/api/v1/orgs/{orgSlug}/offerings/{offeringSlug}/posture":{"get":{"operationId":"listPosture","tags":["Compliance"],"summary":"Read compliance posture","description":"Anonymous users and signed-in customers see public frameworks. Organization members and keys with content:read also see private frameworks.","parameters":[{"name":"orgSlug","in":"path","required":true,"schema":{"type":"string","minLength":1},"description":"Organization slug shown on the trust center home page. GET /api/v1/organization returns it for the site-root organization."},{"name":"offeringSlug","in":"path","required":true,"schema":{"type":"string","minLength":1},"description":"Offering slug, the path segment after the organization slug."},{"name":"limit","in":"query","required":false,"schema":{"default":50,"type":"integer","minimum":1,"maximum":100}},{"name":"cursor","in":"query","required":false,"schema":{"type":"string","minLength":1,"maxLength":255}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Posture"}},"nextCursor":{"type":["string","null"]}},"required":["data","nextCursor"],"additionalProperties":false}}}},"400":{"description":"Invalid JSON, fields, or query parameters","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing, expired, revoked, invalid, or wrong-organization credentials","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Wrong key audience, insufficient scope, or organization access policy","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Organization, offering, or record not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Unexpected server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{},{"BearerAuth":[]},{"SessionCookie":[]},{"SecureSessionCookie":[]}],"x-api-key-scope":"content:read","x-api-key-audience":"consumer"}},"/api/v1/orgs/{orgSlug}/offerings/{offeringSlug}/resources":{"get":{"operationId":"listResources","tags":["Resources"],"summary":"List accessible resources","description":"Anonymous readers see public resources; verified, administrator-approved customers also see authenticated resources. Approved keys and organization members additionally see restricted resources.","parameters":[{"name":"orgSlug","in":"path","required":true,"schema":{"type":"string","minLength":1},"description":"Organization slug shown on the trust center home page. GET /api/v1/organization returns it for the site-root organization."},{"name":"offeringSlug","in":"path","required":true,"schema":{"type":"string","minLength":1},"description":"Offering slug, the path segment after the organization slug."},{"name":"limit","in":"query","required":false,"schema":{"default":50,"type":"integer","minimum":1,"maximum":100}},{"name":"cursor","in":"query","required":false,"schema":{"type":"string","minLength":1,"maxLength":255}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Resource"}},"nextCursor":{"type":["string","null"]}},"required":["data","nextCursor"],"additionalProperties":false}}}},"400":{"description":"Invalid JSON, fields, or query parameters","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing, expired, revoked, invalid, or wrong-organization credentials","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Wrong key audience, insufficient scope, or organization access policy","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Organization, offering, or record not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Unexpected server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{},{"BearerAuth":[]},{"SessionCookie":[]},{"SecureSessionCookie":[]}],"x-api-key-scope":"content:read","x-api-key-audience":"consumer"}},"/api/v1/orgs/{orgSlug}/offerings/{offeringSlug}/resources/{resourceSlug}":{"get":{"operationId":"getResource","tags":["Resources"],"summary":"Read a resource","description":"Read the resource’s content and metadata, subject to its visibility.","parameters":[{"name":"orgSlug","in":"path","required":true,"schema":{"type":"string","minLength":1},"description":"Organization slug shown on the trust center home page. GET /api/v1/organization returns it for the site-root organization."},{"name":"offeringSlug","in":"path","required":true,"schema":{"type":"string","minLength":1},"description":"Offering slug, the path segment after the organization slug."},{"name":"resourceSlug","in":"path","required":true,"schema":{"type":"string","minLength":1},"description":"resourceSlug from the organization or offering URL."}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/Resource"}},"required":["data"],"additionalProperties":false}}}},"400":{"description":"Invalid JSON, fields, or query parameters","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing, expired, revoked, invalid, or wrong-organization credentials","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Wrong key audience, insufficient scope, or organization access policy","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Organization, offering, or record not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Unexpected server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{},{"BearerAuth":[]},{"SessionCookie":[]},{"SecureSessionCookie":[]}],"x-api-key-scope":"content:read","x-api-key-audience":"consumer"}},"/api/v1/orgs/{orgSlug}/offerings/{offeringSlug}/vulnerabilities":{"get":{"operationId":"listVulnerabilities","tags":["Vulnerabilities"],"summary":"Read vulnerability findings","description":"Authentication is always required. Organization-issued vulnerabilities:read keys and organization members have access. Other verified, administrator-approved customers have access only when the organization enables that policy in Settings. All filters are combined with AND; updatedSince is inclusive. Keep the same filters across cursor pages.","parameters":[{"name":"orgSlug","in":"path","required":true,"schema":{"type":"string","minLength":1},"description":"Organization slug shown on the trust center home page. GET /api/v1/organization returns it for the site-root organization."},{"name":"offeringSlug","in":"path","required":true,"schema":{"type":"string","minLength":1},"description":"Offering slug, the path segment after the organization slug."},{"name":"limit","in":"query","required":false,"schema":{"default":50,"type":"integer","minimum":1,"maximum":100}},{"name":"cursor","in":"query","required":false,"schema":{"type":"string","minLength":1,"maxLength":255}},{"name":"severity","in":"query","required":false,"schema":{"type":"string","enum":["critical","high","medium","low","info","unknown"]}},{"name":"status","in":"query","required":false,"schema":{"type":"string","enum":["open","in_progress","resolved","accepted_risk","false_positive"]}},{"name":"source","in":"query","required":false,"schema":{"type":"string","minLength":1,"maxLength":255}},{"name":"updatedSince","in":"query","required":false,"schema":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Vulnerability"}},"nextCursor":{"type":["string","null"]}},"required":["data","nextCursor"],"additionalProperties":false}}}},"400":{"description":"Invalid JSON, fields, or query parameters","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing, expired, revoked, invalid, or wrong-organization credentials","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Wrong key audience, insufficient scope, or organization access policy","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Organization, offering, or record not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Unexpected server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"BearerAuth":[]},{"SessionCookie":[]},{"SecureSessionCookie":[]}],"x-api-key-scope":"vulnerabilities:read","x-api-key-audience":"consumer"}},"/api/v1/orgs/{orgSlug}/offerings/{offeringSlug}/vulnerabilities/{findingId}":{"get":{"operationId":"getVulnerability","tags":["Vulnerabilities"],"summary":"Read one vulnerability finding","description":"Look up the OpenTrust finding ID returned by upload or list. Enforces the same organization access policy as the collection endpoint.","parameters":[{"name":"orgSlug","in":"path","required":true,"schema":{"type":"string","minLength":1},"description":"Organization slug shown on the trust center home page. GET /api/v1/organization returns it for the site-root organization."},{"name":"offeringSlug","in":"path","required":true,"schema":{"type":"string","minLength":1},"description":"Offering slug, the path segment after the organization slug."},{"name":"findingId","in":"path","required":true,"schema":{"type":"string","minLength":1},"description":"OpenTrust finding ID, not a CVE or scanner ID."}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/Vulnerability"}},"required":["data"],"additionalProperties":false}}}},"400":{"description":"Invalid JSON, fields, or query parameters","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing, expired, revoked, invalid, or wrong-organization credentials","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Wrong key audience, insufficient scope, or organization access policy","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Organization, offering, or record not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Unexpected server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"BearerAuth":[]},{"SessionCookie":[]},{"SecureSessionCookie":[]}],"x-api-key-scope":"vulnerabilities:read","x-api-key-audience":"consumer"}},"/api/v1/orgs/{orgSlug}/offerings/{offeringSlug}/certification/materials":{"get":{"operationId":"listCertificationMaterials","tags":["Certification"],"summary":"Discover all accessible certification material versions","description":"Paginated published versions with metadata, extracted human-readable text, checksums and original-byte download URLs. Includes retained historical versions. Public materials need no credentials; protected materials require an approved session or content:read key. Never exposes internal knowledge.","parameters":[{"name":"orgSlug","in":"path","required":true,"schema":{"type":"string","minLength":1},"description":"Organization slug shown on the trust center home page. GET /api/v1/organization returns it for the site-root organization."},{"name":"offeringSlug","in":"path","required":true,"schema":{"type":"string","minLength":1},"description":"Offering slug, the path segment after the organization slug."},{"name":"limit","in":"query","required":false,"schema":{"default":50,"type":"integer","minimum":1,"maximum":100}},{"name":"cursor","in":"query","required":false,"schema":{"type":"string","minLength":1,"maxLength":255}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/CertificationMaterial"}},"nextCursor":{"type":["string","null"]}},"required":["data","nextCursor"],"additionalProperties":false}}}},"400":{"description":"Invalid JSON, fields, or query parameters","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing, expired, revoked, invalid, or wrong-organization credentials","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Wrong key audience, insufficient scope, or organization access policy","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Organization, offering, or record not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Unexpected server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{},{"BearerAuth":[]},{"SessionCookie":[]},{"SecureSessionCookie":[]}],"x-api-key-scope":"content:read","x-api-key-audience":"consumer"}},"/api/v1/orgs/{orgSlug}/offerings/{offeringSlug}/certification/materials/{materialId}":{"get":{"operationId":"getCertificationMaterial","tags":["Certification"],"summary":"Read a certification material version","description":"Read the published version and policy reference metadata. Authorization is identical for the human-readable page and original download. SHA-256 identifies original bytes.","parameters":[{"name":"orgSlug","in":"path","required":true,"schema":{"type":"string","minLength":1},"description":"Organization slug shown on the trust center home page. GET /api/v1/organization returns it for the site-root organization."},{"name":"offeringSlug","in":"path","required":true,"schema":{"type":"string","minLength":1},"description":"Offering slug, the path segment after the organization slug."},{"name":"materialId","in":"path","required":true,"schema":{"type":"string","minLength":1},"description":"materialId from the organization or offering URL."}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/CertificationMaterial"}},"required":["data"],"additionalProperties":false}}}},"400":{"description":"Invalid JSON, fields, or query parameters","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing, expired, revoked, invalid, or wrong-organization credentials","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Wrong key audience, insufficient scope, or organization access policy","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Organization, offering, or record not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Unexpected server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{},{"BearerAuth":[]},{"SessionCookie":[]},{"SecureSessionCookie":[]}],"x-api-key-scope":"content:read","x-api-key-audience":"consumer"}},"/api/v1/orgs/{orgSlug}/offerings/{offeringSlug}/certification/materials/{materialId}/download":{"get":{"operationId":"downloadCertificationMaterial","tags":["Certification"],"summary":"Download original certification material bytes","description":"Noninteractive retrieval using the same content:read Bearer key. Verifies stored length and SHA-256 before returning bytes. No redirect to object storage. ETag contains the SHA-256. Revocation is checked on every request.","parameters":[{"name":"orgSlug","in":"path","required":true,"schema":{"type":"string","minLength":1},"description":"Organization slug shown on the trust center home page. GET /api/v1/organization returns it for the site-root organization."},{"name":"offeringSlug","in":"path","required":true,"schema":{"type":"string","minLength":1},"description":"Offering slug, the path segment after the organization slug."},{"name":"materialId","in":"path","required":true,"schema":{"type":"string","minLength":1},"description":"materialId from the organization or offering URL."}],"responses":{"200":{"description":"Success","content":{"application/octet-stream":{"schema":{"type":"string","format":"binary"}}}},"400":{"description":"Invalid JSON, fields, or query parameters","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing, expired, revoked, invalid, or wrong-organization credentials","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Wrong key audience, insufficient scope, or organization access policy","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Organization, offering, or record not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Unexpected server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{},{"BearerAuth":[]},{"SessionCookie":[]},{"SecureSessionCookie":[]}],"x-api-key-scope":"content:read","x-api-key-audience":"consumer"}},"/api/v1/orgs/{orgSlug}/offerings/{offeringSlug}/certification/snapshots":{"get":{"operationId":"listCertificationSnapshots","tags":["Certification"],"summary":"List ongoing-report snapshots","description":"Approved readers can retrieve immutable report-to-material-version mappings. Follow materialIds through material metadata and original downloads. Historical snapshots remain retained; operators must reconcile package completeness.","parameters":[{"name":"orgSlug","in":"path","required":true,"schema":{"type":"string","minLength":1},"description":"Organization slug shown on the trust center home page. GET /api/v1/organization returns it for the site-root organization."},{"name":"offeringSlug","in":"path","required":true,"schema":{"type":"string","minLength":1},"description":"Offering slug, the path segment after the organization slug."},{"name":"limit","in":"query","required":false,"schema":{"default":50,"type":"integer","minimum":1,"maximum":100}},{"name":"cursor","in":"query","required":false,"schema":{"type":"string","minLength":1,"maxLength":255}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/CertificationSnapshot"}},"nextCursor":{"type":["string","null"]}},"required":["data","nextCursor"],"additionalProperties":false}}}},"400":{"description":"Invalid JSON, fields, or query parameters","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing, expired, revoked, invalid, or wrong-organization credentials","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Wrong key audience, insufficient scope, or organization access policy","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Organization, offering, or record not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Unexpected server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"BearerAuth":[]},{"SessionCookie":[]},{"SecureSessionCookie":[]}],"x-api-key-scope":"content:read","x-api-key-audience":"consumer"}},"/api/v1/orgs/{orgSlug}/audit-events":{"get":{"operationId":"exportAuditEvents","tags":["Certification"],"summary":"Export individual audit requests","description":"Consumer exports are restricted to the authenticated agency, or the authenticated principal if no agency affiliation is recorded. Caller-supplied agency/principal filters and cursors cannot broaden access. Management exports cover the publishing organization. Returns observed certification access requests, newest first by createdAt and ID. Supports q and outcome filters before pagination. Follow opaque nextCursor until null. prepared means a response was prepared, not received or read. Missing rows do not establish uninterrupted coverage. No credentials, request headers, or payloads are exported.","parameters":[{"name":"orgSlug","in":"path","required":true,"schema":{"type":"string","minLength":1},"description":"Organization slug shown on the trust center home page. GET /api/v1/organization returns it for the site-root organization."},{"name":"limit","in":"query","required":false,"schema":{"default":50,"type":"integer","minimum":1,"maximum":100}},{"name":"cursor","in":"query","required":false,"schema":{"type":"string","minLength":1,"maxLength":255}},{"name":"q","in":"query","required":false,"schema":{"description":"Case-insensitive search across principal, agency, target, and action; individual events also search request ID.","type":"string","maxLength":200}},{"name":"outcome","in":"query","required":false,"schema":{"type":"string","enum":["prepared","denied","missing","failed"]}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"organizationId":{"type":"string"},"agencyId":{"type":["string","null"]},"principalId":{"type":"string"},"credentialId":{"type":["string","null"]},"target":{"type":"string"},"version":{"type":["string","null"]},"action":{"type":"string"},"outcome":{"type":"string","enum":["prepared","denied","missing","failed"]},"status":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"requestId":{"type":"string"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"}},"required":["id","organizationId","agencyId","principalId","credentialId","target","version","action","outcome","status","requestId","createdAt"],"additionalProperties":false}},"nextCursor":{"type":["string","null"]}},"required":["data","nextCursor"],"additionalProperties":false}}}},"400":{"description":"Invalid JSON, fields, or query parameters","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing, expired, revoked, invalid, or wrong-organization credentials","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Wrong key audience, insufficient scope, or organization access policy","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Organization, offering, or record not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Unexpected server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"BearerAuth":[]},{"SessionCookie":[]},{"SecureSessionCookie":[]}],"x-api-key-scope":"content:read","x-api-key-audience":"consumer"}},"/api/v1/orgs/{orgSlug}/access-summaries":{"get":{"operationId":"exportAccessSummaries","tags":["Certification"],"summary":"Export access summaries","description":"Consumer interface derives agency/account filters from the authenticated identity; request-supplied agency filters cannot broaden access. Management interface exports the organization. Daily UTC summaries are updated atomically on access and retained for at least six calendar months after day end. prepared means a response was prepared, not received or read. Follow nextCursor until null. Missing rows do not prove no gaps.","parameters":[{"name":"orgSlug","in":"path","required":true,"schema":{"type":"string","minLength":1},"description":"Organization slug shown on the trust center home page. GET /api/v1/organization returns it for the site-root organization."},{"name":"limit","in":"query","required":false,"schema":{"default":50,"type":"integer","minimum":1,"maximum":100}},{"name":"cursor","in":"query","required":false,"schema":{"type":"string","minLength":1,"maxLength":255}},{"name":"q","in":"query","required":false,"schema":{"description":"Case-insensitive search across principal, agency, target, and action; individual events also search request ID.","type":"string","maxLength":200}},{"name":"outcome","in":"query","required":false,"schema":{"type":"string","enum":["prepared","denied","missing","failed"]}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"nextCursor":{"type":["string","null"]}},"required":["data","nextCursor"],"additionalProperties":false}}}},"400":{"description":"Invalid JSON, fields, or query parameters","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing, expired, revoked, invalid, or wrong-organization credentials","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Wrong key audience, insufficient scope, or organization access policy","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Organization, offering, or record not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Unexpected server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"security":[{"BearerAuth":[]},{"SessionCookie":[]},{"SecureSessionCookie":[]}],"x-api-key-scope":"content:read","x-api-key-audience":"consumer"}}},"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"OpenTrust API key","description":"An active organization-issued consumer key. Required scope is documented in x-api-key-scope; x-api-key-audience identifies the interface. Write permission does not grant read access. Consumer keys must be bound to a verified, administrator-approved company account; approval revocation or account disable invalidates them immediately. Legacy unbound Consumer keys must be reissued. Existing Management keys also retain access to these legacy read paths."},"SessionCookie":{"type":"apiKey","in":"cookie","name":"better-auth.session_token","description":"Existing Better Auth sign-in session. Read endpoints only; vulnerability access follows organization policy. When the organization requires customer passkeys, protected reads by consuming users need a WebAuthn-verified session; password-only sessions receive 403 passkey_required. Enroll keys at /account/security. Organization members and scoped Bearer keys retain their existing access."},"SecureSessionCookie":{"type":"apiKey","in":"cookie","name":"__Secure-better-auth.session_token","description":"HTTPS session cookie variant. Read endpoints only."}},"schemas":{"CertificationMaterial":{"type":"object","properties":{"id":{"type":"string"},"organizationId":{"type":"string"},"offeringId":{"type":"string"},"fedrampId":{"type":"string"},"slug":{"type":"string"},"version":{"type":"string"},"title":{"type":"string"},"visibility":{"type":"string","enum":["public","authenticated","restricted"]},"body":{"type":"string"},"filename":{"type":"string"},"contentType":{"type":"string"},"sha256":{"type":"string"},"byteLength":{"type":"number"},"metadata":{"type":"object","properties":{"summary":{"type":"string"},"wordCount":{"type":"number"},"updatedAt":{"type":"string"},"practices":{"type":"array","items":{"type":"string"}}},"required":["summary","wordCount","updatedAt","practices"],"additionalProperties":false},"createdAt":{"type":"string"},"downloadUrl":{"type":"string"},"url":{"type":"string"}},"required":["id","organizationId","offeringId","fedrampId","slug","version","title","visibility","body","filename","contentType","sha256","byteLength","metadata","createdAt","downloadUrl","url"],"additionalProperties":false},"CertificationSnapshot":{"type":"object","properties":{"id":{"type":"string"},"organizationId":{"type":"string"},"offeringId":{"type":"string"},"fedrampId":{"type":"string"},"reportId":{"type":"string"},"materialIds":{"type":"array","items":{"type":"string"}},"createdAt":{"type":"string"}},"required":["id","organizationId","offeringId","fedrampId","reportId","materialIds","createdAt"],"additionalProperties":false},"MachineReadable":{"type":"object","properties":{"title":{"type":"string","minLength":1,"maxLength":255},"description":{"default":"","type":"string","maxLength":5000},"visibility":{"default":"restricted","type":"string","enum":["public","authenticated","restricted"]},"schemaUrl":{"default":null,"anyOf":[{"type":"string","maxLength":2048,"format":"uri"},{"type":"null"}]},"id":{"type":"string"},"organizationId":{"type":"string"},"slug":{"type":"string"},"url":{"type":"string"},"payloadUrl":{"type":"string"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"payloadText":{"type":"string"}},"required":["title","description","visibility","schemaUrl","id","organizationId","slug","url","payloadUrl","createdAt","updatedAt","payloadText"],"additionalProperties":false},"MachineReadableSummary":{"type":"object","properties":{"title":{"type":"string","minLength":1,"maxLength":255},"description":{"default":"","type":"string","maxLength":5000},"visibility":{"default":"restricted","type":"string","enum":["public","authenticated","restricted"]},"schemaUrl":{"default":null,"anyOf":[{"type":"string","maxLength":2048,"format":"uri"},{"type":"null"}]},"id":{"type":"string"},"organizationId":{"type":"string"},"slug":{"type":"string"},"url":{"type":"string"},"payloadUrl":{"type":"string"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["title","description","visibility","schemaUrl","id","organizationId","slug","url","payloadUrl","createdAt","updatedAt"],"additionalProperties":false},"Subprocessor":{"type":"object","properties":{"catalogId":{"default":null,"anyOf":[{"type":"string","maxLength":100},{"type":"null"}]},"serviceModel":{"default":"Other","type":"string","enum":["SaaS","PaaS","IaaS","Other"]},"description":{"default":"","type":"string","maxLength":2000},"trustUrl":{"default":null,"anyOf":[{"type":"string","maxLength":2048,"format":"uri"},{"type":"null"}]},"logoAssetId":{"default":null,"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"name":{"type":"string","minLength":1,"maxLength":255},"purpose":{"type":"string","minLength":1,"maxLength":5000},"website":{"default":null,"anyOf":[{"type":"string","maxLength":2048,"format":"uri"},{"type":"null"}]},"privacyPolicyUrl":{"default":null,"anyOf":[{"type":"string","maxLength":2048,"format":"uri"},{"type":"null"}]},"dataCategories":{"default":[],"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":255}},"processingLocations":{"default":[],"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":255}},"isPublic":{"default":true,"type":"boolean"},"logoUrl":{"type":["string","null"]},"id":{"type":"string"},"organizationId":{"type":"string"},"slug":{"type":"string"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["catalogId","serviceModel","description","trustUrl","logoAssetId","name","purpose","website","privacyPolicyUrl","dataCategories","processingLocations","isPublic","logoUrl","id","organizationId","slug","createdAt","updatedAt"],"additionalProperties":false},"Organization":{"type":"object","properties":{"id":{"type":"string"},"slug":{"type":"string"},"name":{"type":"string"},"logo":{"type":["string","null"]},"description":{"type":"string"},"website":{"type":"string"},"vulnerabilityAccess":{"type":"string","enum":["approved","authenticated"]}},"required":["id","slug","name","logo","description","website","vulnerabilityAccess"],"additionalProperties":false},"Incident":{"type":"object","properties":{"id":{"type":"string"},"organizationId":{"type":"string"},"title":{"type":"string"},"status":{"type":"string","enum":["open","investigating","fixing","monitoring","closed"]},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"updates":{"type":"array","items":{"$ref":"#/components/schemas/IncidentUpdate"}}},"required":["id","organizationId","title","status","createdAt","updatedAt","updates"],"additionalProperties":false},"IncidentUpdate":{"type":"object","properties":{"id":{"type":"string"},"status":{"type":"string","enum":["open","investigating","fixing","monitoring","closed"]},"body":{"type":"string"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["id","status","body","createdAt"],"additionalProperties":false},"Offering":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":255},"description":{"default":"","type":"string","maxLength":20000},"serviceModel":{"default":null,"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}]},"deploymentModel":{"default":null,"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}]},"businessCategory":{"default":null,"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}]},"website":{"default":null,"anyOf":[{"type":"string","maxLength":2048,"format":"uri"},{"type":"null"}]},"logoUrl":{"default":null,"anyOf":[{"type":"string","maxLength":2048,"format":"uri"},{"type":"null"}]},"fedrampId":{"default":null,"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}]},"uei":{"default":null,"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}]},"salesContact":{"default":null,"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}]},"securityContact":{"default":null,"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}]},"secureConfigUrl":{"default":null,"anyOf":[{"type":"string","maxLength":2048,"format":"uri"},{"type":"null"}]},"nextOcrDate":{"default":null,"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}]},"assessor":{"default":null,"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}]},"id":{"type":"string"},"organizationId":{"type":"string"},"slug":{"type":"string"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["name","description","serviceModel","deploymentModel","businessCategory","website","logoUrl","fedrampId","uei","salesContact","securityContact","secureConfigUrl","nextOcrDate","assessor","id","organizationId","slug","createdAt","updatedAt"],"additionalProperties":false},"Posture":{"type":"object","properties":{"logoAssetId":{"default":null,"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"framework":{"type":"string","minLength":1,"maxLength":255},"status":{"type":"string","enum":["none","in_progress","certified","expired"]},"scopeSummary":{"default":"","type":"string","maxLength":20000},"isPublic":{"default":true,"type":"boolean"},"id":{"type":"string"},"offeringId":{"type":"string"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["logoAssetId","framework","status","scopeSummary","isPublic","id","offeringId","updatedAt"],"additionalProperties":false},"Resource":{"type":"object","properties":{"title":{"type":"string","minLength":1,"maxLength":255},"kind":{"type":"string","enum":["page","file","link","manifest"]},"visibility":{"default":"restricted","type":"string","enum":["public","authenticated","restricted"]},"body":{"default":null,"anyOf":[{"type":"string","maxLength":1000000},{"type":"null"}]},"jsonBody":{"default":null,"anyOf":[{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},{"type":"null"}]},"schemaId":{"default":null,"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}]},"id":{"type":"string"},"offeringId":{"type":"string"},"slug":{"type":"string"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["title","kind","visibility","body","jsonBody","schemaId","id","offeringId","slug","updatedAt"],"additionalProperties":false},"Vulnerability":{"type":"object","properties":{"source":{"type":"string","minLength":1,"maxLength":255,"description":"Stable scanner or integration name, such as trivy, elastic, or manual."},"externalId":{"type":"string","minLength":1,"maxLength":512,"description":"Stable finding ID within the source. Include component identity when a CVE affects multiple packages."},"vulnerabilityId":{"default":null,"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"description":"CVE, GHSA, or another advisory identifier."},"title":{"type":"string","minLength":1,"maxLength":255},"description":{"default":"","type":"string","maxLength":50000},"severity":{"type":"string","enum":["critical","high","medium","low","info","unknown"]},"status":{"default":"open","type":"string","enum":["open","in_progress","resolved","accepted_risk","false_positive"]},"componentName":{"default":null,"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}]},"componentVersion":{"default":null,"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}]},"packageUrl":{"default":null,"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}]},"fixedVersion":{"default":null,"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}]},"cvssScore":{"default":null,"anyOf":[{"type":"number","minimum":0,"maximum":10},{"type":"null"}]},"references":{"default":[],"maxItems":50,"type":"array","items":{"type":"string","maxLength":2048,"format":"uri"}},"discoveredAt":{"default":null,"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"resolvedAt":{"default":null,"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"id":{"type":"string"},"offeringId":{"type":"string"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["source","externalId","vulnerabilityId","title","description","severity","status","componentName","componentVersion","packageUrl","fixedVersion","cvssScore","references","discoveredAt","resolvedAt","id","offeringId","createdAt","updatedAt"],"additionalProperties":false},"Error":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"],"additionalProperties":false}}},"required":["code","message"],"additionalProperties":false}},"required":["error"],"additionalProperties":false}}}}