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

# App version history

> List every published version of an app, newest first.

**`GET`** `https://api-datahub.octoparse.com/v1/data-apps/{app_id}/versions`

Authentication: optional. With an API key you may see apps that require a logged-in view.

All published versions, newest first. Detail and run calls default to the latest version. Pass `version` to pin a historical release.

Yanked versions stay in history and are flagged. They are no longer resolved as latest and reject new runs, but existing result data remains readable.

## Request

### Path parameters

<ParamField path="app_id" type="string" required>
  App reference: `app_<hex>` or `<namespace>/<app_name>`.
</ParamField>

### Example request

```bash theme={null}
curl   -H "Authorization: Bearer $OCTOPARSE_API_KEY"   "https://api-datahub.octoparse.com/v1/data-apps/carol/probe-b/versions"
```

## Response

### 200 success

```json theme={null}
{
  "data": {
    "items": [
      {
        "version": "0.2.0",
        "yanked": false,
        "created_at": "2026-09-01T08:00:00+00:00",
        "build_id": "bld_123"
      }
    ]
  }
}
```

The payload is wrapped in `data`. Fields:

<ResponseField name="items" type="array" required>
  Versions, newest first.

  <Expandable title="item">
    <ResponseField name="version" type="string" required>
      Semantic version string.
    </ResponseField>

    <ResponseField name="yanked" type="boolean" required>
      Whether the version was yanked.
    </ResponseField>

    <ResponseField name="created_at" type="string" required>
      Publish time, ISO 8601.
    </ResponseField>

    <ResponseField name="build_id" type="string">
      Source Build id, when available.
    </ResponseField>
  </Expandable>
</ResponseField>

### Errors

| HTTP | `code`          | `category`  | Description                                                   |
| ---- | --------------- | ----------- | ------------------------------------------------------------- |
| 401  | `unauthorized`  | `forbidden` | Missing or invalid API key.                                   |
| 404  | `app-not-found` | `not_found` | App does not exist or is invisible to the current credential. |

Error responses use `{"error": {code, category, message, retryable}}`. See <a href="/docs/en/datahub/api/reference/introduction#errors">Errors</a>.

## Client libraries

The Python and JavaScript SDKs do not wrap this endpoint yet. Call REST directly.
