The Duckie Customer API gives you read-only access to your organization’s runs and configuration data from external systems. Use it to export run history, analyze tool usage, sync agent configuration, or connect Duckie data to your internal reporting workflows.Documentation Index
Fetch the complete documentation index at: https://docs.duckie.ai/llms.txt
Use this file to discover all available pages before exploring further.
Base URL
/api/v1.
Available Resources
| Resource | What you can read |
|---|---|
| Runs | Run summaries, run details, conversation messages, execution steps, evaluation attributes, and tool-call payloads after redaction and truncation |
| Tools | Duckie tools, app tools, custom tools, and MCP tools available to your organization |
| Agents | Agent configuration, instructions, linked tools, guidelines, guardrails, runbooks, workflows, categories, and attributes |
| Guidelines | Published guidelines and guideline section summaries |
| Guardrails | Escalation and restriction guardrails |
| Runbooks | Published, non-deleted runbooks |
Request Example
data plus a pagination object:
data:
Endpoint Summary
| Method | Path | Description |
|---|---|---|
GET | /api/v1/runs | List run summaries |
GET | /api/v1/runs/{run_id} | Retrieve one run with conversation, steps, and evaluation data |
GET | /api/v1/runs/tool-options | List historical tool names for run filtering |
GET | /api/v1/tools | List tools |
GET | /api/v1/tools/{tool_id} | Retrieve one tool |
GET | /api/v1/agents | List agents |
GET | /api/v1/agents/{agent_id} | Retrieve one agent |
GET | /api/v1/guidelines | List published guidelines |
GET | /api/v1/guidelines/{guideline_id} | Retrieve one guideline |
GET | /api/v1/guardrails | List guardrails |
GET | /api/v1/guardrails/{guardrail_id} | Retrieve one guardrail |
GET | /api/v1/runbooks | List published runbooks |
GET | /api/v1/runbooks/{runbook_id} | Retrieve one runbook |
Next Steps
Authentication
Create an API key and send it with each request.
Pagination and Filtering
Page through large exports and narrow run lists.
Rate Limits
Plan around per-key, per-organization, and endpoint limits.
Error Responses
Handle common API failures consistently.