cURL
curl --request GET \ --url https://api.egp.scale.com/v5/questions \ --header 'x-api-key: <api-key>'
{ "items": [ { "id": "<string>", "created_by": { "id": "<string>", "type": "user", "object": "identity" }, "created_at": "2023-11-07T05:31:56Z", "name": "<string>", "prompt": "<string>", "configuration": { "choices": [ "<string>" ], "multi": true, "dropdown": true }, "object": "question", "conditions": [ {} ], "question_type": "categorical" } ], "total": 123, "has_more": true, "object": "list", "limit": 100 }
1 <= x <= 1000
asc
desc
Successful Response
Show child attributes
Unique identifier of the entity
The identity that created the entity.
user
service_account
"identity"
ISO-timestamp when the entity was created
user-facing question prompt
Categorical answer choices (must contain at least one entry)
1
Whether the question allows multiple answers.
Whether the question is displayed as a dropdown in the UI.
"question"
Conditions for the question to be shown
"categorical"
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.
"list"
The maximum number of items to return.