---
updatedAt: 2025-02-13T17:54:40.000Z
agentTools:
  projectIndex: https://docs.emergetools.com/llms.txt
---

# get

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "Emerge API",
    "description": "The Emerge API allows you to access app size data for individual builds, including breakdowns of size by Swift module, framework, and Obj-C prefix.",
    "version": "0.2.0"
  },
  "servers": [
    {
      "url": "https://api.emergetools.com/"
    }
  ],
  "security": [
    {
      "ApiKeyAuth": []
    }
  ],
  "paths": {
    "/buildDetails": {
      "get": {
        "parameters": [
          {
            "name": "appId",
            "in": "query",
            "description": "Bundle id of the app. If buildId (aka emergeId) is not included this will be used to find the most recent upload of an app.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "buildId",
            "in": "query",
            "description": "Id of the build to retrieve (aka emergeId)",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "platform",
            "in": "query",
            "description": "'ios' or 'android'.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BuildDetails"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "BuildDetails": {
        "type": "object",
        "properties": {
          "appName": {
            "type": "string"
          },
          "appVersion": {
            "type": "string"
          },
          "appBuild": {
            "type": "string"
          },
          "buildId": {
            "type": "string"
          },
          "tag": {
            "type": "string"
          },
          "size": {
            "type": "object",
            "properties": {
              "installSize": {
                "type": "integer",
                "format": "int64"
              },
              "downloadSize": {
                "type": "integer",
                "format": "int64"
              }
            }
          },
          "modules": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "name": {
                  "type": "string"
                },
                "path": {
                  "type": "string"
                },
                "size": {
                  "type": "integer"
                },
                "type": {
                  "type": "string",
                  "enum": [
                    "swiftModule",
                    "framework",
                    "objcPrefix"
                  ]
                }
              }
            }
          }
        }
      }
    },
    "securitySchemes": {
      "ApiKeyAuth": {
        "type": "apiKey",
        "name": "X-API-Token",
        "in": "header"
      }
    }
  },
  "x-original-swagger-version": "2.0",
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  }
}
```