{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/algolia/main/json-schema/algolia-abtest-response-schema.json",
  "title": "ABTestResponse",
  "x-generated": "2026-09-23",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/algolia-abtesting-v3-api-openapi.yml#/components/schemas/ABTestResponse",
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "index": {
      "$ref": "#/$defs/index"
    },
    "abTestID": {
      "$ref": "#/$defs/abTestID"
    },
    "taskID": {
      "$ref": "#/$defs/taskID"
    }
  },
  "required": [
    "abTestID",
    "index",
    "taskID"
  ],
  "$defs": {
    "abTestID": {
      "type": "integer",
      "description": "Unique A/B test identifier."
    },
    "index": {
      "type": "string",
      "description": "Index name of the A/B test variant (case-sensitive)."
    },
    "taskID": {
      "type": "integer",
      "format": "int64",
      "description": "Unique identifier of a task.\n\nA successful API response means that a task was added to a queue.\nIt might not run immediately.\nYou can check the task's progress with the [`task` operation](https://www.algolia.com/doc/rest-api/search/get-task) and this task ID.\n"
    }
  }
}