GET
/
v5
/
question-sets
curl --request GET \
  --url https://api.egp.scale.com/v5/question-sets \
  --header 'x-api-key: <api-key>'
{
  "object": "list",
  "items": [
    {
      "name": "<string>",
      "instructions": "<string>",
      "id": "<string>",
      "created_at": "2023-11-07T05:31:56Z",
      "created_by_user_id": "<string>",
      "archived_at": "2023-11-07T05:31:56Z",
      "object": "question_set",
      "questions": [
        {
          "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
          },
          "multi": true,
          "dropdown": true,
          "required": true,
          "conditions": [
            {}
          ],
          "id": "<string>",
          "created_at": "2023-11-07T05:31:56Z",
          "created_by_user_id": "<string>",
          "object": "question",
          "override_config": {
            "required": false
          }
        }
      ]
    }
  ],
  "limit": 100,
  "total": 123,
  "has_more": true
}

Authorizations

x-api-key
string
header
required

Query Parameters

views
enum<string>[]
Available options:
questions
include_archived
boolean
default:
false
starting_after
string | null
ending_before
string | null
limit
integer
default:
100
Required range: 1 < x < 1000

Response

200
application/json
Successful Response
items
object[]
required
total
integer
required

The total of items that match the query. This is greater than or equal to the number of items returned.

has_more
boolean
required

Whether there are more items left to be fetched.

object
enum<string>
default:
list
Available options:
list
limit
integer
default:
100

The maximum number of items to return.