{
  "components": {
    "schemas": {
      "AcceptBody": {
        "properties": {
          "accepted": {
            "const": true,
            "description": "The unchecked box the representative ticked.",
            "title": "Accepted",
            "type": "boolean"
          },
          "content_sha256": {
            "maxLength": 64,
            "minLength": 64,
            "title": "Content Sha256",
            "type": "string"
          },
          "kind": {
            "maxLength": 16,
            "title": "Kind",
            "type": "string"
          },
          "language": {
            "pattern": "^(en|ar)$",
            "title": "Language",
            "type": "string"
          },
          "version": {
            "maxLength": 16,
            "title": "Version",
            "type": "string"
          }
        },
        "required": [
          "kind",
          "version",
          "language",
          "content_sha256",
          "accepted"
        ],
        "title": "AcceptBody",
        "type": "object"
      },
      "AcceptInvite": {
        "properties": {
          "token": {
            "maxLength": 200,
            "minLength": 20,
            "title": "Token",
            "type": "string"
          }
        },
        "required": [
          "token"
        ],
        "title": "AcceptInvite",
        "type": "object"
      },
      "Body_enroll_identity_v1_identities_post": {
        "properties": {
          "display_label": {
            "anyOf": [
              {
                "maxLength": 120,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Display Label"
          },
          "external_subject_id": {
            "maxLength": 128,
            "minLength": 1,
            "title": "External Subject Id",
            "type": "string"
          },
          "images": {
            "description": "3 to 5 JPEG or PNG images",
            "items": {
              "contentMediaType": "application/octet-stream",
              "type": "string"
            },
            "title": "Images",
            "type": "array"
          },
          "re_enroll": {
            "default": false,
            "title": "Re Enroll",
            "type": "boolean"
          },
          "research_use_allowed": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Research Use Allowed"
          }
        },
        "required": [
          "external_subject_id",
          "images"
        ],
        "title": "Body_enroll_identity_v1_identities_post",
        "type": "object"
      },
      "Body_submit_payment_platform_orgs__org_id__invoices__invoice_id__payments_post": {
        "properties": {
          "receipt": {
            "contentMediaType": "application/octet-stream",
            "description": "JPEG, PNG or PDF proof of transfer",
            "title": "Receipt",
            "type": "string"
          },
          "reference": {
            "anyOf": [
              {
                "maxLength": 120,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Reference"
          }
        },
        "required": [
          "receipt"
        ],
        "title": "Body_submit_payment_platform_orgs__org_id__invoices__invoice_id__payments_post",
        "type": "object"
      },
      "Body_upload_frame_v1_capture_sessions__session_id__frames_post": {
        "properties": {
          "frame": {
            "contentMediaType": "application/octet-stream",
            "description": "One JPEG or PNG frame",
            "title": "Frame",
            "type": "string"
          }
        },
        "required": [
          "frame"
        ],
        "title": "Body_upload_frame_v1_capture_sessions__session_id__frames_post",
        "type": "object"
      },
      "Body_upload_logo_platform_orgs__org_id__logo_post": {
        "properties": {
          "logo": {
            "contentMediaType": "application/octet-stream",
            "title": "Logo",
            "type": "string"
          }
        },
        "required": [
          "logo"
        ],
        "title": "Body_upload_logo_platform_orgs__org_id__logo_post",
        "type": "object"
      },
      "Body_verify_identity_v1_identities__identity_id__verify_post": {
        "properties": {
          "capture_session_id": {
            "maxLength": 40,
            "title": "Capture Session Id",
            "type": "string"
          },
          "frames": {
            "anyOf": [
              {
                "items": {
                  "contentMediaType": "application/octet-stream",
                  "type": "string"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "description": "Optional frames from a trusted backend",
            "title": "Frames"
          }
        },
        "required": [
          "capture_session_id"
        ],
        "title": "Body_verify_identity_v1_identities__identity_id__verify_post",
        "type": "object"
      },
      "ChangePasswordBody": {
        "properties": {
          "current_password": {
            "maxLength": 256,
            "title": "Current Password",
            "type": "string"
          },
          "new_password": {
            "title": "New Password",
            "type": "string"
          }
        },
        "required": [
          "current_password",
          "new_password"
        ],
        "title": "ChangePasswordBody",
        "type": "object"
      },
      "ClientContext": {
        "description": "Client-reported details. All of this is an untrusted assertion, never evidence.",
        "properties": {
          "app_id": {
            "anyOf": [
              {
                "maxLength": 80,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "App Id"
          },
          "app_version": {
            "anyOf": [
              {
                "maxLength": 40,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "App Version"
          },
          "camera": {
            "anyOf": [
              {
                "pattern": "^(front|rear|external|unknown)$",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Camera"
          },
          "client_captured_at": {
            "anyOf": [
              {
                "maxLength": 40,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Client Captured At"
          },
          "client_timezone": {
            "anyOf": [
              {
                "maxLength": 64,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Client Timezone"
          },
          "device_manufacturer": {
            "anyOf": [
              {
                "maxLength": 60,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Device Manufacturer"
          },
          "device_model": {
            "anyOf": [
              {
                "maxLength": 60,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Device Model"
          },
          "network_class": {
            "anyOf": [
              {
                "maxLength": 16,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Network Class"
          },
          "os_version": {
            "anyOf": [
              {
                "maxLength": 40,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Os Version"
          },
          "platform": {
            "anyOf": [
              {
                "pattern": "^(android|ios|web|other)$",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Platform"
          },
          "sdk_version": {
            "anyOf": [
              {
                "maxLength": 40,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Sdk Version"
          },
          "upload_retries": {
            "anyOf": [
              {
                "maximum": 20.0,
                "minimum": 0.0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Upload Retries"
          },
          "workflow": {
            "anyOf": [
              {
                "maxLength": 40,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Workflow"
          }
        },
        "title": "ClientContext",
        "type": "object"
      },
      "ConsoleIdentityUpdate": {
        "properties": {
          "display_label": {
            "anyOf": [
              {
                "maxLength": 120,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Display Label"
          },
          "research_use_allowed": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Research Use Allowed"
          },
          "status": {
            "anyOf": [
              {
                "pattern": "^(active|suspended)$",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Status"
          }
        },
        "title": "ConsoleIdentityUpdate",
        "type": "object"
      },
      "DatasetBody": {
        "properties": {
          "labels": {
            "anyOf": [
              {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Labels"
          },
          "name": {
            "maxLength": 80,
            "minLength": 2,
            "pattern": "^[a-z0-9_-]+$",
            "title": "Name",
            "type": "string"
          },
          "purpose": {
            "maxLength": 2000,
            "minLength": 10,
            "title": "Purpose",
            "type": "string"
          },
          "seed": {
            "default": 1,
            "title": "Seed",
            "type": "integer"
          },
          "test": {
            "default": 0.15,
            "exclusiveMaximum": 1.0,
            "minimum": 0.0,
            "title": "Test",
            "type": "number"
          },
          "train": {
            "default": 0.7,
            "exclusiveMaximum": 1.0,
            "exclusiveMinimum": 0.0,
            "title": "Train",
            "type": "number"
          },
          "val": {
            "default": 0.15,
            "exclusiveMaximum": 1.0,
            "minimum": 0.0,
            "title": "Val",
            "type": "number"
          },
          "version": {
            "maxLength": 24,
            "minLength": 1,
            "title": "Version",
            "type": "string"
          }
        },
        "required": [
          "name",
          "version",
          "purpose"
        ],
        "title": "DatasetBody",
        "type": "object"
      },
      "EmailBody": {
        "properties": {
          "email": {
            "format": "email",
            "title": "Email",
            "type": "string"
          }
        },
        "required": [
          "email"
        ],
        "title": "EmailBody",
        "type": "object"
      },
      "EndpointCreate": {
        "properties": {
          "description": {
            "anyOf": [
              {
                "maxLength": 200,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Description"
          },
          "environment": {
            "default": "live",
            "pattern": "^(test|live)$",
            "title": "Environment",
            "type": "string"
          },
          "events": {
            "items": {
              "type": "string"
            },
            "minItems": 1,
            "title": "Events",
            "type": "array"
          },
          "url": {
            "maxLength": 500,
            "minLength": 8,
            "title": "Url",
            "type": "string"
          }
        },
        "required": [
          "url",
          "events"
        ],
        "title": "EndpointCreate",
        "type": "object"
      },
      "EndpointUpdate": {
        "properties": {
          "active": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Active"
          },
          "description": {
            "anyOf": [
              {
                "maxLength": 200,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Description"
          },
          "events": {
            "anyOf": [
              {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Events"
          },
          "url": {
            "anyOf": [
              {
                "maxLength": 500,
                "minLength": 8,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Url"
          }
        },
        "title": "EndpointUpdate",
        "type": "object"
      },
      "ExperimentBody": {
        "properties": {
          "config": {
            "additionalProperties": true,
            "title": "Config",
            "type": "object"
          },
          "dataset_id": {
            "anyOf": [
              {
                "maxLength": 40,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Dataset Id"
          },
          "kind": {
            "pattern": "^(benchmark|threshold_calibration|quantization|distillation|training)$",
            "title": "Kind",
            "type": "string"
          },
          "name": {
            "maxLength": 120,
            "minLength": 2,
            "title": "Name",
            "type": "string"
          },
          "notes": {
            "anyOf": [
              {
                "maxLength": 2000,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Notes"
          }
        },
        "required": [
          "name",
          "kind"
        ],
        "title": "ExperimentBody",
        "type": "object"
      },
      "ExperimentResult": {
        "properties": {
          "results": {
            "additionalProperties": true,
            "title": "Results",
            "type": "object"
          },
          "status": {
            "pattern": "^(running|completed|failed|abandoned)$",
            "title": "Status",
            "type": "string"
          }
        },
        "required": [
          "status"
        ],
        "title": "ExperimentResult",
        "type": "object"
      },
      "FrameOut": {
        "properties": {
          "frames_allowed": {
            "title": "Frames Allowed",
            "type": "integer"
          },
          "frames_received": {
            "title": "Frames Received",
            "type": "integer"
          },
          "frames_required": {
            "title": "Frames Required",
            "type": "integer"
          },
          "object": {
            "default": "capture_frame",
            "title": "Object",
            "type": "string"
          },
          "session_id": {
            "title": "Session Id",
            "type": "string"
          }
        },
        "required": [
          "session_id",
          "frames_received",
          "frames_required",
          "frames_allowed"
        ],
        "title": "FrameOut",
        "type": "object"
      },
      "HTTPValidationError": {
        "properties": {
          "detail": {
            "items": {
              "$ref": "#/components/schemas/ValidationError"
            },
            "title": "Detail",
            "type": "array"
          }
        },
        "title": "HTTPValidationError",
        "type": "object"
      },
      "IdentityList": {
        "properties": {
          "items": {
            "items": {
              "$ref": "#/components/schemas/IdentityOut"
            },
            "title": "Items",
            "type": "array"
          },
          "next_cursor": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Next Cursor"
          }
        },
        "required": [
          "items",
          "next_cursor"
        ],
        "title": "IdentityList",
        "type": "object"
      },
      "IdentityOut": {
        "properties": {
          "created_at": {
            "title": "Created At"
          },
          "display_label": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Display Label"
          },
          "enrollment": {
            "additionalProperties": true,
            "title": "Enrollment",
            "type": "object"
          },
          "environment": {
            "title": "Environment",
            "type": "string"
          },
          "external_subject_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "External Subject Id"
          },
          "id": {
            "title": "Id",
            "type": "string"
          },
          "last_verified_at": {
            "title": "Last Verified At"
          },
          "object": {
            "default": "identity",
            "title": "Object",
            "type": "string"
          },
          "research_use_allowed": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Research Use Allowed"
          },
          "status": {
            "title": "Status",
            "type": "string"
          },
          "template_version": {
            "title": "Template Version",
            "type": "integer"
          },
          "updated_at": {
            "title": "Updated At"
          }
        },
        "required": [
          "id",
          "external_subject_id",
          "display_label",
          "environment",
          "status",
          "research_use_allowed",
          "template_version",
          "enrollment",
          "last_verified_at",
          "created_at",
          "updated_at"
        ],
        "title": "IdentityOut",
        "type": "object"
      },
      "IdentitySignal": {
        "properties": {
          "match": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "description": "null when the capture never reached matching, or the score is borderline.",
            "title": "Match"
          },
          "score_semantics": {
            "default": "Cosine similarity between embeddings. Not a probability.",
            "title": "Score Semantics",
            "type": "string"
          },
          "similarity": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Similarity"
          },
          "threshold": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Threshold"
          }
        },
        "required": [
          "match",
          "similarity",
          "threshold"
        ],
        "title": "IdentitySignal",
        "type": "object"
      },
      "IdentityUpdate": {
        "properties": {
          "display_label": {
            "anyOf": [
              {
                "maxLength": 120,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Display Label"
          },
          "research_use_allowed": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Research Use Allowed"
          },
          "status": {
            "anyOf": [
              {
                "pattern": "^(active|suspended)$",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Status"
          }
        },
        "title": "IdentityUpdate",
        "type": "object"
      },
      "InviteBody": {
        "properties": {
          "email": {
            "format": "email",
            "title": "Email",
            "type": "string"
          },
          "role": {
            "title": "Role",
            "type": "string"
          }
        },
        "required": [
          "email",
          "role"
        ],
        "title": "InviteBody",
        "type": "object"
      },
      "KeyCreate": {
        "properties": {
          "environment": {
            "pattern": "^(test|live)$",
            "title": "Environment",
            "type": "string"
          },
          "expires_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Expires At"
          },
          "name": {
            "maxLength": 120,
            "minLength": 1,
            "title": "Name",
            "type": "string"
          },
          "scopes": {
            "items": {
              "type": "string"
            },
            "minItems": 1,
            "title": "Scopes",
            "type": "array"
          }
        },
        "required": [
          "name",
          "environment",
          "scopes"
        ],
        "title": "KeyCreate",
        "type": "object"
      },
      "LabelBody": {
        "properties": {
          "certainty": {
            "default": 1.0,
            "maximum": 1.0,
            "minimum": 0.0,
            "title": "Certainty",
            "type": "number"
          },
          "label": {
            "title": "Label",
            "type": "string"
          },
          "notes": {
            "anyOf": [
              {
                "maxLength": 1000,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Notes"
          }
        },
        "required": [
          "label"
        ],
        "title": "LabelBody",
        "type": "object"
      },
      "LoginBody": {
        "properties": {
          "email": {
            "format": "email",
            "title": "Email",
            "type": "string"
          },
          "password": {
            "maxLength": 256,
            "title": "Password",
            "type": "string"
          },
          "totp_code": {
            "anyOf": [
              {
                "maxLength": 32,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Totp Code"
          }
        },
        "required": [
          "email",
          "password"
        ],
        "title": "LoginBody",
        "type": "object"
      },
      "MediaLinkBody": {
        "properties": {
          "reason": {
            "maxLength": 120,
            "minLength": 3,
            "title": "Reason",
            "type": "string"
          }
        },
        "required": [
          "reason"
        ],
        "title": "MediaLinkBody",
        "type": "object"
      },
      "MfaCodeBody": {
        "properties": {
          "code": {
            "maxLength": 32,
            "minLength": 6,
            "title": "Code",
            "type": "string"
          }
        },
        "required": [
          "code"
        ],
        "title": "MfaCodeBody",
        "type": "object"
      },
      "MfaDisableBody": {
        "properties": {
          "code": {
            "maxLength": 32,
            "minLength": 6,
            "title": "Code",
            "type": "string"
          },
          "password": {
            "maxLength": 256,
            "title": "Password",
            "type": "string"
          }
        },
        "required": [
          "password",
          "code"
        ],
        "title": "MfaDisableBody",
        "type": "object"
      },
      "ModelsOut": {
        "properties": {
          "decisions": {
            "items": {
              "type": "string"
            },
            "title": "Decisions",
            "type": "array"
          },
          "engine_ready": {
            "title": "Engine Ready",
            "type": "boolean"
          },
          "limitations": {
            "items": {
              "type": "string"
            },
            "title": "Limitations",
            "type": "array"
          },
          "models": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "title": "Models",
            "type": "array"
          },
          "object": {
            "default": "model_set",
            "title": "Object",
            "type": "string"
          },
          "policy": {
            "title": "Policy",
            "type": "string"
          },
          "release": {
            "title": "Release",
            "type": "string"
          },
          "restricted_mode": {
            "title": "Restricted Mode",
            "type": "boolean"
          }
        },
        "required": [
          "release",
          "policy",
          "restricted_mode",
          "engine_ready",
          "decisions",
          "models",
          "limitations"
        ],
        "title": "ModelsOut",
        "type": "object"
      },
      "OrgCreate": {
        "properties": {
          "display_name": {
            "maxLength": 160,
            "minLength": 2,
            "title": "Display Name",
            "type": "string"
          },
          "display_name_ar": {
            "anyOf": [
              {
                "maxLength": 160,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Display Name Ar"
          },
          "legal_name": {
            "anyOf": [
              {
                "maxLength": 200,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Legal Name"
          },
          "sector": {
            "default": "company",
            "title": "Sector",
            "type": "string"
          },
          "timezone": {
            "default": "Asia/Baghdad",
            "title": "Timezone",
            "type": "string"
          }
        },
        "required": [
          "display_name"
        ],
        "title": "OrgCreate",
        "type": "object"
      },
      "OrgUpdate": {
        "properties": {
          "billing_address": {
            "anyOf": [
              {
                "maxLength": 1000,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Billing Address"
          },
          "contact_email": {
            "anyOf": [
              {
                "format": "email",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Contact Email"
          },
          "contact_name": {
            "anyOf": [
              {
                "maxLength": 160,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Contact Name"
          },
          "contact_phone": {
            "anyOf": [
              {
                "maxLength": 40,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Contact Phone"
          },
          "country": {
            "anyOf": [
              {
                "maxLength": 2,
                "minLength": 2,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Country"
          },
          "display_name": {
            "anyOf": [
              {
                "maxLength": 160,
                "minLength": 2,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Display Name"
          },
          "display_name_ar": {
            "anyOf": [
              {
                "maxLength": 160,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Display Name Ar"
          },
          "legal_name": {
            "anyOf": [
              {
                "maxLength": 200,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Legal Name"
          },
          "retention_days": {
            "anyOf": [
              {
                "maximum": 90.0,
                "minimum": 1.0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Retention Days"
          },
          "sector": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Sector"
          },
          "timezone": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Timezone"
          }
        },
        "title": "OrgUpdate",
        "type": "object"
      },
      "PadSignal": {
        "properties": {
          "score": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Score"
          },
          "score_semantics": {
            "default": "Raw model output used for screening. Not a probability that the person is real.",
            "title": "Score Semantics",
            "type": "string"
          },
          "status": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "passed, flagged, inconclusive or unavailable",
            "title": "Status"
          }
        },
        "required": [
          "status",
          "score"
        ],
        "title": "PadSignal",
        "type": "object"
      },
      "PlanBody": {
        "properties": {
          "active": {
            "default": true,
            "title": "Active",
            "type": "boolean"
          },
          "code": {
            "maxLength": 32,
            "minLength": 2,
            "pattern": "^[a-z0-9_-]+$",
            "title": "Code",
            "type": "string"
          },
          "currency": {
            "default": "USD",
            "maxLength": 3,
            "minLength": 3,
            "title": "Currency",
            "type": "string"
          },
          "included_attempts": {
            "minimum": 0.0,
            "title": "Included Attempts",
            "type": "integer"
          },
          "interval_months": {
            "default": 1,
            "maximum": 24.0,
            "minimum": 1.0,
            "title": "Interval Months",
            "type": "integer"
          },
          "max_identities": {
            "minimum": 0.0,
            "title": "Max Identities",
            "type": "integer"
          },
          "name_ar": {
            "maxLength": 80,
            "minLength": 2,
            "title": "Name Ar",
            "type": "string"
          },
          "name_en": {
            "maxLength": 80,
            "minLength": 2,
            "title": "Name En",
            "type": "string"
          },
          "price_cents": {
            "minimum": 0.0,
            "title": "Price Cents",
            "type": "integer"
          },
          "public": {
            "default": true,
            "title": "Public",
            "type": "boolean"
          },
          "rate_limit_rps": {
            "default": 10,
            "maximum": 100.0,
            "minimum": 1.0,
            "title": "Rate Limit Rps",
            "type": "integer"
          }
        },
        "required": [
          "code",
          "name_en",
          "name_ar",
          "price_cents",
          "included_attempts",
          "max_identities"
        ],
        "title": "PlanBody",
        "type": "object"
      },
      "PublicityBody": {
        "properties": {
          "accepted": {
            "const": true,
            "title": "Accepted",
            "type": "boolean"
          },
          "public_name_ar": {
            "anyOf": [
              {
                "maxLength": 160,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Public Name Ar"
          },
          "public_name_en": {
            "maxLength": 160,
            "minLength": 2,
            "title": "Public Name En",
            "type": "string"
          }
        },
        "required": [
          "public_name_en",
          "accepted"
        ],
        "title": "PublicityBody",
        "type": "object"
      },
      "PublicityReview": {
        "properties": {
          "approve": {
            "title": "Approve",
            "type": "boolean"
          },
          "category": {
            "default": "customer",
            "pattern": "^(customer|research_collaborator|supporter)$",
            "title": "Category",
            "type": "string"
          }
        },
        "required": [
          "approve"
        ],
        "title": "PublicityReview",
        "type": "object"
      },
      "QuarantineBody": {
        "properties": {
          "reason": {
            "maxLength": 200,
            "minLength": 3,
            "title": "Reason",
            "type": "string"
          }
        },
        "required": [
          "reason"
        ],
        "title": "QuarantineBody",
        "type": "object"
      },
      "ReasonBody": {
        "properties": {
          "reason": {
            "maxLength": 300,
            "minLength": 3,
            "title": "Reason",
            "type": "string"
          }
        },
        "required": [
          "reason"
        ],
        "title": "ReasonBody",
        "type": "object"
      },
      "ResearchSettings": {
        "properties": {
          "all_enrolled_attested": {
            "default": false,
            "title": "All Enrolled Attested",
            "type": "boolean"
          },
          "enabled": {
            "title": "Enabled",
            "type": "boolean"
          },
          "policy": {
            "default": "per_identity",
            "enum": [
              "per_identity",
              "all_enrolled"
            ],
            "title": "Policy",
            "type": "string"
          }
        },
        "required": [
          "enabled"
        ],
        "title": "ResearchSettings",
        "type": "object"
      },
      "ResetBody": {
        "properties": {
          "password": {
            "title": "Password",
            "type": "string"
          },
          "token": {
            "maxLength": 200,
            "minLength": 20,
            "title": "Token",
            "type": "string"
          }
        },
        "required": [
          "token",
          "password"
        ],
        "title": "ResetBody",
        "type": "object"
      },
      "ReviewBody": {
        "properties": {
          "note": {
            "anyOf": [
              {
                "maxLength": 300,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Note"
          }
        },
        "title": "ReviewBody",
        "type": "object"
      },
      "RoleBody": {
        "properties": {
          "role": {
            "title": "Role",
            "type": "string"
          }
        },
        "required": [
          "role"
        ],
        "title": "RoleBody",
        "type": "object"
      },
      "RolesBody": {
        "properties": {
          "roles": {
            "items": {
              "type": "string"
            },
            "title": "Roles",
            "type": "array"
          }
        },
        "required": [
          "roles"
        ],
        "title": "RolesBody",
        "type": "object"
      },
      "SessionCreate": {
        "properties": {
          "client": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/ClientContext"
              },
              {
                "type": "null"
              }
            ]
          },
          "external_subject_id": {
            "anyOf": [
              {
                "maxLength": 128,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "External Subject Id"
          },
          "identity_id": {
            "anyOf": [
              {
                "maxLength": 40,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Identity Id"
          }
        },
        "title": "SessionCreate",
        "type": "object"
      },
      "SessionOut": {
        "properties": {
          "capture_token": {
            "description": "Short-lived, single-session. Safe to hand to the mobile app.",
            "title": "Capture Token",
            "type": "string"
          },
          "expires_at": {
            "title": "Expires At"
          },
          "id": {
            "title": "Id",
            "type": "string"
          },
          "identity_id": {
            "title": "Identity Id",
            "type": "string"
          },
          "nonce": {
            "title": "Nonce",
            "type": "string"
          },
          "object": {
            "default": "capture_session",
            "title": "Object",
            "type": "string"
          },
          "policy": {
            "additionalProperties": true,
            "title": "Policy",
            "type": "object"
          },
          "status": {
            "title": "Status",
            "type": "string"
          },
          "upload_url": {
            "title": "Upload Url",
            "type": "string"
          }
        },
        "required": [
          "id",
          "identity_id",
          "status",
          "nonce",
          "expires_at",
          "capture_token",
          "upload_url",
          "policy"
        ],
        "title": "SessionOut",
        "type": "object"
      },
      "SignupBody": {
        "properties": {
          "email": {
            "format": "email",
            "title": "Email",
            "type": "string"
          },
          "full_name": {
            "maxLength": 160,
            "minLength": 2,
            "title": "Full Name",
            "type": "string"
          },
          "locale": {
            "default": "en",
            "pattern": "^(en|ar)$",
            "title": "Locale",
            "type": "string"
          },
          "password": {
            "title": "Password",
            "type": "string"
          }
        },
        "required": [
          "email",
          "password",
          "full_name"
        ],
        "title": "SignupBody",
        "type": "object"
      },
      "SubscriptionBody": {
        "properties": {
          "billing_method": {
            "const": "manual_transfer",
            "default": "manual_transfer",
            "title": "Billing Method",
            "type": "string"
          },
          "plan_code": {
            "maxLength": 32,
            "title": "Plan Code",
            "type": "string"
          }
        },
        "required": [
          "plan_code"
        ],
        "title": "SubscriptionBody",
        "type": "object"
      },
      "SupportBody": {
        "properties": {
          "body": {
            "maxLength": 4000,
            "minLength": 5,
            "title": "Body",
            "type": "string"
          },
          "category": {
            "default": "support",
            "enum": [
              "support",
              "billing",
              "data_export",
              "data_deletion",
              "security"
            ],
            "title": "Category",
            "type": "string"
          },
          "subject": {
            "maxLength": 160,
            "minLength": 3,
            "title": "Subject",
            "type": "string"
          }
        },
        "required": [
          "subject",
          "body"
        ],
        "title": "SupportBody",
        "type": "object"
      },
      "SupportReply": {
        "properties": {
          "reply": {
            "maxLength": 4000,
            "minLength": 2,
            "title": "Reply",
            "type": "string"
          }
        },
        "required": [
          "reply"
        ],
        "title": "SupportReply",
        "type": "object"
      },
      "TokenBody": {
        "properties": {
          "token": {
            "maxLength": 200,
            "minLength": 20,
            "title": "Token",
            "type": "string"
          }
        },
        "required": [
          "token"
        ],
        "title": "TokenBody",
        "type": "object"
      },
      "ValidationError": {
        "properties": {
          "ctx": {
            "title": "Context",
            "type": "object"
          },
          "input": {
            "title": "Input"
          },
          "loc": {
            "items": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "integer"
                }
              ]
            },
            "title": "Location",
            "type": "array"
          },
          "msg": {
            "title": "Message",
            "type": "string"
          },
          "type": {
            "title": "Error Type",
            "type": "string"
          }
        },
        "required": [
          "loc",
          "msg",
          "type"
        ],
        "title": "ValidationError",
        "type": "object"
      },
      "VerificationList": {
        "properties": {
          "items": {
            "items": {
              "$ref": "#/components/schemas/VerificationOut"
            },
            "title": "Items",
            "type": "array"
          },
          "next_cursor": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Next Cursor"
          }
        },
        "required": [
          "items",
          "next_cursor"
        ],
        "title": "VerificationList",
        "type": "object"
      },
      "VerificationOut": {
        "properties": {
          "capture": {
            "additionalProperties": true,
            "title": "Capture",
            "type": "object"
          },
          "capture_session_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Capture Session Id"
          },
          "created_at": {
            "title": "Created At"
          },
          "decision": {
            "description": "One of: approved, rejected_identity, rejected_spoof, retry_quality, manual_review, expired_session, not_enrolled, invalid_capture, system_unavailable",
            "title": "Decision",
            "type": "string"
          },
          "environment": {
            "title": "Environment",
            "type": "string"
          },
          "guidance": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Guidance"
          },
          "id": {
            "title": "Id",
            "type": "string"
          },
          "identity": {
            "$ref": "#/components/schemas/IdentitySignal"
          },
          "identity_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Identity Id"
          },
          "model_versions": {
            "additionalProperties": true,
            "title": "Model Versions",
            "type": "object"
          },
          "object": {
            "default": "verification",
            "title": "Object",
            "type": "string"
          },
          "pad": {
            "$ref": "#/components/schemas/PadSignal"
          },
          "policy": {
            "title": "Policy",
            "type": "string"
          },
          "quality": {
            "additionalProperties": true,
            "title": "Quality",
            "type": "object"
          },
          "reason": {
            "title": "Reason",
            "type": "string"
          },
          "request_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Request Id"
          },
          "restricted_mode": {
            "description": "true while PAD is unvalidated. Under this policy `approved` is never returned.",
            "title": "Restricted Mode",
            "type": "boolean"
          },
          "retry_allowed": {
            "title": "Retry Allowed",
            "type": "boolean"
          },
          "timings_ms": {
            "additionalProperties": {
              "type": "number"
            },
            "title": "Timings Ms",
            "type": "object"
          }
        },
        "required": [
          "id",
          "identity_id",
          "capture_session_id",
          "environment",
          "decision",
          "reason",
          "retry_allowed",
          "guidance",
          "policy",
          "restricted_mode",
          "identity",
          "pad",
          "quality",
          "capture",
          "timings_ms",
          "model_versions",
          "request_id",
          "created_at"
        ],
        "title": "VerificationOut",
        "type": "object"
      }
    }
  },
  "info": {
    "summary": "Tenant-scoped 1:1 face verification with presentation-attack screening.",
    "title": "Warka Vision API",
    "version": "1.0.0"
  },
  "openapi": "3.1.0",
  "paths": {
    "/healthz": {
      "get": {
        "operationId": "healthz_healthz_get",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": true,
                  "title": "Response Healthz Healthz Get",
                  "type": "object"
                }
              }
            },
            "description": "Successful Response"
          }
        },
        "summary": "Liveness",
        "tags": [
          "system"
        ]
      }
    },
    "/v1/capture-sessions": {
      "post": {
        "description": "Creates a fresh, single-use session bound to one identity. Call this from your trusted backend, then pass `capture_token` and `upload_url` to the mobile app. Your API key must never reach the device. Each live session is one attempt, whatever its outcome, and so is each sandbox session on the free plan.",
        "operationId": "create_session_v1_capture_sessions_post",
        "parameters": [
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Idempotency-Key"
            }
          },
          {
            "in": "header",
            "name": "authorization",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Authorization"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SessionCreate"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SessionOut"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "Start a capture session",
        "tags": [
          "capture-sessions"
        ]
      }
    },
    "/v1/capture-sessions/{session_id}/frames": {
      "post": {
        "description": "Called by the mobile app with `Authorization: Capture <capture_token>`. Upload success only means the file was stored. It proves nothing about the camera and records no attendance.",
        "operationId": "upload_frame_v1_capture_sessions__session_id__frames_post",
        "parameters": [
          {
            "in": "path",
            "name": "session_id",
            "required": true,
            "schema": {
              "title": "Session Id",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "authorization",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Authorization"
            }
          }
        ],
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "schema": {
                "$ref": "#/components/schemas/Body_upload_frame_v1_capture_sessions__session_id__frames_post"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FrameOut"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "Upload a frame with a capture token",
        "tags": [
          "capture-sessions"
        ]
      }
    },
    "/v1/identities": {
      "get": {
        "operationId": "list_identities_v1_identities_get",
        "parameters": [
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "default": 25,
              "maximum": 100,
              "minimum": 1,
              "title": "Limit",
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "cursor",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "maxLength": 40,
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Cursor"
            }
          },
          {
            "in": "query",
            "name": "status",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "pattern": "^(active|suspended)$",
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Status"
            }
          },
          {
            "in": "query",
            "name": "external_subject_id",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "maxLength": 128,
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "External Subject Id"
            }
          },
          {
            "in": "header",
            "name": "authorization",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Authorization"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IdentityList"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "List identities",
        "tags": [
          "identities"
        ]
      },
      "post": {
        "description": "Send 3 to 5 good, recent face images of one person. Warka rejects inconsistent identities, stores an encrypted template and does not keep the images unless research processing applies. Set `re_enroll=true` to replace the template of an existing `external_subject_id`.",
        "operationId": "enroll_identity_v1_identities_post",
        "parameters": [
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Idempotency-Key"
            }
          },
          {
            "in": "header",
            "name": "authorization",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Authorization"
            }
          }
        ],
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "schema": {
                "$ref": "#/components/schemas/Body_enroll_identity_v1_identities_post"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IdentityOut"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "Enroll or re-enroll an identity",
        "tags": [
          "identities"
        ]
      }
    },
    "/v1/identities/{identity_id}": {
      "delete": {
        "operationId": "delete_identity_v1_identities__identity_id__delete",
        "parameters": [
          {
            "in": "path",
            "name": "identity_id",
            "required": true,
            "schema": {
              "title": "Identity Id",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "authorization",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Authorization"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": true,
                  "title": "Response Delete Identity V1 Identities  Identity Id  Delete",
                  "type": "object"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "Delete an identity",
        "tags": [
          "identities"
        ]
      },
      "get": {
        "operationId": "read_identity_v1_identities__identity_id__get",
        "parameters": [
          {
            "in": "path",
            "name": "identity_id",
            "required": true,
            "schema": {
              "title": "Identity Id",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "authorization",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Authorization"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IdentityOut"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "Get an identity",
        "tags": [
          "identities"
        ]
      },
      "patch": {
        "operationId": "update_identity_v1_identities__identity_id__patch",
        "parameters": [
          {
            "in": "path",
            "name": "identity_id",
            "required": true,
            "schema": {
              "title": "Identity Id",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "authorization",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Authorization"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/IdentityUpdate"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IdentityOut"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "Suspend, reactivate or update an identity",
        "tags": [
          "identities"
        ]
      }
    },
    "/v1/identities/{identity_id}/verify": {
      "post": {
        "description": "Runs quality, PAD and 1:1 matching on the session's frames and returns a technical decision. Frames can be uploaded earlier with the capture token, or sent here by your backend as `frames`.\n\nBad captures are normal outcomes and return HTTP 200 with a decision such as `retry_quality`. Warka returns a technical decision only: your application decides what happens to attendance and handles appeals.",
        "operationId": "verify_identity_v1_identities__identity_id__verify_post",
        "parameters": [
          {
            "in": "path",
            "name": "identity_id",
            "required": true,
            "schema": {
              "title": "Identity Id",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Idempotency-Key"
            }
          },
          {
            "in": "header",
            "name": "authorization",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Authorization"
            }
          }
        ],
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "schema": {
                "$ref": "#/components/schemas/Body_verify_identity_v1_identities__identity_id__verify_post"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/VerificationOut"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "Verify a capture session against an identity",
        "tags": [
          "verifications"
        ]
      }
    },
    "/v1/models": {
      "get": {
        "operationId": "list_models_v1_models_get",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ModelsOut"
                }
              }
            },
            "description": "Successful Response"
          }
        },
        "summary": "Supported model versions",
        "tags": [
          "service"
        ]
      }
    },
    "/v1/usage": {
      "get": {
        "operationId": "read_usage_v1_usage_get",
        "parameters": [
          {
            "in": "header",
            "name": "authorization",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Authorization"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": true,
                  "title": "Response Read Usage V1 Usage Get",
                  "type": "object"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "Usage and quota for this key's organization",
        "tags": [
          "service"
        ]
      }
    },
    "/v1/verifications": {
      "get": {
        "operationId": "list_verifications_v1_verifications_get",
        "parameters": [
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "default": 25,
              "maximum": 100,
              "minimum": 1,
              "title": "Limit",
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "cursor",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "maxLength": 40,
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Cursor"
            }
          },
          {
            "in": "query",
            "name": "identity_id",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "maxLength": 40,
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Identity Id"
            }
          },
          {
            "in": "header",
            "name": "authorization",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Authorization"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/VerificationList"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "List verifications",
        "tags": [
          "verifications"
        ]
      }
    },
    "/v1/verifications/{verification_id}": {
      "get": {
        "operationId": "read_verification_v1_verifications__verification_id__get",
        "parameters": [
          {
            "in": "path",
            "name": "verification_id",
            "required": true,
            "schema": {
              "title": "Verification Id",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "authorization",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Authorization"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/VerificationOut"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "summary": "Get a verification",
        "tags": [
          "verifications"
        ]
      }
    }
  },
  "servers": [
    {
      "description": "Production",
      "url": "https://api.warka-iq.com"
    }
  ]
}
