# HumanTaste documentation

HumanTaste lets an AI agent ask a real, identity-verified person for a judgment. There are two kinds of task:

- **rate**: send one piece of work. A human scores it from 1 to 5 and writes feedback. Costs $0.05.
- **compare**: send two pieces of work. A human says which one they prefer, and why. Costs $0.10.

Work can be text, an image, a video, an audio clip or a web page. No model is involved in the answer.

Base URL: `https://humantaste.com`

## When to use it

Use HumanTaste when the right answer depends on human perception and you cannot verify it yourself:

- choosing between two logos, thumbnails, layouts, headlines, taglines or names
- checking whether an image, video or voice-over looks or sounds right to a person
- checking that a text is clear, natural, funny or convincing
- a final human check before delivering work to your user

Do not use it for facts you can look up, for urgent decisions (humans take minutes to hours), or for confidential material.

## Quick start

### 1. Get an API key

No dashboard needed. One request creates the account and returns the key, with $0.50 of free credit.

```bash
curl -X POST https://humantaste.com/v1/signup \
  -H "Content-Type: application/json" \
  -d '{"email": "owner@example.com"}'
```

```json
{ "api_key": "ht_3f9c...", "balance_cents": 50 }
```

Use the email of the person who owns the agent. Store the key as `HUMANTASTE_API_KEY`. It is shown once.

### 2. Send a task

```bash
curl -X POST https://humantaste.com/v1/tasks \
  -H "Authorization: Bearer $HUMANTASTE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "type": "compare",
    "question": "Which headline makes you want to read the article?",
    "context": "Blog post for first-time home buyers.",
    "items": [
      {"type": "text", "text": "7 mistakes first-time buyers make"},
      {"type": "text", "text": "What I wish I knew before buying my first home"}
    ]
  }'
```

The response is the task, with `"status": "pending"` and an `id`.

### 3. Read the answer

```bash
curl "https://humantaste.com/v1/tasks/task_123?wait=50" \
  -H "Authorization: Bearer $HUMANTASTE_API_KEY"
```

`wait` holds the request open for up to 55 seconds and returns as soon as the human answers. If the status is still `pending` or `in_review`, do other work and ask again later.

```json
{
  "id": "task_123",
  "type": "compare",
  "status": "completed",
  "result": {
    "choice": "B",
    "winner_index": 1,
    "comment": "B sounds like a person talking. A reads like every other listicle.",
    "answered_by": "verified_human"
  }
}
```

## Response times

Answers come from people, so they are not instant. During the beta, expect minutes to a few hours, longer overnight in Europe. Design your agent to continue with other work and poll. A task that nobody answers within 24 hours expires and is refunded in full.

## MCP server

HumanTaste is a remote MCP server (Streamable HTTP) at:

```
https://humantaste.com/mcp
```

Authenticate with the header `Authorization: Bearer <api key>`. Clients that only accept a URL can use `https://humantaste.com/mcp?api_key=<api key>` instead.

Claude Code:

```bash
claude mcp add --transport http humantaste https://humantaste.com/mcp \
  --header "Authorization: Bearer $HUMANTASTE_API_KEY"
```

Any client that reads an `mcpServers` config (Cursor, Windsurf, Claude Desktop, VS Code and others):

```json
{
  "mcpServers": {
    "humantaste": {
      "type": "http",
      "url": "https://humantaste.com/mcp",
      "headers": { "Authorization": "Bearer ht_your_key" }
    }
  }
}
```

Tools:

| Tool | What it does | Cost |
| --- | --- | --- |
| `compare_with_human` | Shows options `a` and `b` to a human, returns `A`, `B` or `tie` with a reason | $0.10 |
| `rate_with_human` | Shows one `item` to a human, returns a 1-5 score with feedback | $0.05 |
| `get_human_feedback` | Returns the status and result of a task by `task_id` | free |
| `get_account` | Returns the credit balance and prices | free |

The two task tools wait up to `wait_seconds` (default 30, max 55). If the human has not answered, they return `"status": "pending"` and a `task_id` to pass to `get_human_feedback` later.

## Agent Skill

For agents that support Agent Skills (Claude Code, Claude apps, and compatible agents), install the skill file:

```bash
mkdir -p ~/.claude/skills/humantaste
curl -o ~/.claude/skills/humantaste/SKILL.md https://humantaste.com/skill/SKILL.md
```

The skill teaches the agent when to ask a human and how to call the REST API with `curl`. It reads the key from `HUMANTASTE_API_KEY`.

## REST API reference

All requests and responses are JSON. Authenticate with `Authorization: Bearer <api key>`. A machine-readable description is at `https://humantaste.com/openapi.json`.

### POST /v1/signup

Body: `{"email": "owner@example.com"}`. Returns `{"api_key", "account_id", "balance_cents"}` with status 201. If the email already has an account, a new key is emailed to the owner and the response is 202 without a key.

### GET /v1/account

Returns the balance and current prices.

### POST /v1/tasks

| Field | Type | Notes |
| --- | --- | --- |
| `type` | string | `"rate"` or `"compare"`. Required. |
| `question` | string | What the human should judge. Up to 500 characters. Required. |
| `items` | array | Exactly 1 item for `rate`, exactly 2 for `compare`. Required. |
| `context` | string | Background for the human: audience, goal. Up to 2000 characters. |
| `metadata` | object | Returned unchanged with the task. Not shown to the human. |

Each item is an object:

| Field | Notes |
| --- | --- |
| `type` | `"text"`, `"image"`, `"video"`, `"audio"` or `"link"` (a web page). |
| `text` | The content, for `text` items. Up to 20,000 characters. |
| `url` | Public `https://` URL, for media and links. The reviewer's browser must be able to load it without logging in. |
| `data_base64`, `mime_type` | Inline file contents, as an alternative to `url`. |
| `label` | Optional caption shown to the human. |

Send an `Idempotency-Key` header to make retries safe: the same key returns the same task and is charged once.

Returns the task with status 201. Returns 402 `insufficient_credits` when the balance is too low.

### GET /v1/tasks/{id}

Returns the task. Add `?wait=<seconds>` (max 55) to long-poll.

Task `status` is one of: `pending` (in the queue), `in_review` (a human is looking at it), `completed`, `expired` (refunded), `canceled` (refunded).

`result` for a **compare** task:

| Field | Notes |
| --- | --- |
| `choice` | `"A"` (first item), `"B"` (second item) or `"tie"`. |
| `winner_index` | `0`, `1`, or `null` for a tie. |
| `comment` | The human's reason, in their words. May be empty. |

The human sees the two items in random left/right order, so position does not bias the answer.

`result` for a **rate** task:

| Field | Notes |
| --- | --- |
| `score` | Integer from 1 (poor) to 5 (excellent). |
| `max_score` | Always 5. |
| `comment` | The human's feedback. May be empty. |

### GET /v1/tasks

Lists your most recent tasks. `?limit=` up to 100.

### DELETE /v1/tasks/{id}

Cancels a `pending` task and refunds it.

### POST /v1/uploads

Uploads a file and returns a URL you can use in an item. Send the raw bytes as the body with the right `Content-Type`. Limit: 25 MB. Supported: PNG, JPEG, GIF, WebP, AVIF, MP4, WebM, MOV, MP3, WAV, OGG, M4A, FLAC, AAC, plain text.

```bash
curl -X POST https://humantaste.com/v1/uploads \
  -H "Authorization: Bearer $HUMANTASTE_API_KEY" \
  -H "Content-Type: image/png" \
  --data-binary @draft.png
```

```json
{ "url": "https://humantaste.com/u/9b2e...", "mime_type": "image/png", "bytes": 48213 }
```

### POST /v1/credits/checkout

Body: `{"amount_cents": 1000}` (minimum $5.00). Returns `{"checkout_url"}`. Give this link to the account owner; credits are added when they pay by card.

### Errors

Errors use standard HTTP status codes and this body:

```json
{ "error": { "code": "insufficient_credits", "message": "This task costs $0.10 and the balance is $0.05. Add credits with POST /v1/credits/checkout." } }
```

| Status | Code | Meaning |
| --- | --- | --- |
| 400 | `invalid_request`, `invalid_item` | The message says which field to fix. |
| 401 | `unauthorized` | Missing or wrong API key. |
| 402 | `insufficient_credits` | Add credits, then retry. |
| 404 | `task_not_found` | No such task on this account. |
| 429 | `rate_limited` | Slow down and retry later. |

## Pricing

| Task | Price |
| --- | --- |
| rate | $0.05 |
| compare | $0.10 |

Credits are prepaid in US dollars. New accounts start with $0.50. Checking a task, listing tasks and uploads are free. Expired and canceled tasks are refunded automatically.

## Writing a good question

- Ask one thing. "Which thumbnail would you click?" works better than "Which is better overall?"
- Say who it is for in `context`: "Landing page for a children's dentist."
- For a comparison, change only what you want judged. If the two images also differ in size and crop, the human may react to that.
- Do not send secrets, personal data or anything you would not show a stranger. A human reads every task.

## Who answers

Reviewers confirm their email and pass an identity check before they see any task. During the beta, tasks are answered by the HumanTaste team. Each task is answered by one person, so treat a result as one informed opinion. For a broader signal, send the same task several times.

## Contact

hello@humantaste.com
