Questions
List Questions
Question Sets
Dataset Items
Evaluations
Evaluation Items
Questions
List Questions
GET
/
v5
/
questions
curl --request GET \
--url https://api.egp.scale.com/v5/questions \
--header 'x-api-key: <api-key>'
{
"object": "list",
"items": [
{
"id": "<string>",
"object": "question",
"type": "categorical",
"title": "<string>",
"prompt": "<string>",
"choices": [
{
"label": "<string>",
"value": "<string>",
"audit_required": false
}
],
"ratingOptions": {
"minLabel": "<string>",
"maxLabel": "<string>",
"scaleSteps": 123
},
"numberOptions": {
"min": 123,
"max": 123
},
"freeTextOptions": {
"characterLimit": {
"min": 50,
"max": 1000
}
},
"multi": true,
"dropdown": true,
"required": true,
"conditions": [
{}
],
"default": "<any>",
"created_at": "2023-11-07T05:31:56Z",
"created_by_user_id": "<string>"
}
],
"limit": 100,
"total": 123,
"has_more": true
}
Authorizations
Query Parameters
Required range:
1 <= x <= 1000
Response
200
application/json
Successful Response
Available options:
categorical
, free_text
, rating
, number
Available options:
question
The total of items that match the query. This is greater than or equal to the number of items returned.
Whether there are more items left to be fetched.
Available options:
list
The maximum number of items to return.
curl --request GET \
--url https://api.egp.scale.com/v5/questions \
--header 'x-api-key: <api-key>'
{
"object": "list",
"items": [
{
"id": "<string>",
"object": "question",
"type": "categorical",
"title": "<string>",
"prompt": "<string>",
"choices": [
{
"label": "<string>",
"value": "<string>",
"audit_required": false
}
],
"ratingOptions": {
"minLabel": "<string>",
"maxLabel": "<string>",
"scaleSteps": 123
},
"numberOptions": {
"min": 123,
"max": 123
},
"freeTextOptions": {
"characterLimit": {
"min": 50,
"max": 1000
}
},
"multi": true,
"dropdown": true,
"required": true,
"conditions": [
{}
],
"default": "<any>",
"created_at": "2023-11-07T05:31:56Z",
"created_by_user_id": "<string>"
}
],
"limit": 100,
"total": 123,
"has_more": true
}