Skip to main content

Create Questions

POST 

/api/v1/evals/datasets/:dataset_id/questions

Create a new question.

Request

Path Parameters

    dataset_id uuidrequired

Cookie Parameters

    session any

Body

array

required

  • Array [

  • content Content (string)required

    Possible values: non-empty and <= 1000 characters

    The content of the question.

  • ]

Responses

Successful Response

Schema

  • Array [

  • id uuidrequired

    Unique identifier

    created_at

    object

    Creation datetime

    anyOf

    string

    updated_at

    object

    Update datetime

    anyOf

    string

    content Content (string)required

    Possible values: non-empty and <= 1000 characters

    The content of the question.

    eval_dataset_id uuidrequired
    eval_dataset_index Eval Dataset Index (integer)required

    The index at which this question is positioned relative to the other questions in the linked EvalDataset. Client is responsible for setting this correctly.

  • ]

Loading...