Dataset Items
Evaluations
Evaluation Items
Questions
Create Question
POST
/
v5
/
questions
Copy
Ask AI
curl --request POST \
--url https://api.egp.scale.com/v5/questions \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"name": "<string>",
"prompt": "<string>",
"question_type": "categorical",
"configuration": {
"choices": [
"<string>"
]
}
}'
Copy
Ask AI
{
"id": "<string>",
"object": "question",
"created_at": "2023-11-07T05:31:56Z",
"created_by_user_id": "<string>",
"name": "<string>",
"prompt": "<string>",
"question_type": "categorical",
"configuration": {
"choices": [
"<string>"
]
}
}
Authorizations
Headers
Body
application/json
Response
200
application/json
Successful Response
The response is of type object
.
The response is of type object
.
The response is of type object
.
The response is of type object
.
The response is of type object
.
Copy
Ask AI
curl --request POST \
--url https://api.egp.scale.com/v5/questions \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"name": "<string>",
"prompt": "<string>",
"question_type": "categorical",
"configuration": {
"choices": [
"<string>"
]
}
}'
Copy
Ask AI
{
"id": "<string>",
"object": "question",
"created_at": "2023-11-07T05:31:56Z",
"created_by_user_id": "<string>",
"name": "<string>",
"prompt": "<string>",
"question_type": "categorical",
"configuration": {
"choices": [
"<string>"
]
}
}
Assistant
Responses are generated using AI and may contain mistakes.