> ## 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.

# Get manifest

> Author read-back of the latest release's full manifest (including the runtime block) for edit-and-republish.

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

Authentication: API key required (`Authorization: Bearer <API Key>`). App author only; others get `404`.

Author read-back of the **latest Release** full manifest (including the `runtime` block) — the data source for "edit then republish". Zero releases return `404`. Draft self-checks always go through the workspace endpoints; do not mix the two.

`runtime` is a backend artifact and never appears in public payloads such as cards or detail views, so this endpoint is author-only. `auth.secret` is only an alias into `runtime.env`; credential plaintext lives in the secret store and is never leaked on read-back. `status` and `scope` are injected from current ops state, not the original manifest values. Manifests no longer carry `identity.version`; take version numbers from the version list.

## Request

### Path parameters

<ParamField path="app_id" type="string" required>
  App reference.
</ParamField>

### Example request

```bash theme={null}
curl \
  -H "Authorization: Bearer $OCTOPARSE_API_KEY" \
  "https://api-datahub.octoparse.com/v1/data-apps/carol/reviews-query/manifest"
```

## Response

### 200 success

```json theme={null}
{
  "data": {
    "spec_version": "0.2",
    "identity": {
      "app_name": "probe-b",
      "name": "Runs list probe source",
      "summary": "Test app for runs list pagination and filters",
      "type": "data"
    },
    "discovery": {
      "keywords": [
        "runs-list-probe"
      ]
    },
    "input": {
      "schema": {
        "type": "object",
        "properties": {
          "product": {
            "type": "string"
          }
        },
        "required": [
          "product"
        ]
      }
    },
    "output": {
      "id_field": "review_id",
      "schema": {
        "type": "object",
        "properties": {
          "review_id": {
            "type": "string"
          }
        }
      }
    },
    "execution": {
      "mode": "sync",
      "timeout_seconds": 60
    },
    "pricing": {
      "events": [
        {
          "event": "record",
          "label": "Fetch one record",
          "unit_price": 0.001
        }
      ]
    },
    "runtime": {
      "kind": "api",
      "env": {
        "base": "PARTNER_API_BASE",
        "api_key": "PARTNER_API_KEY"
      },
      "api": {
        "auth": {
          "type": "api_key",
          "in": "header",
          "name": "X-API-Key",
          "secret": "api_key"
        },
        "response_code": {
          "path": "code",
          "ok_codes": [
            20000
          ],
          "message_path": "message"
        },
        "fetch": {
          "request": {
            "method": "GET",
            "url": "{env.base}/api/envelope/reviews",
            "query": {
              "product": "{input.product}"
            }
          },
          "response": {
            "records_path": "data.records",
            "field_map": {
              "review_id": "id"
            }
          }
        }
      }
    },
    "status": "published",
    "scope": "private",
    "namespace": "carol",
    "source_locale": "zh-CN"
  }
}
```

`data` is the manifest object itself (only the leading portion is shown above).

### Errors

| HTTP | `code`              | `category`  | Description                                                  |
| ---- | ------------------- | ----------- | ------------------------------------------------------------ |
| 401  | `unauthorized`      | `forbidden` | Missing or invalid API key.                                  |
| 404  | `release-not-found` | `not_found` | That version does not exist, or the app has no releases yet. |

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.
