Automate Your Automations
Execute JieGou recipes, workflows, and coding agents programmatically. API key auth, sync and async execution, SSE streaming — built for developers who want to embed AI automation into CI/CD, Slack bots, and cron jobs.
Unified Endpoint
One endpoint, four actions
POST /api/sdk with bearer token auth. run_recipe (sync), run_workflow (async with polling), run_coding_agent (async with SSE streaming), send_message (sync). All actions return structured JSON with consistent error handling and request tracing.
- Single unified endpoint
- Bearer token authentication
- Sync and async execution modes
- SSE streaming for real-time events
Granular API Keys
Scoped permissions per key
Create SDK API keys with fine-grained permission scopes: recipes:execute, workflows:execute, runs:read, coding-agent:execute, conversations:write, skills:read. Keys use the jg_ prefix for easy identification and are stored as SHA-256 hashes. Set optional expiration dates and rotate keys instantly without downtime.
- Scoped permissions per key
- jg_ prefix for easy identification
- SHA-256 hashed storage
- Instant key rotation
Built for Your Stack
Embed AI automation everywhere
Trigger JieGou from GitHub Actions to run workflows on every PR. Build a Slack bot that executes recipes from chat. Schedule batch processing with cron jobs. Rate limits keep things predictable: 60 req/min, 1,000/hour, 10 concurrent executions per key. Usage is tracked separately in your billing dashboard.
- GitHub Actions integration
- Slack bot recipes
- Scheduled batch processing
- Per-key rate limiting and usage tracking
How It Works
Three steps to headless execution
Create an API key
Generate a key in Account Settings with scoped permissions. Choose which actions the key can perform and set an optional expiration date.
Call the endpoint
POST to /api/sdk with your action, recipe/workflow ID, and input. Authenticate with your jg_ bearer token.
Get results
Sync actions return immediately with structured JSON. Async actions return a runId for polling or SSE streaming of real-time progress events.
Plans
SDK API access by plan
Headless execution is available on Pro and Enterprise plans. Create API keys, call the endpoint, and embed JieGou into your stack.
Starter (Free)
- SDK API not available
- Use the web console instead
Pro
- SDK API keys
- 60 req/min, 10 concurrent
- Recipes + workflows + coding agent
- Scoped permissions and key rotation
Enterprise
- Everything in Pro
- Higher rate limits
- Dedicated support
- VPC agent integration
Start automating your automations
Create an API key, call the endpoint, and embed JieGou into your CI/CD, Slack bots, and cron jobs. Start free today.