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

# Regenerate a Run's report token

> Issue a new report token for a Run whose job has not started, for a caller that lost the token from preparing it: repeat `POST /api/v1/fabric/runs` with the same Run ID to get the Run back, then call this. The earlier token stops working. Returns 409 once the Run's job is recorded, the Run has an outcome, or 24 hours have passed since it was prepared.

Requires the GV.APIContributor application role, or a higher role (Owner > Contributor > Reader).



## OpenAPI

````yaml /api/openapi.json post /api/v1/fabric/runs/{run_id}:regenerate-report-token
openapi: 3.1.0
info:
  description: >-
    General Validation's API for Organization administration, Table Pair and
    Test authoring, Runs, and Result metadata. Microsoft Entra bearer tokens
    authorize every call.
  title: General Validation API
  version: 1.0.0
servers:
  - url: https://api.generalvalidation.com
security: []
tags:
  - description: Saved Fabric Lakehouse and Warehouse Table references.
    name: Tables
  - description: >-
      Source-to-target Table Pairs, join keys, filters, Test Set links, and
      Fabric read-access requirements.
    name: Table Pairs
  - description: Individual validation Tests belonging to a Table Pair or Test Set.
    name: Tests
  - description: Reusable sets of join keys and Tests shared across multiple Table Pairs.
    name: Test Sets
  - description: >-
      Prepare validation Runs, record Fabric job submissions, and read Run
      status and Result metadata.
    name: Runs
  - description: >-
      Read the dedicated Fabric Environment reference and the fixed catalog of
      validation functions.
    name: Environment and Catalog
  - description: >-
      Organization profile, caller role, audit activity, and API workload
      identities.
    name: Organization
  - description: Manage Organization members, roles, and pending invitations.
    name: Members and Invitations
  - description: >-
      Subscription status, free Runs, monthly Run usage, limits, and pricing
      schedule.
    name: Billing
paths:
  /api/v1/fabric/runs/{run_id}:regenerate-report-token:
    post:
      tags:
        - Runs
      summary: Regenerate a Run's report token
      description: >-
        Issue a new report token for a Run whose job has not started, for a
        caller that lost the token from preparing it: repeat `POST
        /api/v1/fabric/runs` with the same Run ID to get the Run back, then call
        this. The earlier token stops working. Returns 409 once the Run's job is
        recorded, the Run has an outcome, or 24 hours have passed since it was
        prepared.


        Requires the GV.APIContributor application role, or a higher role (Owner
        > Contributor > Reader).
      operationId: regenerate_fabric_run_report_token
      parameters:
        - description: The Run's ID.
          in: path
          name: run_id
          required: true
          schema:
            description: The Run's ID.
            format: uuid
            title: Run Id
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RunReportCredential'
          description: Successful Response
        '401':
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/V1Problem'
          description: A valid Microsoft Entra bearer token is required.
        '403':
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/V1Problem'
          description: The authenticated principal does not have the required role.
        '404':
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/V1Problem'
          description: The resource does not exist in this tenant.
        '409':
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/V1Problem'
          description: The operation conflicts with current resource or Azure state.
        '422':
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/V1Problem'
          description: The request is syntactically valid but semantically invalid.
        '429':
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/V1Problem'
          description: The bounded application request rate was exceeded.
          headers:
            Retry-After:
              description: Seconds to wait before retrying.
              schema:
                minimum: 1
                type: integer
        '503':
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/V1Problem'
          description: A required dependency is temporarily unavailable.
          headers:
            Retry-After:
              description: Seconds to wait before retrying.
              schema:
                minimum: 1
                type: integer
      security:
        - entraApplication: []
components:
  schemas:
    RunReportCredential:
      additionalProperties: false
      properties:
        token:
          description: >-
            A secret that lets this Run's job report its outcome. Keep it out of
            logs.
          pattern: ^[0-9a-f]{64}$
          title: Token
          type: string
      required:
        - token
      title: RunReportCredential
      type: object
    V1Problem:
      additionalProperties: false
      properties:
        code:
          description: >-
            Stable machine-readable error code, such as `precondition.failed`.
            Branch on this value.
          title: Code
          type: string
        detail:
          description: What went wrong in this request, written for a person.
          title: Detail
          type: string
        diagnostics:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          default: null
          description: >-
            Extra details for some errors, such as `fieldErrors` for an invalid
            request or `requiredRole` for a denied one. Absent when there are
            none.
          title: Diagnostics
        instance:
          description: Path of the request that failed.
          title: Instance
          type: string
        requestId:
          description: >-
            This request's ID, also sent in the `X-Request-Id` response header.
            Quote it when you contact support. A request that sends an
            `X-Request-Id` of 1 to 64 letters, digits, or `_.:-` gets that value
            back.
          title: Requestid
          type: string
        status:
          description: The HTTP status code of this response.
          title: Status
          type: integer
        title:
          description: Short summary of the error code.
          title: Title
          type: string
        type:
          description: Link to the documentation page for this error code.
          title: Type
          type: string
      required:
        - type
        - title
        - status
        - code
        - detail
        - instance
        - requestId
      title: V1Problem
      type: object
  securitySchemes:
    entraApplication:
      bearerFormat: JWT
      description: >-
        A Microsoft Entra token for your own service principal or managed
        identity, not a signed-in person. Request the .default scope and assign
        it the GV.APIReader, GV.APIContributor, or GV.APIOwner role.
      scheme: bearer
      type: http
      x-gv-app-roles:
        - GV.APIReader
        - GV.APIContributor
        - GV.APIOwner
      x-gv-audience: 78d5d8af-9dd6-49dd-b06c-38c3a3c707af
      x-gv-scope: api://78d5d8af-9dd6-49dd-b06c-38c3a3c707af/.default
      x-gv-token-url-template: https://login.microsoftonline.com/{tenantId}/oauth2/v2.0/token

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.