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

# Validate a pipeline repo

> Runs advisory checks on the repo at HEAD (dvc.yaml present, manifests parse, sources reconcile). Advisory only; it never blocks saving.



## OpenAPI

````yaml /api-reference/openapi.yml post /build-specs/{buildSpecId}/files/validate
openapi: 3.0.3
info:
  title: DataLinks
  version: 2.29.0
servers:
  - url: https://api.datalinks.com/api/v1
    description: production server
security:
  - bearerAuth: []
  - openId:
      - implicit
paths:
  /build-specs/{buildSpecId}/files/validate:
    post:
      tags:
        - buildspecs
      summary: Validate a pipeline repo
      description: >-
        Runs advisory checks on the repo at HEAD (dvc.yaml present, manifests
        parse, sources reconcile). Advisory only; it never blocks saving.
      operationId: validatePipelineFiles
      parameters:
        - name: buildSpecId
          in: path
          required: true
          schema:
            type: string
            format: uuid
      responses:
        '200':
          description: The validation result.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PipelineValidationResponse'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/NotFound'
components:
  schemas:
    PipelineValidationResponse:
      required:
        - problems
        - valid
      type: object
      properties:
        valid:
          type: boolean
          description: True when no problems were found.
        problems:
          type: array
          description: Advisory problems found in the repo; empty when valid.
          items:
            type: string
    ErrorResponse:
      required:
        - error_code
        - message
      type: object
      properties:
        error_code:
          type: string
          example: UNAUTHORIZED
        error_message:
          type: string
          example: ''
        message:
          type: string
          example: Missing authentication token
        sub_errors:
          type: array
          items:
            required:
              - code
              - message
            type: object
            properties:
              code:
                type: string
              message:
                type: string
  responses:
    Unauthorized:
      description: >-
        Unauthorized. This error occurs if the authentication token is missing
        or invalid.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    NotFound:
      description: The requested resource was not found.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
  securitySchemes:
    bearerAuth:
      type: http
      description: >
        Use a Bearer token for authentication. Submit the token using the
        `Authorization`

        header: `Authorization: Bearer <token>`.
      scheme: bearer
    openId:
      type: oauth2
      flows:
        implicit:
          authorizationUrl: >-
            https://login.datalinks.com/realms/datalinks-realm/protocol/openid-connect/auth
          scopes:
            openid: openid

````