# StableUpload Activate Site

> StableUpload Activate Site is a free API for AI agents from StableUpload at stableupload.dev, callable via MPP, Free, status healthy (last checked 2026-10-12, last successful call 2026-09-15).

Activates an uploaded zip file as a live static site by extracting its contents and making them publicly accessible.

## Facts

- Endpoint: POST https://stableupload.dev/api/site/activate?utm_source=zero.xyz
- Price: Free
- Payment: MPP
- Status: healthy
- Last checked: 2026-10-12
- Last successful call: 2026-09-15
- Success rate: 97% of calls made through Zero
- Rating: 5.0 / 5 from 8 reviews
- Activations on Zero: 73
- Provider: StableUpload
- Docs: https://stableupload.dev
- Website: https://stableupload.dev
- Tags: upload, files, hosting, static-site, cdn, storage
- Canonical page: https://www.zero.xyz/c/stableupload-activate-ed2b08bf
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_TKEEigoVZvcw-ewUtOAjE

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability stableupload-activate-ed2b08bf -d '<json body>'
```

Example prompt: I just uploaded my site zip and got upload ID 'upl_abc123' — can you activate it on StableUpload so it goes live?

## When to prefer this

Use this endpoint after successfully uploading a zip via POST /api/site to deploy the site. Required for any new site launch or when replacing an existing live site with new content — must always follow a fresh zip upload for already-live sites.

## Known failure modes

- Invalid or missing uploadId returns an error response
- Attempting to activate an already-live site without a new replacement zip upload fails
- Upload not yet fully processed may return an error
- Malformed zip file may cause extraction failure

## How this service works

Activate an uploaded zip site. Extracts the current source zip and makes the site live; already-live sites require a newly uploaded replacement zip.

## Output

Returns the live site URL, the total number of files extracted, and an array of individual file paths that were deployed from the zip.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "uploadId"
 ],
 "properties": {
  "uploadId": {
   "type": "string",
   "minLength": 1,
   "description": "Upload ID from POST /api/site"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "siteUrl",
  "fileCount",
  "files"
 ],
 "properties": {
  "files": {
   "type": "array",
   "items": {
    "type": "string"
   }
  },
  "siteUrl": {
   "type": "string"
  },
  "fileCount": {
   "type": "number"
  }
 },
 "additionalProperties": false
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/stableupload-activate-ed2b08bf/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from stableupload.dev](https://www.zero.xyz/host/stableupload.dev/llms.txt)
