{
  "openapi": "3.0.1",
  "info": {
    "title": "npm Status Component Snapshot",
    "description": "npm Status component names + operational status. Does not fetch your Actor run logs. $0.01 / component.",
    "version": "1.0",
    "x-build-id": "8CqKNMnQgSKX9JgEK"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/zentrafoundry~buyer-run-debugging-support/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-zentrafoundry-buyer-run-debugging-support",
        "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/zentrafoundry~buyer-run-debugging-support/runs": {
      "post": {
        "operationId": "runs-sync-zentrafoundry-buyer-run-debugging-support",
        "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/zentrafoundry~buyer-run-debugging-support/run-sync": {
      "post": {
        "operationId": "run-sync-zentrafoundry-buyer-run-debugging-support",
        "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": [
          "sourceMode"
        ],
        "properties": {
          "buyerQuery": {
            "title": "Legacy incident summary",
            "type": "string",
            "description": "Existing-input compatibility alias for a redacted incident summary. It is never queried externally or returned verbatim.",
            "default": ""
          },
          "taskIntent": {
            "title": "Task intent",
            "type": "string",
            "description": "Optional saved-task purpose label. It does not change the investigation scope or trigger a live run lookup.",
            "default": ""
          },
          "sourceMode": {
            "title": "Evidence mode",
            "enum": [
              "sample",
              "buyer-supplied",
              "startUrls"
            ],
            "type": "string",
            "description": "Sample produces the deterministic Store-default report. Buyer-supplied classifies only redacted material entered here. Legacy startUrls is accepted as buyer-supplied but is never fetched.",
            "default": "startUrls"
          },
          "outputMode": {
            "title": "Report delivery mode",
            "enum": [
              "sample-records",
              "buyer-ready-records"
            ],
            "type": "string",
            "description": "Sample records are non-chargeable. Buyer-ready records charge only when redacted incident material is supplied.",
            "default": "buyer-ready-records"
          },
          "startUrls": {
            "title": "Legacy reference URLs",
            "type": "array",
            "description": "Public source URL for Try.",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "title": "URL",
                  "type": "string",
                  "description": "Existing task URL label. It is not fetched by this Actor."
                }
              }
            },
            "default": [
              {
                "url": "https://status.npmjs.org/api/v2/summary.json"
              }
            ]
          },
          "runReference": {
            "title": "Buyer run reference",
            "type": "string",
            "description": "Optional redacted reference label. It is acknowledged but never returned or resolved by this Actor.",
            "default": ""
          },
          "failureStage": {
            "title": "Reported failure stage",
            "enum": [
              "unspecified",
              "input-validation",
              "source-access",
              "runtime",
              "dataset-output",
              "billing",
              "other"
            ],
            "type": "string",
            "description": "Choose the stage the buyer reports. This is an intake classification, not a completed diagnosis.",
            "default": "unspecified"
          },
          "incidentSummary": {
            "title": "Redacted incident summary",
            "type": "string",
            "description": "Describe the buyer-reported symptom without credentials, personal data, raw customer records, or complete logs. Raw text is not returned in the dataset.",
            "default": ""
          },
          "inputSummary": {
            "title": "Redacted input-shape summary",
            "type": "string",
            "description": "Optional high-level description of the submitted input. Do not include tokens, cookies, or personal data. Raw text is not returned.",
            "default": ""
          },
          "logSummary": {
            "title": "Redacted error or log summary",
            "type": "string",
            "description": "Optional short error summary. Remove secrets and customer data; the Actor returns only signal labels, never this raw text.",
            "default": ""
          },
          "sourceIds": {
            "title": "Legacy support reference labels",
            "type": "array",
            "description": "Existing saved-task compatibility field. Labels are never resolved as Actors, URLs, datasets, or sources.",
            "items": {
              "type": "string"
            },
            "default": []
          },
          "sortBy": {
            "title": "Report ordering label",
            "enum": [
              "incident-stage",
              "relevance"
            ],
            "type": "string",
            "description": "Incident-stage is the standard labelled order. Relevance remains available for existing saved tasks; one report is emitted per submitted incident.",
            "default": "incident-stage"
          },
          "includeSourceUrls": {
            "title": "Include source-boundary note",
            "type": "boolean",
            "description": "Include the statement that supplied reference fields were not fetched or returned.",
            "default": true
          },
          "includeMatchReasons": {
            "title": "Include symptom labels",
            "type": "boolean",
            "description": "Include stage and keyword-derived labels without echoing buyer-supplied text.",
            "default": true
          },
          "includeChangeHints": {
            "title": "Include comparison reminder",
            "type": "boolean",
            "description": "Include a reminder that a change conclusion needs two buyer-supplied reports; no history is fetched or retained.",
            "default": false
          },
          "maxItems": {
            "title": "Compatibility result cap",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "Existing task-compatible cap. A single submitted incident always produces one bounded support-intake report.",
            "default": 10
          }
        }
      },
      "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
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "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
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}