Skip to main content

Read a study's method results

GET/studies/{id}/methods

Every research method applied to a study, read in code from the answers: for each, its typed result (for example the Van Westendorp price points, the Gabor-Granger demand, revenue and peak, MaxDiff scores, Kano categories, the Net Promoter Score), the figures a report draws (bars, curves with their crossing points, a banded stack, a grid) each with its base and the base-size rule applied, the sentences written in code, and the cautions. By default as last written with the results; now: true reads the interviews that count at this moment instead, which calls no model either. People and test-script interviews are never mixed; twins are never in it. (The MCP tool get_method_results.)

Scope results:read · Credential a workspace API key (jean_sk_…, make one in the Jean app) or an OAuth access token. See scopes.

curl --fail-with-body "https://app.jeantechnologies.com/api/v1/studies/STUDY_ID/methods" \
-H "Authorization: Bearer $JEAN_API_KEY"

Path​

NameTypeRequiredNotes
idstring (UUID)yes

Query​

NameTypeRequiredNotes
now"true", "false"no

Response · 200​

FieldTypeRequiredNotes
basis"people", "test-scripts", "none"yes
nintegeryes
methods[]object[]yes
methods[].methodIdstringyes
methods[].groupstringyes
methods[].namestringyes
methods[].titlestringyes
methods[].nintegeryes
methods[].answeredintegeryes
methods[].baseobjectyes
methods[].lines[]string[]yes
methods[].figures[]object[]yes
methods[].cautions[]string[]yes
methods[].dataobjectyes
The full response schema
{
"type": "object",
"properties": {
"basis": {
"type": "string",
"enum": [
"people",
"test-scripts",
"none"
]
},
"n": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"methods": {
"type": "array",
"items": {
"type": "object",
"properties": {
"methodId": {
"type": "string"
},
"group": {
"type": "string"
},
"name": {
"type": "string"
},
"title": {
"type": "string"
},
"n": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"answered": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"base": {
"type": "object",
"properties": {
"n": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"kind": {
"type": "string",
"enum": [
"quotes",
"counts",
"small",
"full"
]
},
"label": {
"type": "string"
},
"chart": {
"type": "boolean"
},
"percent": {
"type": "boolean"
},
"interval": {
"type": "boolean"
}
},
"required": [
"n",
"kind",
"label",
"chart",
"percent",
"interval"
],
"additionalProperties": false
},
"lines": {
"type": "array",
"items": {
"type": "string"
}
},
"figures": {
"type": "array",
"items": {
"oneOf": [
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "bars"
},
"id": {
"type": "string"
},
"methodId": {
"type": "string"
},
"group": {
"type": "string"
},
"title": {
"type": "string"
},
"base": {
"type": "object",
"properties": {
"n": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"kind": {
"type": "string",
"enum": [
"quotes",
"counts",
"small",
"full"
]
},
"label": {
"type": "string"
},
"chart": {
"type": "boolean"
},
"percent": {
"type": "boolean"
},
"interval": {
"type": "boolean"
}
},
"required": [
"n",
"kind",
"label",
"chart",
"percent",
"interval"
],
"additionalProperties": false
},
"caution": {
"type": "string"
},
"note": {
"type": "string"
},
"unit": {
"type": "string",
"enum": [
"count",
"percent",
"score"
]
},
"domain": {
"type": "array",
"prefixItems": [
{
"type": "number"
},
{
"type": "number"
}
],
"items": false,
"minItems": 2,
"maxItems": 2
},
"diverging": {
"type": "boolean"
},
"bars": {
"type": "array",
"items": {
"type": "object",
"properties": {
"label": {
"type": "string"
},
"value": {
"type": "number"
},
"count": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"of": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"interval": {
"type": "array",
"prefixItems": [
{
"type": "number"
},
{
"type": "number"
}
],
"items": false,
"minItems": 2,
"maxItems": 2
},
"lead": {
"type": "boolean"
},
"detail": {
"type": "string"
},
"group": {
"type": "string"
}
},
"required": [
"label",
"value",
"lead",
"detail",
"group"
],
"additionalProperties": false
}
}
},
"required": [
"kind",
"id",
"methodId",
"group",
"title",
"base",
"caution",
"note",
"unit",
"domain",
"diverging",
"bars"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "lines"
},
"id": {
"type": "string"
},
"methodId": {
"type": "string"
},
"group": {
"type": "string"
},
"title": {
"type": "string"
},
"base": {
"type": "object",
"properties": {
"n": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"kind": {
"type": "string",
"enum": [
"quotes",
"counts",
"small",
"full"
]
},
"label": {
"type": "string"
},
"chart": {
"type": "boolean"
},
"percent": {
"type": "boolean"
},
"interval": {
"type": "boolean"
}
},
"required": [
"n",
"kind",
"label",
"chart",
"percent",
"interval"
],
"additionalProperties": false
},
"caution": {
"type": "string"
},
"note": {
"type": "string"
},
"x": {
"type": "object",
"properties": {
"label": {
"type": "string"
},
"unit": {
"type": "string"
},
"prefix": {
"type": "string"
}
},
"required": [
"label",
"unit",
"prefix"
],
"additionalProperties": false
},
"y": {
"type": "object",
"properties": {
"label": {
"type": "string"
},
"unit": {
"type": "string",
"enum": [
"percent",
"count",
"money",
"index"
]
},
"domain": {
"type": "array",
"prefixItems": [
{
"type": "number"
},
{
"type": "number"
}
],
"items": false,
"minItems": 2,
"maxItems": 2
}
},
"required": [
"label",
"unit",
"domain"
],
"additionalProperties": false
},
"series": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"label": {
"type": "string"
},
"style": {
"type": "string",
"enum": [
"solid",
"dashed",
"dotted"
]
},
"points": {
"type": "array",
"items": {
"type": "object",
"properties": {
"x": {
"type": "number"
},
"y": {
"type": "number"
}
},
"required": [
"x",
"y"
],
"additionalProperties": false
}
}
},
"required": [
"id",
"label",
"style",
"points"
],
"additionalProperties": false
}
},
"markers": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"label": {
"type": "string"
},
"x": {
"type": "number"
},
"y": {
"type": [
"number",
"null"
]
},
"kind": {
"type": "string",
"enum": [
"point",
"vline"
]
}
},
"required": [
"id",
"label",
"x",
"y",
"kind"
],
"additionalProperties": false
}
},
"range": {
"anyOf": [
{
"type": "object",
"properties": {
"from": {
"type": "number"
},
"to": {
"type": "number"
},
"label": {
"type": "string"
}
},
"required": [
"from",
"to",
"label"
],
"additionalProperties": false
},
{
"type": "null"
}
]
}
},
"required": [
"kind",
"id",
"methodId",
"group",
"title",
"base",
"caution",
"note",
"x",
"y",
"series",
"markers",
"range"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "stack"
},
"id": {
"type": "string"
},
"methodId": {
"type": "string"
},
"group": {
"type": "string"
},
"title": {
"type": "string"
},
"base": {
"type": "object",
"properties": {
"n": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"kind": {
"type": "string",
"enum": [
"quotes",
"counts",
"small",
"full"
]
},
"label": {
"type": "string"
},
"chart": {
"type": "boolean"
},
"percent": {
"type": "boolean"
},
"interval": {
"type": "boolean"
}
},
"required": [
"n",
"kind",
"label",
"chart",
"percent",
"interval"
],
"additionalProperties": false
},
"caution": {
"type": "string"
},
"note": {
"type": "string"
},
"segments": {
"type": "array",
"items": {
"type": "object",
"properties": {
"label": {
"type": "string"
},
"count": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"of": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"percent": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"tone": {
"type": "string",
"enum": [
"low",
"mid",
"high"
]
}
},
"required": [
"label",
"count",
"of",
"tone"
],
"additionalProperties": false
}
},
"score": {
"anyOf": [
{
"type": "object",
"properties": {
"label": {
"type": "string"
},
"value": {
"type": "number"
},
"interval": {
"type": "array",
"prefixItems": [
{
"type": "number"
},
{
"type": "number"
}
],
"items": false,
"minItems": 2,
"maxItems": 2
}
},
"required": [
"label",
"value"
],
"additionalProperties": false
},
{
"type": "null"
}
]
}
},
"required": [
"kind",
"id",
"methodId",
"group",
"title",
"base",
"caution",
"note",
"segments",
"score"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "grid"
},
"id": {
"type": "string"
},
"methodId": {
"type": "string"
},
"group": {
"type": "string"
},
"title": {
"type": "string"
},
"base": {
"type": "object",
"properties": {
"n": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"kind": {
"type": "string",
"enum": [
"quotes",
"counts",
"small",
"full"
]
},
"label": {
"type": "string"
},
"chart": {
"type": "boolean"
},
"percent": {
"type": "boolean"
},
"interval": {
"type": "boolean"
}
},
"required": [
"n",
"kind",
"label",
"chart",
"percent",
"interval"
],
"additionalProperties": false
},
"caution": {
"type": "string"
},
"note": {
"type": "string"
},
"rowLabel": {
"type": "string"
},
"columns": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"label": {
"type": "string"
}
},
"required": [
"id",
"label"
],
"additionalProperties": false
}
},
"rows": {
"type": "array",
"items": {
"type": "object",
"properties": {
"label": {
"type": "string"
},
"of": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"cells": {
"type": "array",
"items": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
}
},
"lead": {
"type": "string"
},
"detail": {
"type": "string"
}
},
"required": [
"label",
"of",
"cells",
"lead",
"detail"
],
"additionalProperties": false
}
}
},
"required": [
"kind",
"id",
"methodId",
"group",
"title",
"base",
"caution",
"note",
"rowLabel",
"columns",
"rows"
],
"additionalProperties": false
}
]
}
},
"cautions": {
"type": "array",
"items": {
"type": "string"
}
},
"data": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
}
},
"required": [
"methodId",
"group",
"name",
"title",
"n",
"answered",
"base",
"lines",
"figures",
"cautions",
"data"
],
"additionalProperties": false
}
}
},
"required": [
"basis",
"n",
"methods"
],
"additionalProperties": false
}

Errors​

StatusMeaning
400The request is not valid: the body is not JSON, a field is wrong (listed in errors), or a required Idempotency-Key is missing.
401No key or token, or one that is wrong, expired or revoked.
403The key or connection lacks the scope this operation needs. scope names it.
404No such address, or no study (or conversation) with that id in this workspace. Another workspace's id is answered the same way.
409The study is not in a state that allows this (the detail says what to do instead), or the Idempotency-Key was used with a different request.
429Too many requests from this key or connection, or the workspace has reached its hourly or daily limit for model calls (title "Workspace model limit reached", window says which). Retry-After says when to try again.
503The language model is not available. Try again later.

Every error is application/problem+json, the same shape on every endpoint.

API overview · OpenAPI document