datasets

Create Dataset Question

Changed on
post/datasets/{dataset_id}/questions

Request

  • Base URL
    https://extralit-public-demo.hf.space/api/v1
  • URL
    https://extralit-public-demo.hf.space/api/v1/datasets/{dataset_id}/questions
  • Auth
    • API key in header X-Extralit-Api-Key
    • or HTTP bearer

Path parameters

dataset_idstring uuid required

Request body

namestring required

The name of the question

titlestring required

The title of the question

descriptionstring nullable

The description of the question

requiredboolean nullable

Response

Successful Response

idstring uuid required
namestring required
titlestring required
descriptionstring nullable
requiredboolean required
dataset_idstring uuid required
inserted_atstring date-time required
updated_atstring date-time required

Changes

    • breaking

      removed the enum value label_selection of the request property //

    • breaking

      removed the enum value multi_label_selection of the request property //

    • breaking

      removed the enum value ranking of the request property //

    • breaking

      removed the enum value rating of the request property //

    • breaking

      removed the enum value span of the request property //

    • breaking

      removed the enum value table of the request property //

    • breaking

      removed the enum value text of the request property //

    • info

      removed the label_selection enum value from the // response property for the response status

    • info

      removed the multi_label_selection enum value from the // response property for the response status

    • info

      removed the ranking enum value from the // response property for the response status

    • info

      removed the rating enum value from the // response property for the response status

    • info

      removed the span enum value from the // response property for the response status

    • info

      removed the table enum value from the // response property for the response status

    • info

      removed the text enum value from the // response property for the response status

    • info

      added the new optional request property //

    • info

      added the new optional request property //

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status