# API: Research

| Method | Path | What it does | Scope |
|---|---|---|---|
| GET | `/v1/mkt/research/briefs` | Research briefs, newest first, with how many claims each has and how many are unverified | `marketing:read` |
| POST | `/v1/mkt/research/briefs` | Make a research brief from the stored competitor pages, recent changes and deal outcomes; every claim carries its sources | `marketing:write` |
| GET | `/v1/mkt/research/briefs/:id` | One research brief: its summary and claims, each with its sources or marked unverified | `marketing:read` |
| POST | `/v1/mkt/research/briefs/estimate` | What a research brief will cost in credits before it's made, and whether it fits under the monthly limit | `marketing:read` |
| GET | `/v1/mkt/research/changes` | What changed on competitors' tracked pages, newest first | `marketing:read` |
| GET | `/v1/mkt/research/competitors` | Competitors you watch, with their tracked pages, when each was last read, and how often AI answers name them | `marketing:read` |
| POST | `/v1/mkt/research/competitors` | Watch a competitor: its domain and up to 10 public pages (its home page when none are given) | `marketing:write` |
| PATCH | `/v1/mkt/research/competitors/:id` | Rename a competitor, change its notes, or archive it (its pages stop being read) | `marketing:write` |
| POST | `/v1/mkt/research/competitors/:id/pages` | Track another public page of a competitor (on its own domain) | `marketing:write` |
| POST | `/v1/mkt/research/competitors/:id/searchable` | Let the assistant search for this competitor: its name and site, on the web (a person's choice) | `marketing:write` |
| POST | `/v1/mkt/research/competitors/check` | Read the tracked pages now (up to 20, least recently read first, robots.txt respected) and file what changed | `marketing:write` |
| GET | `/v1/mkt/research/conversations` | What reviews, comments, mentions and messages say: themes, sentiment and ratings as counts only, groups under 5 left out | `marketing:read` |
| DELETE | `/v1/mkt/research/pages/:id` | Stop tracking a page (its stored snapshots go with it) | `marketing:write` |
| GET | `/v1/mkt/research/personas` | Persona panel from your own audience: countries, languages and profile attributes, groups under 5 people left out | `marketing:read` |
| GET | `/v1/mkt/research/personas/audiences` | Persona audiences from your own customer groups (each at least 5 people) for synthetic panels; groups only, never a person | `marketing:read` |
| GET | `/v1/mkt/research/respond/:token` | An older survey link: sends the person to the survey form (no sign-in) | — |
| POST | `/v1/mkt/research/respond/:token` | File the answers from a survey form, once per link, without a link back to who gave them (no sign-in) | — |
| GET | `/v1/mkt/research/settings` | Research settings: whether synthetic answers may be made (off until an owner turns them on) | `marketing:read` |
| PUT | `/v1/mkt/research/settings` | Turn synthetic answers on or off for your organization (owners) (web app only) | `settings:write` |
| GET | `/v1/mkt/research/simulations` | Recent simulations (labelled synthetic) | `marketing:read` |
| POST | `/v1/mkt/research/simulations` | Simulate how your audience groups would respond to a message (labelled synthetic; compared with your posts' real median engagement). Give the credits the estimate showed; a run never costs more | `marketing:write` |
| GET | `/v1/mkt/research/simulations/:id` | One simulation (labelled synthetic) | `marketing:read` |
| POST | `/v1/mkt/research/simulations/estimate` | What a simulation of a message's response would cost (one credit an audience group), and whether it can run | `marketing:read` |
| GET | `/v1/mkt/research/surveys` | Surveys, newest first, with how many answers each has | `marketing:read` |
| POST | `/v1/mkt/research/surveys` | Design a survey: up to 30 questions (single or multiple choice, a 1–5 or 0–10 scale, free text). Answers arrive by file import | `marketing:write` |
| GET | `/v1/mkt/research/surveys/:id` | One survey: its questions, answer count and the files imported for it | `marketing:read` |
| PATCH | `/v1/mkt/research/surveys/:id` | Rename a survey, close it, or change its questions (only until answers are imported) | `marketing:write` |
| POST | `/v1/mkt/research/surveys/:id/import` | Import a CSV of answers (up to 5,000 rows): columns named by question id or exact text; identifier columns are dropped unread | `marketing:write` |
| GET | `/v1/mkt/research/surveys/:id/results` | A survey's results per question: counts, distributions, means and free-text themes; groups under 5 answers aren't broken out | `marketing:read` |
| GET | `/v1/mkt/research/surveys/:id/sends` | A survey's sends: how many were asked, queued and refused, and how many answered (never who) | `marketing:read` |
| POST | `/v1/mkt/research/surveys/:id/sends` | Send a survey to your consented people through your sending channel with an approved marketing template that has {{vars.survey_link}} (a person in the web app, with the count they saw and confirm: true; 20 to 100 people a send) (web app only) | `messages:send` |
| POST | `/v1/mkt/research/surveys/:id/sends/estimate` | How many of your people a survey send would ask (only those with a yes to marketing on the channel, each once per survey), and the limits | `marketing:read` |
| GET | `/v1/mkt/research/surveys/:id/synthesis` | A survey's latest synthesis, each claim with its question and response count or marked unverified | `marketing:read` |
| POST | `/v1/mkt/research/surveys/:id/synthesis` | Summarize a survey's answers; every claim cites the question and the number of responses it rests on | `marketing:write` |
| POST | `/v1/mkt/research/surveys/:id/synthesis/estimate` | What a survey synthesis will cost in credits before it's made, and whether it fits under the monthly limit | `marketing:read` |
| GET | `/v1/mkt/research/surveys/:id/synthetic-panels` | A survey's synthetic panels with their latest validation (labelled synthetic) | `marketing:read` |
| POST | `/v1/mkt/research/surveys/:id/synthetic-panels` | Make synthetic answers to a survey's choice and scale questions (labelled synthetic; validated against your real answers) | `marketing:write` |
| POST | `/v1/mkt/research/surveys/:id/synthetic-panels/estimate` | What synthetic answers to a survey would cost, and whether they can be made (owners turn them on; the model must be on) | `marketing:read` |
| GET | `/v1/mkt/research/surveys/:id/tracking` | A survey's answers week by week (brand tracking): shares and means per wave; a week with fewer than 5 answers is read with the next, and answers fewer than 5 people gave are left out | `marketing:read` |
| POST | `/v1/mkt/research/surveys/templates` | Make a concept, message, price or brand-tracking survey (its questions from the concepts, messages, price points or other brands you give). Real answers arrive from sending it or by file import; a synthetic panel is compared with them | `marketing:write` |
| GET | `/v1/mkt/research/synthetic-panels/:id` | One synthetic panel with its latest validation; results only for questions validated against at least 30 real answers | `marketing:read` |
| POST | `/v1/mkt/research/synthetic-panels/:id/validate` | Compare a synthetic panel with the real answers to the same survey again: the error per question and an agreement score | `marketing:write` |
| GET | `/v1/mkt/research/trends` | Rising and falling search queries, search and site metrics, and social topics over two windows, each with its source | `marketing:read` |

## Examples

### GET /v1/mkt/research/briefs

Research briefs, newest first, with how many claims each has and how many are unverified

```bash
curl -s "https://api.scheeleworks.com/v1/mkt/research/briefs" \
  -H "Authorization: Bearer $MA_API_KEY"
```

```js
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/research/briefs`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}` },
});
const data = await res.json();
```

### POST /v1/mkt/research/briefs

Make a research brief from the stored competitor pages, recent changes and deal outcomes; every claim carries its sources

```bash
curl -s -X POST "https://api.scheeleworks.com/v1/mkt/research/briefs" \
  -H "Authorization: Bearer $MA_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
```

```js
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/research/briefs`, {
  method: "POST",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();
```

### GET /v1/mkt/research/briefs/$ID

One research brief: its summary and claims, each with its sources or marked unverified

```bash
curl -s "https://api.scheeleworks.com/v1/mkt/research/briefs/$ID" \
  -H "Authorization: Bearer $MA_API_KEY"
```

```js
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/research/briefs/${id}`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}` },
});
const data = await res.json();
```

### POST /v1/mkt/research/briefs/estimate

What a research brief will cost in credits before it's made, and whether it fits under the monthly limit

```bash
curl -s -X POST "https://api.scheeleworks.com/v1/mkt/research/briefs/estimate" \
  -H "Authorization: Bearer $MA_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
```

```js
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/research/briefs/estimate`, {
  method: "POST",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();
```

### GET /v1/mkt/research/changes

What changed on competitors' tracked pages, newest first

```bash
curl -s "https://api.scheeleworks.com/v1/mkt/research/changes" \
  -H "Authorization: Bearer $MA_API_KEY"
```

```js
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/research/changes`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}` },
});
const data = await res.json();
```

### GET /v1/mkt/research/competitors

Competitors you watch, with their tracked pages, when each was last read, and how often AI answers name them

```bash
curl -s "https://api.scheeleworks.com/v1/mkt/research/competitors" \
  -H "Authorization: Bearer $MA_API_KEY"
```

```js
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/research/competitors`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}` },
});
const data = await res.json();
```

### POST /v1/mkt/research/competitors

Watch a competitor: its domain and up to 10 public pages (its home page when none are given)

```bash
curl -s -X POST "https://api.scheeleworks.com/v1/mkt/research/competitors" \
  -H "Authorization: Bearer $MA_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
```

```js
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/research/competitors`, {
  method: "POST",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();
```

### PATCH /v1/mkt/research/competitors/$ID

Rename a competitor, change its notes, or archive it (its pages stop being read)

```bash
curl -s -X PATCH "https://api.scheeleworks.com/v1/mkt/research/competitors/$ID" \
  -H "Authorization: Bearer $MA_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
```

```js
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/research/competitors/${id}`, {
  method: "PATCH",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();
```

### POST /v1/mkt/research/competitors/$ID/pages

Track another public page of a competitor (on its own domain)

```bash
curl -s -X POST "https://api.scheeleworks.com/v1/mkt/research/competitors/$ID/pages" \
  -H "Authorization: Bearer $MA_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
```

```js
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/research/competitors/${id}/pages`, {
  method: "POST",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();
```

### POST /v1/mkt/research/competitors/$ID/searchable

Let the assistant search for this competitor: its name and site, on the web (a person's choice)

```bash
curl -s -X POST "https://api.scheeleworks.com/v1/mkt/research/competitors/$ID/searchable" \
  -H "Authorization: Bearer $MA_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
```

```js
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/research/competitors/${id}/searchable`, {
  method: "POST",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();
```

### POST /v1/mkt/research/competitors/check

Read the tracked pages now (up to 20, least recently read first, robots.txt respected) and file what changed

```bash
curl -s -X POST "https://api.scheeleworks.com/v1/mkt/research/competitors/check" \
  -H "Authorization: Bearer $MA_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
```

```js
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/research/competitors/check`, {
  method: "POST",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();
```

### GET /v1/mkt/research/conversations

What reviews, comments, mentions and messages say: themes, sentiment and ratings as counts only, groups under 5 left out

```bash
curl -s "https://api.scheeleworks.com/v1/mkt/research/conversations" \
  -H "Authorization: Bearer $MA_API_KEY"
```

```js
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/research/conversations`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}` },
});
const data = await res.json();
```

### DELETE /v1/mkt/research/pages/$ID

Stop tracking a page (its stored snapshots go with it)

```bash
curl -s -X DELETE "https://api.scheeleworks.com/v1/mkt/research/pages/$ID" \
  -H "Authorization: Bearer $MA_API_KEY"
```

```js
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/research/pages/${id}`, {
  method: "DELETE",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}` },
});
const data = await res.json();
```

### GET /v1/mkt/research/personas

Persona panel from your own audience: countries, languages and profile attributes, groups under 5 people left out

```bash
curl -s "https://api.scheeleworks.com/v1/mkt/research/personas" \
  -H "Authorization: Bearer $MA_API_KEY"
```

```js
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/research/personas`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}` },
});
const data = await res.json();
```

### GET /v1/mkt/research/personas/audiences

Persona audiences from your own customer groups (each at least 5 people) for synthetic panels; groups only, never a person

```bash
curl -s "https://api.scheeleworks.com/v1/mkt/research/personas/audiences" \
  -H "Authorization: Bearer $MA_API_KEY"
```

```js
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/research/personas/audiences`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}` },
});
const data = await res.json();
```

### GET /v1/mkt/research/respond/$TOKEN

An older survey link: sends the person to the survey form. No sign-in, so it sends no key.

```bash
curl -s "https://api.scheeleworks.com/v1/mkt/research/respond/$TOKEN"
```

```js
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/research/respond/${token}`, {
  method: "GET",
});
const data = await res.json();
```

### POST /v1/mkt/research/respond/$TOKEN

File the answers from a survey form, once per link, without a link back to who gave them. No sign-in, so it sends no key.

```bash
curl -s -X POST "https://api.scheeleworks.com/v1/mkt/research/respond/$TOKEN" \
  -H "content-type: application/json" \
  -d '{}'
```

```js
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/research/respond/${token}`, {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();
```

### GET /v1/mkt/research/settings

Research settings: whether synthetic answers may be made (off until an owner turns them on)

```bash
curl -s "https://api.scheeleworks.com/v1/mkt/research/settings" \
  -H "Authorization: Bearer $MA_API_KEY"
```

```js
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/research/settings`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}` },
});
const data = await res.json();
```

### GET /v1/mkt/research/simulations

Recent simulations (labelled synthetic)

```bash
curl -s "https://api.scheeleworks.com/v1/mkt/research/simulations" \
  -H "Authorization: Bearer $MA_API_KEY"
```

```js
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/research/simulations`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}` },
});
const data = await res.json();
```

### POST /v1/mkt/research/simulations

Simulate how your audience groups would respond to a message (labelled synthetic; compared with your posts' real median engagement). Give the credits the estimate showed; a run never costs more

```bash
curl -s -X POST "https://api.scheeleworks.com/v1/mkt/research/simulations" \
  -H "Authorization: Bearer $MA_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
```

```js
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/research/simulations`, {
  method: "POST",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();
```

### GET /v1/mkt/research/simulations/$ID

One simulation (labelled synthetic)

```bash
curl -s "https://api.scheeleworks.com/v1/mkt/research/simulations/$ID" \
  -H "Authorization: Bearer $MA_API_KEY"
```

```js
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/research/simulations/${id}`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}` },
});
const data = await res.json();
```

### POST /v1/mkt/research/simulations/estimate

What a simulation of a message's response would cost (one credit an audience group), and whether it can run

```bash
curl -s -X POST "https://api.scheeleworks.com/v1/mkt/research/simulations/estimate" \
  -H "Authorization: Bearer $MA_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
```

```js
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/research/simulations/estimate`, {
  method: "POST",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();
```

### GET /v1/mkt/research/surveys

Surveys, newest first, with how many answers each has

```bash
curl -s "https://api.scheeleworks.com/v1/mkt/research/surveys" \
  -H "Authorization: Bearer $MA_API_KEY"
```

```js
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/research/surveys`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}` },
});
const data = await res.json();
```

### POST /v1/mkt/research/surveys

Design a survey: up to 30 questions (single or multiple choice, a 1–5 or 0–10 scale, free text). Answers arrive by file import

```bash
curl -s -X POST "https://api.scheeleworks.com/v1/mkt/research/surveys" \
  -H "Authorization: Bearer $MA_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
```

```js
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/research/surveys`, {
  method: "POST",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();
```

### GET /v1/mkt/research/surveys/$ID

One survey: its questions, answer count and the files imported for it

```bash
curl -s "https://api.scheeleworks.com/v1/mkt/research/surveys/$ID" \
  -H "Authorization: Bearer $MA_API_KEY"
```

```js
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/research/surveys/${id}`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}` },
});
const data = await res.json();
```

### PATCH /v1/mkt/research/surveys/$ID

Rename a survey, close it, or change its questions (only until answers are imported)

```bash
curl -s -X PATCH "https://api.scheeleworks.com/v1/mkt/research/surveys/$ID" \
  -H "Authorization: Bearer $MA_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
```

```js
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/research/surveys/${id}`, {
  method: "PATCH",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();
```

### POST /v1/mkt/research/surveys/$ID/import

Import a CSV of answers (up to 5,000 rows): columns named by question id or exact text; identifier columns are dropped unread

```bash
curl -s -X POST "https://api.scheeleworks.com/v1/mkt/research/surveys/$ID/import" \
  -H "Authorization: Bearer $MA_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
```

```js
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/research/surveys/${id}/import`, {
  method: "POST",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();
```

### GET /v1/mkt/research/surveys/$ID/results

A survey's results per question: counts, distributions, means and free-text themes; groups under 5 answers aren't broken out

```bash
curl -s "https://api.scheeleworks.com/v1/mkt/research/surveys/$ID/results" \
  -H "Authorization: Bearer $MA_API_KEY"
```

```js
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/research/surveys/${id}/results`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}` },
});
const data = await res.json();
```

### GET /v1/mkt/research/surveys/$ID/sends

A survey's sends: how many were asked, queued and refused, and how many answered (never who)

```bash
curl -s "https://api.scheeleworks.com/v1/mkt/research/surveys/$ID/sends" \
  -H "Authorization: Bearer $MA_API_KEY"
```

```js
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/research/surveys/${id}/sends`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}` },
});
const data = await res.json();
```

### POST /v1/mkt/research/surveys/$ID/sends/estimate

How many of your people a survey send would ask (only those with a yes to marketing on the channel, each once per survey), and the limits

```bash
curl -s -X POST "https://api.scheeleworks.com/v1/mkt/research/surveys/$ID/sends/estimate" \
  -H "Authorization: Bearer $MA_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
```

```js
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/research/surveys/${id}/sends/estimate`, {
  method: "POST",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();
```

### GET /v1/mkt/research/surveys/$ID/synthesis

A survey's latest synthesis, each claim with its question and response count or marked unverified

```bash
curl -s "https://api.scheeleworks.com/v1/mkt/research/surveys/$ID/synthesis" \
  -H "Authorization: Bearer $MA_API_KEY"
```

```js
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/research/surveys/${id}/synthesis`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}` },
});
const data = await res.json();
```

### POST /v1/mkt/research/surveys/$ID/synthesis

Summarize a survey's answers; every claim cites the question and the number of responses it rests on

```bash
curl -s -X POST "https://api.scheeleworks.com/v1/mkt/research/surveys/$ID/synthesis" \
  -H "Authorization: Bearer $MA_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
```

```js
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/research/surveys/${id}/synthesis`, {
  method: "POST",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();
```

### POST /v1/mkt/research/surveys/$ID/synthesis/estimate

What a survey synthesis will cost in credits before it's made, and whether it fits under the monthly limit

```bash
curl -s -X POST "https://api.scheeleworks.com/v1/mkt/research/surveys/$ID/synthesis/estimate" \
  -H "Authorization: Bearer $MA_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
```

```js
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/research/surveys/${id}/synthesis/estimate`, {
  method: "POST",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();
```

### GET /v1/mkt/research/surveys/$ID/synthetic-panels

A survey's synthetic panels with their latest validation (labelled synthetic)

```bash
curl -s "https://api.scheeleworks.com/v1/mkt/research/surveys/$ID/synthetic-panels" \
  -H "Authorization: Bearer $MA_API_KEY"
```

```js
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/research/surveys/${id}/synthetic-panels`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}` },
});
const data = await res.json();
```

### POST /v1/mkt/research/surveys/$ID/synthetic-panels

Make synthetic answers to a survey's choice and scale questions (labelled synthetic; validated against your real answers)

```bash
curl -s -X POST "https://api.scheeleworks.com/v1/mkt/research/surveys/$ID/synthetic-panels" \
  -H "Authorization: Bearer $MA_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
```

```js
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/research/surveys/${id}/synthetic-panels`, {
  method: "POST",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();
```

### POST /v1/mkt/research/surveys/$ID/synthetic-panels/estimate

What synthetic answers to a survey would cost, and whether they can be made (owners turn them on; the model must be on)

```bash
curl -s -X POST "https://api.scheeleworks.com/v1/mkt/research/surveys/$ID/synthetic-panels/estimate" \
  -H "Authorization: Bearer $MA_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
```

```js
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/research/surveys/${id}/synthetic-panels/estimate`, {
  method: "POST",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();
```

### GET /v1/mkt/research/surveys/$ID/tracking

A survey's answers week by week (brand tracking): shares and means per wave; a week with fewer than 5 answers is read with the next, and answers fewer than 5 people gave are left out

```bash
curl -s "https://api.scheeleworks.com/v1/mkt/research/surveys/$ID/tracking" \
  -H "Authorization: Bearer $MA_API_KEY"
```

```js
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/research/surveys/${id}/tracking`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}` },
});
const data = await res.json();
```

### POST /v1/mkt/research/surveys/templates

Make a concept, message, price or brand-tracking survey (its questions from the concepts, messages, price points or other brands you give). Real answers arrive from sending it or by file import; a synthetic panel is compared with them

```bash
curl -s -X POST "https://api.scheeleworks.com/v1/mkt/research/surveys/templates" \
  -H "Authorization: Bearer $MA_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
```

```js
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/research/surveys/templates`, {
  method: "POST",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();
```

### GET /v1/mkt/research/synthetic-panels/$ID

One synthetic panel with its latest validation; results only for questions validated against at least 30 real answers

```bash
curl -s "https://api.scheeleworks.com/v1/mkt/research/synthetic-panels/$ID" \
  -H "Authorization: Bearer $MA_API_KEY"
```

```js
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/research/synthetic-panels/${id}`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}` },
});
const data = await res.json();
```

### POST /v1/mkt/research/synthetic-panels/$ID/validate

Compare a synthetic panel with the real answers to the same survey again: the error per question and an agreement score

```bash
curl -s -X POST "https://api.scheeleworks.com/v1/mkt/research/synthetic-panels/$ID/validate" \
  -H "Authorization: Bearer $MA_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
```

```js
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/research/synthetic-panels/${id}/validate`, {
  method: "POST",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();
```

### GET /v1/mkt/research/trends

Rising and falling search queries, search and site metrics, and social topics over two windows, each with its source

```bash
curl -s "https://api.scheeleworks.com/v1/mkt/research/trends" \
  -H "Authorization: Bearer $MA_API_KEY"
```

```js
const res = await fetch(`https://api.scheeleworks.com/v1/mkt/research/trends`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}` },
});
const data = await res.json();
```

Request and response schemas: [https://www.scheeleworks.com/openapi.json](https://www.scheeleworks.com/openapi.json). All resources: [API reference](https://www.scheeleworks.com/docs/api).
