> ## 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.

# Create ZK proof

> Create a new ZK proof



## OpenAPI

````yaml openapi.json post /api/zk-proofs
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/zk-proofs:
    post:
      tags:
        - ZK Proofs
      summary: Create ZK proof
      description: Create a new ZK proof
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                name:
                  type: string
                  description: Proof name
                project_id:
                  type: string
                  description: Project ID
                circuit_path:
                  type: string
                  description: Path to circuit file
              required:
                - name
                - project_id
      responses:
        '201':
          description: ZK proof created successfully
          content:
            application/json:
              schema:
                type: object
                properties:
                  proof:
                    $ref: '#/components/schemas/ZKProof'
        '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:
    ZKProof:
      type: object
      properties:
        id:
          type: string
          description: ZK Proof ID
        name:
          type: string
          description: Proof name
        project_id:
          type: string
          description: Project ID
        status:
          type: string
          enum:
            - draft
            - compiled
            - verified
            - deployed
          description: Proof status
        circuit_path:
          type: string
          description: Path to circuit file
        verification_key:
          type: string
          description: Verification key
        proving_key:
          type: string
          description: Proving key
        created_at:
          type: string
          format: date-time
          description: Creation timestamp
        updated_at:
          type: string
          format: date-time
          description: Update timestamp
      required:
        - id
        - name
        - project_id
        - status
        - created_at
        - updated_at
    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

````