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

# Validate a candidate app launch

> Validates a candidate app payload against current launch requirements
before any transaction is sent. Returns blocking errors, non-blocking
warnings, and the estimated ELTA cost of launch.




## OpenAPI

````yaml /api-reference/openapi.yaml post /preflight/launch
openapi: 3.1.0
info:
  title: Elata App Store API
  version: 0.1.0
  description: |
    REST API for the Elata App Store at `app.elata.bio`.

    This spec is the source of truth for the public HTTP surface that powers
    third-party app discovery, launch flows, market widgets, user portfolio
    views, rewards claims, and runtime config.

    ### Status legend

    Every operation in this spec carries an `x-elata-status` extension:

    - `stable` — implemented today on `app.elata.bio/api`. Safe to depend on.
    - `proposed` — designed here, **not yet implemented**. Spec is the contract
      the backend should build against. Subject to change.
    - `planned` — acknowledged but not yet designed. Reserved namespace.

    ### Rate limits

    | Endpoint class | Limit       |
    | -------------- | ----------- |
    | Read endpoints | 100 req/min |
    | Heavy queries  | 10 req/min  |

    Production builds should bring their own RPC provider for direct
    on-chain reads (Alchemy, Infura, QuickNode).
  contact:
    name: Elata Biosciences
    url: https://github.com/elata-biosciences
servers:
  - url: https://app.elata.bio/api
    description: Production
security:
  - {}
  - siweBearer: []
tags:
  - name: Apps
    description: App discovery and detail.
  - name: Preflight
    description: Pre-launch validation for builders before sending transactions.
  - name: Market
    description: Token prices, candles, bonding-curve state, leaderboards.
  - name: Portfolio
    description: Per-wallet holdings, history, and P&L.
  - name: Rewards
    description: Claimable rewards across protocol and per-app distributors.
  - name: Config
    description: Runtime configuration for SDKs and AI agents.
paths:
  /preflight/launch:
    post:
      tags:
        - Preflight
      summary: Validate a candidate app launch
      description: |
        Validates a candidate app payload against current launch requirements
        before any transaction is sent. Returns blocking errors, non-blocking
        warnings, and the estimated ELTA cost of launch.
      operationId: preflightLaunch
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/LaunchCandidate'
      responses:
        '200':
          description: Preflight result.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PreflightResult'
components:
  schemas:
    LaunchCandidate:
      type: object
      required:
        - name
        - symbol
        - creator
      properties:
        name:
          type: string
        symbol:
          type: string
          pattern: ^[A-Z0-9]{2,10}$
        description:
          type: string
        imageUrl:
          type: string
          format: uri
        website:
          type: string
          format: uri
        creator:
          type: string
          pattern: ^0x[a-fA-F0-9]{40}$
    PreflightResult:
      type: object
      required:
        - ok
        - errors
        - warnings
      properties:
        ok:
          type: boolean
        errors:
          type: array
          items:
            $ref: '#/components/schemas/PreflightIssue'
        warnings:
          type: array
          items:
            $ref: '#/components/schemas/PreflightIssue'
        nameAvailable:
          type: boolean
        symbolAvailable:
          type: boolean
        estimatedEltaCost:
          type: string
          description: >-
            Estimated total ELTA the creator must approve, as a decimal string
            in wei.
    PreflightIssue:
      type: object
      required:
        - code
        - field
        - message
      properties:
        code:
          type: string
        field:
          type: string
        message:
          type: string
  securitySchemes:
    siweBearer:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: |
        SIWE-issued JWT, scoped to a wallet address. Obtain via Sign-In With
        Ethereum (EIP-4361) against `app.elata.bio`. Required for personalized
        Portfolio and Rewards endpoints. The `sub` claim is the wallet address;
        a request whose path `{address}` does not match the `sub` is rejected.

````