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

# Get app details



## OpenAPI

````yaml /api-reference/openapi.json get /apps/{app_id}
openapi: 3.0.0
info:
  title: Shard Cloud API
  description: >-
    API reference for Shard Cloud's authenticated management endpoints — Apps,
    Databases, VMs, Custom Docker Images, and project-level Alerts & Backups.
    Every endpoint on this page requires a JWT bearer token (see Authentication
    below). CDN endpoints have their own reference under the CDN tab.
  version: 2.0.0
servers:
  - url: https://shardcloud.app/api
    description: API base path
security: []
tags:
  - name: Databases
    description: PostgreSQL, MySQL, MongoDB, and Redis database services.
  - name: Apps
    description: Web application deployment, files, domains, and configuration.
  - name: VMs
    description: Full Linux virtual machines with SSH access.
  - name: Custom Images
    description: User-built Docker images, deployable straight to an App.
  - name: Project
    description: >-
      Resource alerts and backups — shared across App, Database, and VM
      projects.
paths:
  /apps/{app_id}:
    get:
      tags:
        - Apps
      summary: Get app details
      parameters:
        - name: app_id
          in: path
          required: true
          schema:
            type: string
            format: uuid
        - name: q
          in: query
          schema:
            type: string
          description: Pass any non-empty value to skip project_info in the response.
      responses:
        '200':
          description: App details
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AppDetailResponse'
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security:
        - JWTAuth: []
components:
  schemas:
    AppDetailResponse:
      type: object
      description: Response of GET /apps/{app_id}.
      properties:
        app:
          $ref: '#/components/schemas/App'
        error_page_url:
          type: string
        project_info:
          $ref: '#/components/schemas/ProjectInfo'
          description: Omitted when the request is made with ?q= (quiet mode).
    Error:
      type: object
      properties:
        error:
          type: string
    App:
      allOf:
        - $ref: '#/components/schemas/Project'
        - type: object
          properties:
            language:
              type: string
              enum:
                - python
                - node
                - java
                - go
                - csharp
                - php
                - static
                - ruby
                - elixir
                - unknown
            version:
              type: string
              description: >-
                A concrete version string from GET /apps/versions (e.g. "20",
                "3.12") — not a fixed enum.
            subdomain:
              type: string
            entrypoint:
              type: string
            description:
              type: string
            custom_command:
              type: string
            custom_domains:
              type: array
              items:
                $ref: '#/components/schemas/AppDomain'
              description: >-
                An app can have multiple custom domains attached; at most one
                has is_primary=true.
            auto_restart_on_deploy:
              type: boolean
            analytics:
              type: boolean
            gracefully_shutdown:
              type: boolean
            error_page_enabled:
              type: boolean
            custom_image_id:
              type: string
              format: uuid
              nullable: true
              description: >-
                Set when the app was deployed from a Custom Docker Image instead
                of an uploaded project —
                language/version/entrypoint/custom_command are unused in that
                case.
    ProjectInfo:
      type: object
      description: >-
        Time-series resource usage, one point per sampled step over the
        requested window.
      properties:
        ram:
          type: array
          items:
            type: number
        vcpu:
          type: array
          items:
            type: number
        storage:
          type: integer
        network_receive:
          type: array
          items:
            type: number
        network_send:
          type: array
          items:
            type: number
    Project:
      type: object
      description: Fields shared by every resource type (App, DatabaseService, VM).
      properties:
        id:
          type: string
          format: uuid
        user_id:
          type: string
          format: uuid
        workspace_id:
          type: string
          format: uuid
          description: Present only when the resource belongs to a workspace.
        ram:
          type: integer
          description: RAM in MB.
        vcpu:
          type: integer
        name:
          type: string
        is_app:
          type: boolean
        project_type:
          type: string
          enum:
            - app
            - database
            - virtual_machine
        blocked_until:
          type: string
          format: date-time
          nullable: true
        blocked_reason:
          type: string
          nullable: true
        setup:
          type: boolean
        created_at:
          type: string
          format: date-time
          nullable: true
        auto_backup:
          type: boolean
    AppDomain:
      type: object
      properties:
        domain:
          type: string
        is_primary:
          type: boolean
        created_at:
          type: string
          format: date-time
  securitySchemes:
    JWTAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: >-
        Send your API token (Dashboard → Settings → API Token) as
        `Authorization: Bearer <token>`.

````