# appstore_app_status

> Read where an app stands on the App Store: the live version, the version being prepared, the latest review submission and the newest builds.

Source: https://air.build/docs/mcp-tools/appstore_app_status/

Reads where an app stands on the App Store in one call: the version live on the App Store, the version being prepared and its build, the latest App Review submission, and the three newest builds with their TestFlight state. Start here before changing anything. It changes nothing.

The version being prepared is the newest one Apple still lets you change: `PREPARE_FOR_SUBMISSION`, `DEVELOPER_REJECTED`, `REJECTED`, `METADATA_REJECTED`, `INVALID_BINARY` or `READY_FOR_REVIEW`. The live version is the newest in `READY_FOR_SALE` or `READY_FOR_DISTRIBUTION`. Only the 20 newest versions are looked at.

| Read-only | Destructive | Idempotent |
| --- | --- | --- |
| Yes | No | Yes |

## Inputs

| Input | Type | Required | Default | What it does |
| --- | --- | --- | --- | --- |
| `teamId` | string (UUID) | yes | — | The Team, from [list_teams](https://air.build/docs/mcp-tools/list_teams/). |
| `projectId` | string (UUID) | this or `appId` | — | The Project whose app this is, from [list_projects](https://air.build/docs/mcp-tools/list_projects/): the usual way to name an app. The app is the one on App Store Connect with the bundle id the Project builds. When both are sent, `projectId` is used. |
| `appId` | string | this or `projectId` | — | An App Store Connect app id from [appstore_list_apps](https://air.build/docs/mcp-tools/appstore_list_apps/), for an app no Project builds. |
| `appleTeamId` | string (UUID) | no | every connected Apple team | One of the Team's Apple teams, from [appstore_list_apple_teams](https://air.build/docs/mcp-tools/appstore_list_apple_teams/). With `appId`, only this Apple team is searched for the app. With `projectId` it is not needed: the Project's app decides. |
| `platform` | string: `IOS`, `MAC_OS`, `TV_OS`, `VISION_OS` | no | `IOS` | Which platform's App Store version. |

The checks every tool makes on its inputs are on [Server and sign-in](https://air.build/docs/mcp-tools/server/#errors).

## Result

A JSON object, as text and as `structuredContent`.

| Field | What |
| --- | --- |
| `app` | `appId`, `name`, `bundleId`, `primaryLocale`, and `projectId` (null when the app was named by `appId`) |
| `live` | The version on the App Store, or null (fields below) |
| `preparing` | The version being prepared, or null |
| `recentVersions` | The three newest versions, newest first |
| `latestSubmission` | The newest App Review submission (a draft not yet sent counts as the newest), or null: `submissionId`, `state`, `submittedAt`, `platform` |
| `recentBuilds` | The three newest builds, expired ones included (fields as in [appstore_list_builds](https://air.build/docs/mcp-tools/appstore_list_builds/#result)) |

Each version has these fields:

| Field | What |
| --- | --- |
| `versionId` | Apple's id of the version |
| `version` | The version number, e.g. `1.2.0` |
| `state` | Apple's state of the version, e.g. `PREPARE_FOR_SUBMISSION`, `WAITING_FOR_REVIEW`, `IN_REVIEW`, `PENDING_DEVELOPER_RELEASE`, `READY_FOR_SALE`, `REJECTED` |
| `releaseType` | `MANUAL`, `AFTER_APPROVAL` or `SCHEDULED`, or null |
| `scheduledRelease` | The earliest release date of a scheduled release, or null |
| `copyright` | The copyright line, or null |
| `build` | The attached build, `buildId` and `buildNumber`, or null |
| `phasedRelease` | The phased release, `state` (`INACTIVE`, `ACTIVE`, `PAUSED`, `COMPLETE`) and `day` (its day of 7), or null |
| `createdAt` | When the version was created |

```json
{
  "app": {
    "appId": "1234567890",
    "name": "Notes",
    "bundleId": "com.example.notes",
    "primaryLocale": "en-US",
    "projectId": "00000000-0000-0000-0000-000000000000"
  },
  "live": null,
  "preparing": {
    "versionId": "00000000-0000-0000-0000-000000000000",
    "version": "1.2.0",
    "state": "PREPARE_FOR_SUBMISSION",
    "releaseType": "AFTER_APPROVAL",
    "scheduledRelease": null,
    "copyright": "2026 Example Inc.",
    "build": {
      "buildId": "00000000-0000-0000-0000-000000000000",
      "buildNumber": "42"
    },
    "phasedRelease": null,
    "createdAt": "2026-11-18T09:00:00Z"
  },
  "recentVersions": [
    {
      "versionId": "00000000-0000-0000-0000-000000000000",
      "version": "1.2.0",
      "state": "PREPARE_FOR_SUBMISSION",
      "releaseType": "AFTER_APPROVAL",
      "scheduledRelease": null,
      "copyright": "2026 Example Inc.",
      "build": {
        "buildId": "00000000-0000-0000-0000-000000000000",
        "buildNumber": "42"
      },
      "phasedRelease": null,
      "createdAt": "2026-11-18T09:00:00Z"
    }
  ],
  "latestSubmission": null,
  "recentBuilds": [
    {
      "buildId": "00000000-0000-0000-0000-000000000000",
      "version": "1.2.0",
      "buildNumber": "42",
      "platform": "IOS",
      "uploadedAt": "2026-11-18T09:00:00Z",
      "processing": "VALID",
      "expired": false,
      "expiresAt": "2027-02-16T09:00:00Z",
      "usesNonExemptEncryption": false,
      "internalTesting": "IN_BETA_TESTING",
      "externalTesting": "READY_FOR_BETA_SUBMISSION"
    }
  ]
}
```

## Errors

Each comes back as a tool error (`isError: true`). _Italic_ words stand for the values in the sentence. The errors every tool can return are on [Server and sign-in](https://air.build/docs/mcp-tools/server/#errors).

| Message | When | What to do |
| --- | --- | --- |
| Pass projectId, or appId from appstore_list_apps. | Neither `projectId` nor `appId` was sent | Send one of them |
| This Project has not been built for iOS yet, so it has no bundle id to find its app by. Ask the Team's Agent to build it, or pass appId. | The Project has never been built for iOS | Ask the Project's Agent for an iOS build ([send_message](https://air.build/docs/mcp-tools/send_message/)), or name the app by `appId` |
| This Project has no app on App Store Connect yet. Create one with appstore_create_app (its bundle id is the Project's), or pass appId. | No app on the Team's connected Apple teams has the Project's bundle id, or no Apple team is connected | Create the app with [appstore_create_app](https://air.build/docs/mcp-tools/appstore_create_app/), or name another app by `appId` |
| No connected Apple team of this Team has that app. See appstore_list_apps. | `appId` is not an app of any connected Apple team (or of `appleTeamId`) | Take the id from [appstore_list_apps](https://air.build/docs/mcp-tools/appstore_list_apps/) |
| platform must be IOS, MAC_OS, TV_OS or VISION_OS. | Another `platform` value | Send one of the four |
| App Store Connect: _Apple's sentence_ | Apple refused the request. Up to five of Apple's own sentences follow, each with the field it is about in brackets when Apple names one. An Apple agreement waiting in App Store Connect is refused this way too | Act on Apple's words. Agreements are accepted by the Apple Developer account's Account Holder in App Store Connect (Business › Agreements) |
| App Store Connect answered _status_. Try again in a moment. | Apple refused without saying why | Try again in a moment |

## Example

```json
{
  "name": "appstore_app_status",
  "arguments": {
    "teamId": "00000000-0000-0000-0000-000000000000",
    "projectId": "00000000-0000-0000-0000-000000000000"
  }
}
```
