Skip to main content

Replace Question

PUT 

/api/v1/evals/questions/:question_id

Replace a question.

Request

Path Parameters

    question_id uuidrequired

Cookie Parameters

    session any

Body

required

    content Content (string)required

    The content of the question.

    Possible values: non-empty and <= 1000 characters

Responses

Successful Response

Schema

    id uuidrequired

    Unique identifier

    created_at

    object

    Creation datetime

    anyOf

    string

    updated_at

    object

    Update datetime

    anyOf

    string

    content Content (string)required

    The content of the question.

    Possible values: non-empty and <= 1000 characters

    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...