UX Metrics API

Read data, create studies, and automate your UX research workflow. Full REST API with JSON and Markdown responses.

Interactive Docs Markdown Reference

Built for developers and AI agents

Read and write endpoints with JSON and Markdown responses. AI agents can read study reports and create studies programmatically.

🔒

Workspace-scoped API keys

Bearer token authentication scoped to a single workspace. Keys are encrypted at rest and revocable instantly.

📄

Dual-format responses

JSON by default. Send Accept: text/markdown to get structured Markdown instead. Perfect for LLMs.

📊

All 9 study types

Card sorts, tree tests, surveys, first click, five second, preference, prototype, live website, and interviews.

Full CRUD + lifecycle

Create, update, and delete studies. Publish drafts, end studies, duplicate, and manage participants via API.

Quick start

Authenticate with a Bearer token to read data and manage studies.

# List all published studies
curl https://app.uxmetrics.com/api/v1/studies?status=published \
  -H "Authorization: Bearer uxm_v1_your_key_here"

# Get a study report as Markdown (for AI agents)
curl https://app.uxmetrics.com/api/v1/studies/std_42/report.md \
  -H "Authorization: Bearer uxm_v1_your_key_here"

# Create a new card sort study
curl -X POST https://app.uxmetrics.com/api/v1/studies?type=card_sort \
  -H "Authorization: Bearer uxm_v1_your_key_here" \
  -H "Content-Type: application/json" \
  -d '{"study": {"name": "Navigation Card Sort", "sort_type": "open"}}'

# Publish the study
curl -X POST https://app.uxmetrics.com/api/v1/studies/std_42/publish \
  -H "Authorization: Bearer uxm_v1_your_key_here"

Read endpoints

MethodPathDescription
GET/api/v1/workspaceCurrent workspace details
GET/api/v1/foldersList folders
GET/api/v1/folders/:idFolder detail
GET/api/v1/studiesList studies (filter by type, status, folder)
GET/api/v1/studies/:idStudy detail with type-specific data
GET/api/v1/studies/:id/metricsMetrics only (lightweight)
GET/api/v1/studies/:id/report.mdFull study report as Markdown
GET/api/v1/studies/:id/participantsList participants
GET/api/v1/studies/:id/participants/:pidParticipant detail
GET/api/v1/studies/:id/participants/:pid/resultsIndividual results

Write endpoints subscription required

MethodPathDescription
POST/api/v1/foldersCreate a folder
PATCH/api/v1/folders/:idUpdate a folder
DELETE/api/v1/folders/:idDelete an empty folder
POST/api/v1/studies?type=card_sortCreate a study (specify type)
PATCH/api/v1/studies/:idUpdate study settings
DELETE/api/v1/studies/:idDelete a draft study
POST/api/v1/studies/:id/publishPublish a draft study
POST/api/v1/studies/:id/endEnd a published study
POST/api/v1/studies/:id/duplicateDuplicate a study
POST/api/v1/studies/:id/cardsAdd cards (card sort)
POST/api/v1/studies/:id/questionsAdd questions (survey)
POST/api/v1/studies/:id/participants/:pid/excludeExclude a participant
POST/api/v1/studies/:id/participants/:pid/includeRe-include a participant

Ready to integrate?

Create an API key in your workspace settings to get started.

Get Started Free View Full Docs