{"openapi":"3.1.0","info":{"title":"DIES Veredicto SaaS API","version":"0.1.0-dev-chirho","description":"Control-plane contract. Verdict-engine REST/MCP operations remain intentionally absent until the executable engine contract lands."},"servers":[{"url":"https://veredicto.diespro.net"}],"paths":{"/api-chirho/api-keys-chirho":{"get":{"summary":"Lists up to 100 keys for the current tenant without revealing secrets.","x-chirho-active":true,"security":[{"SessionCookieChirho":[]}],"responses":{"200":{"description":"Operation completed"},"401":{"description":"Authenticated session required"},"503":{"description":"Production gate disabled"}}},"post":{"summary":"Issues a key; its secret is returned exactly once.","x-chirho-active":true,"security":[{"SessionCookieChirho":[]}],"responses":{"200":{"description":"Operation completed"},"401":{"description":"Authenticated session required"},"503":{"description":"Production gate disabled"}}},"delete":{"summary":"Revokes a key scoped to the session tenant.","x-chirho-active":true,"security":[{"SessionCookieChirho":[]}],"responses":{"200":{"description":"Operation completed"},"401":{"description":"Authenticated session required"},"503":{"description":"Production gate disabled"}}}},"/api-chirho/dpa-chirho":{"get":{"summary":"Reads the current data-processing agreement acceptance.","x-chirho-active":true,"security":[{"SessionCookieChirho":[]}],"responses":{"200":{"description":"Operation completed"},"401":{"description":"Authenticated session required"},"503":{"description":"Production gate disabled"}}},"post":{"summary":"Records acceptance after the legal version is authorized.","x-chirho-active":false,"security":[{"SessionCookieChirho":[]}],"responses":{"200":{"description":"Operation completed"},"401":{"description":"Authenticated session required"},"503":{"description":"Production gate disabled"}}}},"/api-chirho/account-deletion-chirho":{"post":{"summary":"Requests grace-period deletion without orphaning a tenant.","x-chirho-active":false,"security":[{"SessionCookieChirho":[]}],"responses":{"200":{"description":"Operation completed"},"401":{"description":"Authenticated session required"},"503":{"description":"Production gate disabled"}}}},"/api-chirho/reviews-chirho":{"get":{"summary":"The tenant human review queue, with an API key scoped reviews:read (W7).","x-chirho-active":false,"security":[{"ApiKeyBearerChirho":[]}],"responses":{"200":{"description":"Operation completed"},"401":{"description":"Authenticated session required"},"503":{"description":"Production gate disabled"}}},"post":{"summary":"Adjudicate a case with an API key scoped reviews:write, idempotent by Idempotency-Key (W7).","x-chirho-active":false,"security":[{"ApiKeyBearerChirho":[]}],"responses":{"200":{"description":"Operation completed"},"401":{"description":"Authenticated session required"},"503":{"description":"Production gate disabled"}}}},"/api-chirho/recovery-chirho":{"post":{"summary":"Requests recovery with an anti-enumeration response.","x-chirho-active":false,"security":[],"responses":{"200":{"description":"Operation completed"},"401":{"description":"Authenticated session required"},"503":{"description":"Production gate disabled"}}}},"/api-chirho/webhooks-chirho/endpoints-chirho":{"get":{"summary":"Lists the tenant webhook endpoints without revealing secrets.","x-chirho-active":false,"security":[{"SessionCookieChirho":[]}],"responses":{"200":{"description":"Operation completed"},"401":{"description":"Authenticated session required"},"503":{"description":"Production gate disabled"}}},"post":{"summary":"Registers an endpoint; its signing secret is returned exactly once.","x-chirho-active":false,"security":[{"SessionCookieChirho":[]}],"responses":{"200":{"description":"Operation completed"},"401":{"description":"Authenticated session required"},"503":{"description":"Production gate disabled"}}}},"/api-chirho/webhooks-chirho/endpoints-chirho/{endpoint_id_chirho}":{"delete":{"summary":"Revokes an endpoint scoped to the session tenant, with an audit event.","x-chirho-active":false,"parameters":[{"name":"endpoint_id_chirho","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"SessionCookieChirho":[]}],"responses":{"200":{"description":"Operation completed"},"401":{"description":"Authenticated session required"},"503":{"description":"Production gate disabled"}}}},"/api-chirho/webhooks-chirho/endpoints-chirho/{endpoint_id_chirho}/activation-chirho":{"post":{"summary":"Activates an endpoint by verifying the challenge signed with its secret.","x-chirho-active":false,"parameters":[{"name":"endpoint_id_chirho","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"SessionCookieChirho":[]}],"responses":{"200":{"description":"Operation completed"},"401":{"description":"Authenticated session required"},"503":{"description":"Production gate disabled"}}}}},"components":{"securitySchemes":{"SessionCookieChirho":{"type":"apiKey","in":"cookie","name":"dies_veredicto_session_chirho"},"ApiKeyBearerChirho":{"type":"http","scheme":"bearer","description":"An API key issued by the tenant (dies_veredicto_chirho_…), never a session."}}}}