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

# Retrieve a function validation owned by this organisation



## OpenAPI

````yaml /api-reference/serverless-functions/validations.yaml get /compute/functions/validations/{validationId}
openapi: 3.1.0
info:
  title: Validations
  version: v1
servers:
  - description: Droidrun Cloud API
    url: https://api.mobilerun.ai/v1
security:
  - bearerAuth: []
paths:
  /compute/functions/validations/{validationId}:
    get:
      tags:
        - Validations
      summary: Retrieve a function validation owned by this organisation
      operationId: getFunctionValidation
      parameters:
        - schema:
            type: string
            format: uuid
            example: 550e8400-e29b-41d4-a716-446655440000
          required: true
          name: validationId
          in: path
        - schema:
            type:
              - integer
              - 'null'
            minimum: 0
            maximum: 25
            default: 0
            description: >-
              Wait up to 25 seconds for validation to finish. Excess waiters
              return immediately.
          required: false
          description: >-
            Wait up to 25 seconds for validation to finish. Excess waiters
            return immediately.
          name: waitS
          in: query
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    $ref: '#/components/schemas/FunctionValidation'
                required:
                  - data
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorEnvelope'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorEnvelope'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorEnvelope'
        '404':
          description: Error 404
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: string
                    enum:
                      - validation_not_found
                  message:
                    type: string
                  traceId:
                    type: string
                  retryAfterSeconds:
                    type: number
                required:
                  - code
                  - message
        '503':
          description: Service Unavailable
          headers:
            Retry-After:
              description: Seconds to wait before retrying
              schema:
                type: integer
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorEnvelope'
components:
  schemas:
    FunctionValidation:
      type: object
      properties:
        valid:
          type: boolean
        errors:
          type: array
          items:
            $ref: '#/components/schemas/InspectionIssue'
        warnings:
          type: array
          items:
            $ref: '#/components/schemas/InspectionIssue'
        inputSchema:
          type: object
          additionalProperties: {}
        outputSchema:
          type: object
          additionalProperties: {}
        outputKind:
          type: string
          enum:
            - value
            - dataset
            - none
        datasetKey:
          type:
            - string
            - 'null'
        runtimeVersion:
          type: string
        id:
          type: string
          format: uuid
        status:
          type: string
          enum:
            - pending
            - done
            - failed
        createdAt:
          type: string
          format: date-time
        finishedAt:
          type: string
          format: date-time
      required:
        - errors
        - warnings
        - id
        - status
        - createdAt
    ApiErrorEnvelope:
      properties:
        code:
          type: string
        details: {}
        message:
          type: string
        retryAfterSeconds:
          type: number
        traceId:
          type: string
      required:
        - code
        - message
      type: object
    InspectionIssue:
      type: object
      properties:
        code:
          type: string
          maxLength: 64
        message:
          type: string
        line:
          type: integer
          exclusiveMinimum: 0
        repair:
          type: object
          properties:
            action:
              type: string
              maxLength: 64
            hint:
              type: string
          required:
            - action
            - hint
          additionalProperties: false
      required:
        - code
        - message
      additionalProperties: false
  securitySchemes:
    bearerAuth:
      bearerFormat: Opaque
      description: Bearer token via Authorization header
      scheme: bearer
      type: http

````

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