Skip to main content

Read a panel's answer, or list every question asked

GET/panel/asks

With 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​

NameTypeRequiredNotes
askIdstringnoFrom ask_panel, or from the list this tool gives without it.

Response · 200​

FieldTypeRequiredNotes
askIdstringyesPass it to get_panel_ask to read the result again.
statusstringyesqueued, running, done, void (too few readable answers: no result) or failed.
answeredBy"synthetic people", "twins of people", "real answers"yesSynthetic 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.
questionstringyes
kindstringyes
options[]string[]yes
peopleintegeryesHow many were asked, across every group.
answeredintegeryesHow many answers could be used: the base of the counts.
groups[]object[]yes
groups[].labelstringyes
groups[].peopleintegeryes
groups[].answeredintegeryes
groups[].countsobject[] or nullyesPeople by answer, most first. Null while answering, for an open question, or for twins under the floor.
groups[].censusCriteriastringyesWho 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[].varietystring or nullyes
groups[].byConstructionstring or nullnoSet 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.
countsobject[] or nullyesEvery group together.
largestGapstring or nullyes
themesobject[] or nullyesAn open question's themes, counted in code.
tooFewTwinsbooleanyesTrue under 20 twins: no distribution is given, only each twin's lean.
studyIdstring or nullyesThe draft study this question was turned into on the People page, if it was.
methodstring or nullyesHow 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.
byConstructionbooleanyesTrue 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.
chosenByAssignedstring or nullnoSet when a group was chosen by party, political views, religion or attendance: those were assigned to members from published distributions, never said by them.
consoleUrlstringyes
creditMinorinteger or nullnoask_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).
asksobject[] or nullyesWithout 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​

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