Read a panel's answer, or list every question asked
GET
/panel/asksWith askId: one question put to a panel and what it answered, as ask_panel returns it: counts of synthetic people (or twins) by answer per group, an open question's themes with quotes, or that it is still answering. Without askId: the questions this workspace has put to a panel, newest first, whatever the audience, including the twins' questions asked before the panel existed and at a study's launch. Synthetic people and twins are never real people and never counted with them. Calls no model. (The MCP tool get_panel_ask.)
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/panel/asks" \
-H "Authorization: Bearer $JEAN_API_KEY"
Query
| Name | Type | Required | Notes |
|---|---|---|---|
askId | string | no | From ask_panel, or from the list this tool gives without it. |
Response · 200
| Field | Type | Required | Notes |
|---|---|---|---|
askId | string | yes | Pass it to get_panel_ask to read the result again. |
status | string | yes | queued, running, done, void (too few readable answers: no result) or failed. |
answeredBy | "synthetic people", "twins of people", "real answers" | yes | Synthetic people are made from census figures and a model; twins are models of people this workspace interviewed; real answers: the question was really asked of the twins' people. Never added together. |
question | string | yes | |
kind | string | yes | |
options[] | string[] | yes | |
people | integer | yes | How many were asked, across every group. |
answered | integer | yes | How many answers could be used: the base of the counts. |
groups[] | object[] | yes | |
groups[].label | string | yes | |
groups[].people | integer | yes | |
groups[].answered | integer | yes | |
groups[].counts | object[] or null | yes | People by answer, most first. Null while answering, for an open question, or for twins under the floor. |
groups[].censusCriteria | string | yes | Who the group is: census criteria and any of the four attributes assigned from published distributions (Party identification, Political views, Religion, Religious service attendance). |
groups[].notRecorded[] | string[] | yes | |
groups[].variety | string or null | yes | |
groups[].byConstruction | string or null | no | Set when the question IS an attribute this group was chosen by: its answer follows from how it was chosen and is not a finding. Its counts are given for the record only. |
counts | object[] or null | yes | Every group together. |
largestGap | string or null | yes | |
themes | object[] or null | yes | An open question's themes, counted in code. |
tooFewTwins | boolean | yes | True under 20 twins: no distribution is given, only each twin's lean. |
studyId | string or null | yes | The draft study this question was turned into on the People page, if it was. |
method | string or null | yes | How the answers were made, in one line: each member's attitude assigned from published distributions (construction, not prediction), published figures, or the respondent model and what it was shown. |
byConstruction | boolean | yes | True when the question is one of the attitudes synthetic people were assigned from published distributions (party, political views, religion, attendance) and was answered with them: it gives back those figures by construction and says nothing about the panel's accuracy. |
chosenByAssigned | string or null | no | Set when a group was chosen by party, political views, religion or attendance: those were assigned to members from published distributions, never said by them. |
consoleUrl | string | yes | |
creditMinor | integer or null | no | ask_panel: what this question took from the workspace's credit, net of anything given back, in cents. Null when nothing was charged (billing off, or twins). |
asks | object[] or null | yes | Without askId: every question asked, newest first. |
The full response schema
{
"type": "object",
"properties": {
"askId": {
"type": "string",
"description": "Pass it to get_panel_ask to read the result again."
},
"status": {
"type": "string",
"description": "queued, running, done, void (too few readable answers: no result) or failed."
},
"answeredBy": {
"type": "string",
"enum": [
"synthetic people",
"twins of people",
"real answers"
],
"description": "Synthetic people are made from census figures and a model; twins are models of people this workspace interviewed; real answers: the question was really asked of the twins' people. Never added together."
},
"question": {
"type": "string"
},
"kind": {
"type": "string"
},
"options": {
"type": "array",
"items": {
"type": "string"
}
},
"people": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991,
"description": "How many were asked, across every group."
},
"answered": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991,
"description": "How many answers could be used: the base of the counts."
},
"groups": {
"type": "array",
"items": {
"type": "object",
"properties": {
"label": {
"type": "string"
},
"people": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"answered": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"counts": {
"anyOf": [
{
"type": "array",
"items": {
"type": "object",
"properties": {
"option": {
"type": "string"
},
"count": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
}
},
"required": [
"option",
"count"
],
"additionalProperties": false
}
},
{
"type": "null"
}
],
"description": "People by answer, most first. Null while answering, for an open question, or for twins under the floor."
},
"censusCriteria": {
"type": "string",
"description": "Who the group is: census criteria and any of the four attributes assigned from published distributions (Party identification, Political views, Religion, Religious service attendance)."
},
"notRecorded": {
"type": "array",
"items": {
"type": "string"
}
},
"variety": {
"type": [
"string",
"null"
]
},
"byConstruction": {
"description": "Set when the question IS an attribute this group was chosen by: its answer follows from how it was chosen and is not a finding. Its counts are given for the record only.",
"type": [
"string",
"null"
]
}
},
"required": [
"label",
"people",
"answered",
"counts",
"censusCriteria",
"notRecorded",
"variety"
],
"additionalProperties": false
}
},
"counts": {
"anyOf": [
{
"type": "array",
"items": {
"type": "object",
"properties": {
"option": {
"type": "string"
},
"count": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
}
},
"required": [
"option",
"count"
],
"additionalProperties": false
}
},
{
"type": "null"
}
],
"description": "Every group together."
},
"largestGap": {
"type": [
"string",
"null"
]
},
"themes": {
"anyOf": [
{
"type": "array",
"items": {
"type": "object",
"properties": {
"title": {
"type": "string"
},
"count": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"of": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"quote": {
"type": [
"string",
"null"
]
},
"who": {
"type": [
"string",
"null"
]
}
},
"required": [
"title",
"count",
"of",
"quote",
"who"
],
"additionalProperties": false
}
},
{
"type": "null"
}
],
"description": "An open question's themes, counted in code."
},
"tooFewTwins": {
"type": "boolean",
"description": "True under 20 twins: no distribution is given, only each twin's lean."
},
"studyId": {
"description": "The draft study this question was turned into on the People page, if it was.",
"type": [
"string",
"null"
]
},
"method": {
"description": "How the answers were made, in one line: each member's attitude assigned from published distributions (construction, not prediction), published figures, or the respondent model and what it was shown.",
"type": [
"string",
"null"
]
},
"byConstruction": {
"type": "boolean",
"description": "True when the question is one of the attitudes synthetic people were assigned from published distributions (party, political views, religion, attendance) and was answered with them: it gives back those figures by construction and says nothing about the panel's accuracy."
},
"chosenByAssigned": {
"description": "Set when a group was chosen by party, political views, religion or attendance: those were assigned to members from published distributions, never said by them.",
"type": [
"string",
"null"
]
},
"consoleUrl": {
"type": "string"
},
"creditMinor": {
"description": "ask_panel: what this question took from the workspace's credit, net of anything given back, in cents. Null when nothing was charged (billing off, or twins).",
"anyOf": [
{
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
},
"asks": {
"anyOf": [
{
"type": "array",
"items": {
"type": "object",
"properties": {
"askId": {
"type": "string"
},
"question": {
"type": "string"
},
"kind": {
"type": "string"
},
"who": {
"type": "string"
},
"status": {
"type": "string"
},
"askedAt": {
"type": "string"
}
},
"required": [
"askId",
"question",
"kind",
"who",
"status",
"askedAt"
],
"additionalProperties": false
}
},
{
"type": "null"
}
],
"description": "Without askId: every question asked, newest first."
}
},
"required": [
"askId",
"status",
"answeredBy",
"question",
"kind",
"options",
"people",
"answered",
"groups",
"counts",
"largestGap",
"themes",
"tooFewTwins",
"studyId",
"method",
"byConstruction",
"consoleUrl",
"asks"
],
"additionalProperties": false
}
Errors
| Status | Meaning |
|---|---|
400 | The request is not valid: the body is not JSON, a field is wrong (listed in errors), or a required Idempotency-Key is missing. |
401 | No key or token, or one that is wrong, expired or revoked. |
403 | The key or connection lacks the scope this operation needs. scope names it. |
404 | No such address, or no study (or conversation) with that id in this workspace. Another workspace's id is answered the same way. |
409 | The 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. |
429 | Too 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. |
503 | The language model is not available. Try again later. |
Every error is application/problem+json, the same shape on every endpoint.