# push-live

Publish static sites and store private agent files. Anonymous in 24 hours, permanent with a key.

- Base URL: https://push-live.com
- Docs: https://push-live.com/docs
- API: https://push-live.com/openapi.json
- Agent card: https://push-live.com/.well-known/agent-card.json
- llms.txt: https://push-live.com/llms.txt · https://push-live.com/llms-full.txt
- Pricing: https://push-live.com/pricing.md

## Three calls to a live site

```bash
# 1. Create
curl -sS https://push-live.com/api/v1/publish \
  -H 'content-type: application/json' \
  -d '{"files":[{"path":"index.html","size":12,"contentType":"text/html"}]}'

# 2. PUT to the upload URL from the response

# 3. Finalize
curl -sS -X POST <finalizeUrl> -d '{"versionId":"<v>"}'
```

## Get an API key

```bash
curl -sS https://push-live.com/api/auth/agent/request-code -d '{"email":"you@example.com"}'
curl -sS https://push-live.com/api/auth/agent/verify-code  -d '{"email":"you@example.com","code":"XXXX-YYYY"}'
```
