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

# Re-anchor chain from a broken event



## OpenAPI

````yaml /openapi/audit.v1.yaml post /v1/chain/reanchor
openapi: 3.1.0
info:
  title: Fact0 Audit API
  version: 1.0.0
  description: >
    Compliance-grade universal fact layer with tamper-evident audit log API.
    Events form a per-tenant SHA-256 hash chain.


    **Authentication:** `Authorization: Bearer f0_live_*` or `alk_live_*` API
    keys (write or read scope).


    **Async ingest (default):** POST ingest endpoints return `202 Accepted` with
    a `receipt_id`.

    Poll `GET /v1/receipts/{id}` until `status` is `committed` or `failed`.

    Force synchronous ingest with header `X-Fact0-Sync: true`  or query
    `?sync=true`.
servers:
  - url: https://api.fact0.io
    description: Fact0 Cloud
security:
  - apiKey: []
tags:
  - name: Ingest
  - name: Query
  - name: Verify
  - name: Export
  - name: Chain
  - name: Stream
  - name: Share
paths:
  /v1/chain/reanchor:
    post:
      tags:
        - Chain
      summary: Re-anchor chain from a broken event
      operationId: reanchorChain
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - first_broken_event_id
                - reason
              properties:
                first_broken_event_id:
                  type: string
                reason:
                  type: string
      responses:
        '200':
          description: Chain re-anchored
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ReanchorResponse'
components:
  schemas:
    ReanchorResponse:
      type: object
      properties:
        status:
          type: string
        meta_event_id:
          type: string
        meta_event_seq:
          type: integer
          format: int64
  securitySchemes:
    apiKey:
      type: http
      scheme: bearer
      description: API key prefixed with `alk_live_`. Write scope required for ingest.

````