Skip to main content
GET
/
v5
/
questions
/
{question_id}
Get Question
curl --request GET \
  --url https://api.egp.scale.com/v5/questions/{question_id} \
  --header 'x-api-key: <api-key>'
{
  "id": "<string>",
  "object": "question",
  "created_by": {
    "id": "<string>",
    "object": "<string>",
    "type": "user"
  },
  "created_at": "2023-11-07T05:31:56Z",
  "name": "<string>",
  "prompt": "<string>",
  "question_type": "categorical",
  "configuration": {
    "choices": [
      "<string>"
    ]
  }
}

Authorizations

x-api-key
string
header
required

Headers

x-selected-account-id
string | null

Path Parameters

question_id
string
required

Response

Successful Response

  • Option 1
  • Option 2
  • Option 3
  • Option 4
  • Option 5
id
string
required

Unique identifier of the entity

created_by
object
required

The identity that created the entity.

created_at
string<date-time>
required

ISO-timestamp when the entity was created

name
string
required
prompt
string
required

user-facing question prompt

configuration
object
required
object
string
default:question
Allowed value: "question"
question_type
string
default:categorical
Allowed value: "categorical"
I