{"openapi":"3.0.3","info":{"title":"AI Audit Exchange API","version":"1.0.0","description":"Programmatic read access to your evidence rooms. Authenticate with your API key (X-API-Key header or Authorization: Bearer). Successful /api/v1/rooms calls count once against your key plan's monthly quota; failed calls never count. Check GET /api/v1/usage.","termsOfService":"https://auditexchange.getingeniousai.com/terms","contact":{"name":"Ingenious AI","url":"https://getingeniousai.com","email":"orders@getingeniousai.com"},"license":{"name":"Ingenious AI API Terms of Service","url":"https://auditexchange.getingeniousai.com/terms"}},"servers":[{"url":"https://auditexchange.getingeniousai.com"}],"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"X-API-Key"},"BearerAuth":{"type":"http","scheme":"bearer"}}},"paths":{"/api/v1/usage":{"get":{"summary":"This key's plan, counted usage and remaining quota for the current month (never counted)","security":[{"ApiKeyAuth":[]},{"BearerAuth":[]}],"responses":{"200":{"description":"Usage for the authenticated key"},"401":{"description":"Missing, invalid or revoked API key"}}}},"/api/v1/rooms":{"get":{"summary":"List the evidence rooms owned by the key's account (counted product call)","security":[{"ApiKeyAuth":[]},{"BearerAuth":[]}],"responses":{"200":{"description":"Room list; counted against quota"},"401":{"description":"Missing, invalid or revoked API key"},"429":{"description":"Monthly quota exhausted (not counted)"}}}},"/api/v1/rooms/{public_id}":{"get":{"summary":"Read one evidence room with its artifacts, progress and validation state (counted product call)","security":[{"ApiKeyAuth":[]},{"BearerAuth":[]}],"parameters":[{"name":"public_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Room detail; counted against quota"},"401":{"description":"Missing, invalid or revoked API key"},"404":{"description":"Room not found for this key's account (not counted)"},"429":{"description":"Monthly quota exhausted (not counted)"}}}},"/api/keys":{"post":{"summary":"Create an API key for your account (session-authenticated, paid plans; shown once)","responses":{"200":{"description":"Key created"},"401":{"description":"Login required"},"402":{"description":"A paid plan is required for API keys"}}}},"/api/keys/{key_id}/revoke":{"post":{"summary":"Revoke one of your account's API keys (session-authenticated)","parameters":[{"name":"key_id","in":"path","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"Key revoked"},"401":{"description":"Login required"},"404":{"description":"Key not found on your account"}}}}}}