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

# Compile Circom circuit

> Compile a Circom circuit



## OpenAPI

````yaml openapi.json post /api/circom-compilations
openapi: 3.0.3
info:
  title: Warp API
  description: >-
    Comprehensive API for Warp platform including organizations, projects, ZK
    proofs, payments, and more
  version: 1.0.0
  contact:
    name: Warp Support
    email: support@usewarp.net
servers:
  - url: https://platform.usewarp.net
    description: Platform API
  - url: https://checkout.usewarp.net
    description: Checkout API
security:
  - bearerAuth: []
paths:
  /api/circom-compilations:
    post:
      tags:
        - Circom
      summary: Compile Circom circuit
      description: Compile a Circom circuit
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                project_id:
                  type: string
                  description: Project ID
                circuit_file_id:
                  type: string
                  description: Circuit file ID
                input_file_id:
                  type: string
                  description: Input file ID
              required:
                - project_id
                - circuit_file_id
      responses:
        '200':
          description: Compilation started successfully
          content:
            application/json:
              schema:
                type: object
                properties:
                  compilation_id:
                    type: string
                    description: Compilation ID
        '400':
          description: Invalid request data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security:
        - bearerAuth: []
components:
  schemas:
    Error:
      type: object
      properties:
        error:
          type: string
          description: Error message
        details:
          type: array
          items:
            type: object
          description: Detailed validation errors
      required:
        - error
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: JWT Bearer token authentication

````