openapi: 3.1.0 info: title: DOXA development service version: "0.1.0" servers: - url: http://127.0.0.1:9010 paths: /health: get: responses: "200": description: Development service and artifact revisions /v1/predict: post: requestBody: required: true content: application/json: schema: type: object required: [claim_type, text] properties: claim_type: type: string text: type: string minLength: 1 maxLength: 6000 context: type: string maxLength: 6000 responses: "200": description: Decision, abstention or out-of-scope with optional extractive evidence "400": description: Invalid input "413": description: Body larger than 1 MiB "415": description: JSON required /v1/scorecard: post: requestBody: required: true content: application/json: schema: type: object required: [pairs] properties: pairs: type: array minItems: 1 maxItems: 200 items: type: object required: [pair_id, left, right] responses: "200": description: Audited numerator, denominator, uncertainty bounds and exclusions "400": description: Invalid input "413": description: Body larger than 1 MiB "415": description: JSON required