> ## Documentation Index
> Fetch the complete documentation index at: https://docs.weborion.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Restore archived webpages

> Brings one or more archived webpages back into monitoring on their last stored baseline. The plan type defaults to each webpage's original plan recorded at archive time; a different plan can be passed explicitly (e.g. when the original plan's quota is full) and is then applied to every webpage in the batch. Quota is validated for whichever plan is used.

Verification resumes automatically: the health status is put back into the worker scheduler's polling allowlist, so the next polling cycle verifies the page against the last stored baseline and the status self-corrects from there.

A single-webpage restore is simply a one-element `url_ids` array.



## OpenAPI

````yaml /openapi.json post /api/v1/urls/batch_restore
openapi: 3.0.3
info:
  title: WebOrion Monitor API
  description: >-
    REST API for managing webpages, alerts, batch jobs, and activity logs in
    WebOrion Defacement Monitor.
  version: '2021-08-31'
servers:
  - url: https://api.monitor.weborion.io
security:
  - bearerAuth: []
tags:
  - name: User
    description: Operations related to user accounts
  - name: Webpages
    description: Operations related to webpages and URLs
  - name: Batch Jobs
    description: Operations related to batch baseline and rebaseline jobs
  - name: Alerts
    description: Operations related to alerts
  - name: Domains
    description: Operations related to domains
  - name: Tags
    description: Operations related to tags for organising webpages
paths:
  /api/v1/urls/batch_restore:
    post:
      tags:
        - Webpages
        - Batch Jobs
      summary: Restore archived webpages
      description: >-
        Brings one or more archived webpages back into monitoring on their last
        stored baseline. The plan type defaults to each webpage's original plan
        recorded at archive time; a different plan can be passed explicitly
        (e.g. when the original plan's quota is full) and is then applied to
        every webpage in the batch. Quota is validated for whichever plan is
        used.


        Verification resumes automatically: the health status is put back into
        the worker scheduler's polling allowlist, so the next polling cycle
        verifies the page against the last stored baseline and the status
        self-corrects from there.


        A single-webpage restore is simply a one-element `url_ids` array.
      operationId: batchRestoreUrls
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/BatchRestoreBody'
      responses:
        '200':
          description: OK
components:
  schemas:
    BatchRestoreBody:
      type: object
      required:
        - url_ids
      properties:
        url_ids:
          type: array
          items:
            type: integer
          description: >-
            IDs of the archived webpages to restore. A single-item array
            restores one webpage.
        plan_type:
          allOf:
            - $ref: '#/components/schemas/PlanType'
          description: >-
            Plan to apply to every URL in the batch. Defaults to each URL's plan
            at the time it was archived if omitted.
        polling_interval:
          type: integer
    PlanType:
      type: string
      enum:
        - GOLD
        - SILVER
        - BRONZE
        - TRIAL
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        Generate an API token from the WebOrion Defacement Monitor portal. Pass
        it as `Authorization: Bearer <token>`.

````