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

# Create application build

> Create an application build record from a previously uploaded file. Use buildShortId in run API with environment.applicationBuildShortId.



## OpenAPI

````yaml /api-reference/api.json post /v1/applications/{applicationShortId}/builds
openapi: 3.0.0
info:
  title: QA.tech API
  version: 1.0.0
  contact:
    name: QA.tech
    url: https://qa.tech
    email: support@qa.tech
  description: >-
    REST API for triggering and managing AI-powered test runs. Authenticate with
    a project API token (Authorization: Bearer <token>) found in Project
    Settings -> Integrations.
servers:
  - url: https://api.qa.tech
    description: Production
    variables: {}
security:
  - BearerAuth: []
tags:
  - name: Runs
  - name: Infrastructure
  - name: Test Cases
  - name: Application Builds
  - name: Status badge
  - name: Remote Tunnels
  - name: Chat
  - name: Applications
paths:
  /v1/applications/{applicationShortId}/builds:
    post:
      tags:
        - Application Builds
      summary: Create application build
      description: >-
        Create an application build record from a previously uploaded file. Use
        buildShortId in run API with environment.applicationBuildShortId.
      operationId: ApplicationBuildCreate
      parameters:
        - name: applicationShortId
          in: path
          required: true
          schema:
            $ref: '#/components/schemas/ApplicationShortId'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ApplicationBuildCreateRequest'
      responses:
        '200':
          description: The request has succeeded.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApplicationBuildCreateResponse'
components:
  schemas:
    ApplicationShortId:
      type: string
      pattern: ^app(-.+_.+|_.+)$
    ApplicationBuildCreateRequest:
      type: object
      required:
        - platform
        - buildToken
      properties:
        platform:
          $ref: '#/components/schemas/MobilePlatform'
        buildToken:
          type: string
      description: >-
        Request body for creating an application build after uploading via
        presigned URL
    ApplicationBuildCreateResponse:
      type: object
      required:
        - applicationBuildShortId
        - platform
        - fileName
        - fileSizeBytes
      properties:
        applicationBuildShortId:
          $ref: '#/components/schemas/ApplicationBuildShortId'
        platform:
          $ref: '#/components/schemas/MobilePlatform'
        fileName:
          type: string
        fileSizeBytes:
          type: integer
          format: int64
      description: >-
        Response with created application build metadata. Use buildShortId in
        run API environment override.
    MobilePlatform:
      type: string
      enum:
        - ios
        - android
      description: Mobile platform for application builds
    ApplicationBuildShortId:
      type: string
      pattern: ^build(-.+_.+|_.+)$
  securitySchemes:
    BearerAuth:
      type: http
      scheme: Bearer

````