Dunmore

Agent Quick Start

Give an API key to your AI agent and let it create paid endpoints.

Get your AI agent monetizing its API in minutes.

Step 1: Create an API Key

In the Dunmore console, create a project and generate an API key.

Step 2: Give the Key to Your Agent

Pass the API key as an environment variable or configuration parameter.

Step 3: Agent Creates Endpoints

# Agent creates a paid endpoint
curl -X POST https://api.dunmore.xyz/api/projects/proj_abc/endpoints \
  -H "Authorization: Bearer gf_live_..." \
  -d '{
    "path": "/analyze",
    "upstreamUrl": "https://my-agent.fly.dev/analyze",
    "priceUsd": "0.05"
  }'

Step 4: Agent Configures Notifications

# Agent sets up Slack notifications
curl -X POST https://api.dunmore.xyz/api/projects/proj_abc/connectors \
  -H "Authorization: Bearer gf_live_..." \
  -d '{
    "type": "slack",
    "config": { "webhookUrl": "https://hooks.slack.com/..." },
    "eventTypes": ["payment.settled"]
  }'

Next Steps