Public API

Ditto External API

Production-ready endpoints for recruiting research groups, creating studies, asking questions, completing workflows, and sharing results.

Quickstart Canonical 6-step implementation sequence with extraction and polling notes. Async Polling Status model and wait strategy for `GET /v1/jobs/{job_id}`. Common Mistakes Frequent integration mistakes and exact corrections. Workflow Diagram Branching map for study, direct question, curation, and media workflows. Postman Collection Runnable request collection for the primary flow and branch scenarios. What Changed Dated release notes labeled by breaking vs non-breaking impact.

Workflow Branching Overview

Use this branch map to choose the correct flow before making your first API call.

Diagram showing core 6-step study flow, direct agent question flow, direct group question flow, over-recruit and curate flow, and media upload attachment branch.
  1. Core study flow: recruit group -> create study -> ask question -> poll job -> complete study -> enable share link.
  2. Direct agent question: ask one recruitable agent directly without creating a study.
  3. Direct group question: ask an existing group directly without creating a study.
  4. Over-recruit and curate: recruit larger initial group, ask a screening question, remove mismatched agents, continue study questions.
  5. Media branch: upload assets once and reference `media_asset_id` from direct or study question endpoints.

Claude Code Guides

Workflow-first tutorials for AI agents and developers. Use these when you want complete end-to-end examples by use case, not just endpoint reference details.