DevFoundry API
The hosted HTTP execution service for registered DevFoundry capabilities. Implement a capability once, register it in the DevFoundry Registry, then call it from anywhere with an API key — the same registry that powers DevFoundry CLI, DevFoundry MCP, and the DevFoundry Website.
How it works
Build once
Implement the capability in a shared engine and register it in the DevFoundry Registry.
Register once
Schema, validation, and examples live in one place — adapters stay thin.
Expose everywhere
DevFoundry CLI, DevFoundry MCP, DevFoundry Website, and DevFoundry API all invoke the same registered capability.
Call a registered capability
Create an API key below, then invoke any registered tool with a Bearer token:
curl -X POST https://devfoundry.dev/api/v1/execute \
-H "Authorization: Bearer df_live_YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{
"tool": "slugify",
"action": "run",
"input": { "text": "Hello World" }
}'Response shape matches the DevFoundry result envelope plus a usageId for metering:
{
"tool": "slugify",
"action": "run",
"success": true,
"message": "Done",
"data": { "slug": "hello-world" },
"warnings": [],
"durationMs": 12,
"usageId": "use_…"
}Free tier: 1,000 executions per 24 hours per account (hardcoded for now).
Dashboard
Manage API keys and review recent usage. Set DEVFOUNDRY_API_ADMIN_TOKEN on the server, then enter the same token here to unlock management actions.
Token is stored in session storage for this browser tab only.