{
  "openapi": "3.0.1",
  "info": {
    "title": "Ai Claim Readiness Chackpoint",
    "description": "Checks whether an AI workflow claim has sufficient bound evidence before promotion, publication, or handoff. Designed for professional and B2B AI workflows.",
    "version": "0.5",
    "x-build-id": "aw6WMTJyDXpc7cGxp"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/filipmajchrzak~ai-claim-checkpoint/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-filipmajchrzak-ai-claim-checkpoint",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/acts/filipmajchrzak~ai-claim-checkpoint/runs": {
      "post": {
        "operationId": "runs-sync-filipmajchrzak-ai-claim-checkpoint",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor and returns information about the initiated run in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/runsResponseSchema"
                }
              }
            }
          }
        }
      }
    },
    "/acts/filipmajchrzak~ai-claim-checkpoint/run-sync": {
      "post": {
        "operationId": "run-sync-filipmajchrzak-ai-claim-checkpoint",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "inputSchema": {
        "type": "object",
        "required": [
          "inputMode",
          "preset",
          "claimId",
          "subject",
          "logicalTime",
          "tests",
          "review"
        ],
        "properties": {
          "inputMode": {
            "title": "Input mode",
            "enum": [
              "easy"
            ],
            "type": "string",
            "description": "Use the only supported guided public-beta mode."
          },
          "preset": {
            "title": "Policy preset",
            "enum": [
              "software_release_basic_v1"
            ],
            "type": "string",
            "description": "Fixed, versioned public-beta software-release policy preset."
          },
          "claimId": {
            "title": "Claim ID",
            "pattern": "^[A-Za-z0-9][A-Za-z0-9._-]{0,120}$",
            "minLength": 1,
            "maxLength": 121,
            "type": "string",
            "description": "Non-sensitive stable identifier using letters, numbers, dots, underscores, or hyphens."
          },
          "subject": {
            "title": "Release subject",
            "minLength": 1,
            "maxLength": 1024,
            "type": "string",
            "description": "Non-sensitive identifier for the software release, build, or artifact. Do not enter confidential or personal data."
          },
          "logicalTime": {
            "title": "Evaluation time (UTC)",
            "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}Z$",
            "type": "string",
            "description": "Explicit UTC time used for evidence-age checks. Wall-clock time is never substituted."
          },
          "tests": {
            "title": "Test evidence",
            "required": [
              "observedAt",
              "passed",
              "failed"
            ],
            "type": "object",
            "description": "Provide synthetic or non-sensitive test counts, or set this field to null when test evidence is unavailable.",
            "properties": {
              "observedAt": {
                "title": "Tests observed at (UTC)",
                "type": "string",
                "description": "UTC time when the test result was observed.",
                "editor": "textfield",
                "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}Z$"
              },
              "passed": {
                "title": "Passed tests",
                "type": "integer",
                "description": "Number of passing tests.",
                "editor": "number",
                "minimum": 0,
                "maximum": 1000000000
              },
              "failed": {
                "title": "Failed tests",
                "type": "integer",
                "description": "Number of failing tests.",
                "editor": "number",
                "minimum": 0,
                "maximum": 1000000000
              }
            },
            "additionalProperties": false
          },
          "review": {
            "title": "Review evidence",
            "required": [
              "observedAt",
              "status",
              "reviewer"
            ],
            "type": "object",
            "description": "Provide synthetic or non-sensitive review metadata, or set this field to null when review evidence is unavailable.",
            "properties": {
              "observedAt": {
                "title": "Review observed at (UTC)",
                "type": "string",
                "description": "UTC time when the review result was observed.",
                "editor": "textfield",
                "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}Z$"
              },
              "status": {
                "title": "Review status",
                "type": "string",
                "description": "Status reported by the review evidence.",
                "editor": "select",
                "enum": [
                  "PASS",
                  "FAIL"
                ],
                "enumTitles": [
                  "PASS",
                  "FAIL"
                ]
              },
              "reviewer": {
                "title": "Reviewer",
                "type": "string",
                "description": "Non-personal reviewer role or pseudonymous identifier. Do not enter a person's name or email.",
                "editor": "textfield",
                "minLength": 1,
                "maxLength": 256
              }
            },
            "additionalProperties": false
          }
        }
      },
      "runsResponseSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "actId": {
                "type": "string"
              },
              "userId": {
                "type": "string"
              },
              "startedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "finishedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "status": {
                "type": "string",
                "example": "READY"
              },
              "meta": {
                "type": "object",
                "properties": {
                  "origin": {
                    "type": "string",
                    "example": "API"
                  },
                  "userAgent": {
                    "type": "string"
                  }
                }
              },
              "stats": {
                "type": "object",
                "properties": {
                  "inputBodyLen": {
                    "type": "integer",
                    "example": 2000
                  },
                  "rebootCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "restartCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "resurrectCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "computeUnits": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "options": {
                "type": "object",
                "properties": {
                  "build": {
                    "type": "string",
                    "example": "latest"
                  },
                  "timeoutSecs": {
                    "type": "integer",
                    "example": 300
                  },
                  "memoryMbytes": {
                    "type": "integer",
                    "example": 1024
                  },
                  "diskMbytes": {
                    "type": "integer",
                    "example": 2048
                  }
                }
              },
              "buildId": {
                "type": "string"
              },
              "defaultKeyValueStoreId": {
                "type": "string"
              },
              "defaultDatasetId": {
                "type": "string"
              },
              "defaultRequestQueueId": {
                "type": "string"
              },
              "buildNumber": {
                "type": "string",
                "example": "1.0.0"
              },
              "containerUrl": {
                "type": "string"
              },
              "usage": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "integer",
                    "example": 1
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "usageTotalUsd": {
                "type": "number",
                "example": 0.00005
              },
              "usageUsd": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "number",
                    "example": 0.00005
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}