AI & Integration v1.0.0

inngest-dwhite

Manage Inngest serverless background jobs and event-driven workflows via REST API. Use when asked to send events,...

dwhite 更新于 2026-03-28 1 浏览
下载 SKILL

技能说明

Manage Inngest serverless background jobs and event-driven workflows via REST API. Use when asked to send events, trigger functions, list runs, cancel jobs, or inspect workflow history. Requires INNGEST_EVENT_KEY and INNGEST_SIGNING_KEY env vars.

使用场景

Base event ingestion URL: https://inn.gs/e/<INNGESTEVENTKEY Management API base: https://api.inngest.com/v1

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

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

技能文件内容

4 个文件 · 22 kB
SKILL.md text/markdown
---
name: inngest
description: Manage Inngest serverless background jobs and event-driven workflows via REST API. Use when asked to send events, trigger functions, list runs, cancel jobs, or inspect workflow history. Requires INNGEST_EVENT_KEY and INNGEST_SIGNING_KEY env vars.
---

# Inngest Skill

Base event ingestion URL: `https://inn.gs/e/<INNGEST_EVENT_KEY>`
Management API base: `https://api.inngest.com/v1`

## Auth
```bash
# Send an event (key in URL)
curl -X POST "https://inn.gs/e/$INNGEST_EVENT_KEY" \
  -H "Content-Type: application/json" \
  -d '{"name":"app/user.signup","data":{"userId":"123"}}'

# Management API
curl -H "Authorization: Bearer $INNGEST_SIGNING_KEY" \
  https://api.inngest.com/v1/runs
```

## Common Operations

**Send a single event:**
```bash
curl -X POST "https://inn.gs/e/$INNGEST_EVENT_KEY" \
  -H "Content-Type: application/json" \
  -d '{"name":"app/order.created","data":{"orderId":"ord_123","total":49.99},"user":{"id":"usr_456"}}'
```

**Send a batch of events:**
```bash
curl -X POST "https://inn.gs/e/$INNGEST_EVENT_KEY" \
  -H "Content-Type: application/json" \
  -d '[{"name":"app/email.sent","data":{"to":"a@example.com"}},{"name":"app/email.sent","data":{"to":"b@example.com"}}]'
```

**List function runs:**
```bash
curl -H "Authorization: Bearer $INNGEST_SIGNING_KEY" \
  "https://api.inngest.com/v1/runs?limit=20&status=running"
```

**Get a specific run:**
```bash
curl -H "Authorization: Bearer $INNGEST_SIGNING_KEY" \
  "https://api.inngest.com/v1/runs/$RUN_ID"
```

**Cancel a function run:**
```bash
curl -X DELETE \
  -H "Authorization: Bearer $INNGEST_SIGNING_KEY" \
  "https://api.inngest.com/v1/runs/$RUN_ID"
```

**List all registered apps:**
```bash
curl -H "Authorization: Bearer $INNGEST_SIGNING_KEY" \
  "https://api.inngest.com/v1/apps"
```

**Replay a failed run:**
```bash
curl -X POST \
  -H "Authorization: Bearer $INNGEST_SIGNING_KEY" \
  "https://api.inngest.com/v1/runs/$RUN_ID/replay"
```

## Tips
- Event names follow `domain/noun.verb` convention (e.g. `app/user.created`)
- Batch up to 512 events per POST to reduce HTTP overhead
- The `user.id` field enables per-user throttle and concurrency controls
- Filter runs by `status` (running, completed, failed, cancelled) to keep responses lean

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