Security v2.0.1

run402-test

Test skill for Run402 — provision AI-native Postgres databases with REST API, auth, and row-level security using x402...

majortal 更新于 2026-03-12 1 浏览
下载 SKILL

技能说明

Test skill for Run402 — provision AI-native Postgres databases with REST API, auth, and row-level security using x402 micropayments on Base.

使用场景

Run402 gives you a full Postgres database with REST API, user auth, file storage, and row-level security. Pay with a single x402 micropayment on Base — no signups.

直接复制以下提示词,发送给你的 AI 助手即可完成安装。

帮我下载并安装这个SKILL:https://skillhub.cstcloud.cn/download/run402-test
  1. 点击上方「下载 SKILL」按钮,获取技能压缩包。
  2. 将压缩包解压到你的 Agent 技能目录。
  3. 重启客户端后即可在技能列表中选择该技能。

技能文件内容

5 个文件 · 17 kB
SKILL.md text/markdown
---
name: run402-test
description: Test skill for Run402 — provision AI-native Postgres databases with REST API, auth, and row-level security using x402 micropayments on Base.
---

# Run402 Test Skill

Run402 gives you a full Postgres database with REST API, user auth, file storage, and row-level security. Pay with a single x402 micropayment on Base — no signups.

## Provision a Database

```bash
curl -X POST https://api.run402.com/v1/projects \
  -H "Content-Type: application/json" \
  -H "X-402-Payment: <payment>" \
  -d '{"name": "my-db", "tier": "prototype"}'
```

Returns `project_id`, `anon_key`, `service_key`.

## Create a Table

```bash
curl -X POST https://api.run402.com/admin/v1/projects/$PROJECT_ID/sql \
  -H "Authorization: Bearer $SERVICE_KEY" \
  -H "Content-Type: text/plain" \
  -d "CREATE TABLE todos (id serial PRIMARY KEY, task text NOT NULL, done boolean DEFAULT false);"
```

## Query via REST

```bash
curl "https://api.run402.com/rest/v1/todos?done=eq.false" \
  -H "apikey: $ANON_KEY"
```

## Pricing

| Tier | Price | Lease |
|------|-------|-------|
| Prototype | $0.10 | 7 days |
| Hobby | $5.00 | 30 days |
| Team | $20.00 | 30 days |

文件内容直接读取自技能仓库,仅供安装前审阅;以实际下载的压缩包为准。