Skip to main content

GetSampleDatasetsResponse

datasets object[]required

List of sample dataset objects available for fine-tuning experiments.

  • Array [
  • descriptionstringrequired

    Optional user-provided description of the dataset.

    filtersobjectrequired

    Filtering criteria (tags, models, date range) used to select the logs in the dataset.

    idintegerrequired

    Unique identifier of the dataset, used to delete it via the Delete Dataset endpoint.

    namestringrequired

    User-defined name of the dataset.

    user_idintegerrequired

    Identifier of the user who created the dataset.

    total_logsintegerrequired

    Total number of log records included in the dataset.

    created_atstring

    Timestamp indicating when the dataset was created.

    Default: null
    domainstring

    Domain or category the dataset belongs to.

    Default:
    is_sampleboolean

    When true, the dataset is a built-in sample dataset rather than a user-created one.

    Default: false
    organization_idinteger

    ID of the organization that owns this dataset.

    sizeinteger

    Total size of the dataset in bytes.

    Default: 0
    updated_atstring

    Timestamp indicating when the dataset was last updated, or null if never updated.

    Default: null
  • ]
  • statusstring

    Indicates the result of the operation. Typically "success".

    Default: success
    GetSampleDatasetsResponse
    {
    "datasets": [
    {
    "description": "string",
    "filters": {},
    "id": 0,
    "name": "string",
    "user_id": 0,
    "total_logs": 0,
    "created_at": null,
    "domain": "",
    "is_sample": false,
    "organization_id": 0,
    "size": 0,
    "updated_at": null
    }
    ],
    "status": "success"
    }