@qtsurfer/api-client
    Preparing search index...

    Type Alias DatasetCreated

    DatasetCreated: {
        datasetId: string;
        instrument: Instrument;
        name: string;
        type: "ticker";
    } & DatasetUploadSession

    The metadata available immediately after creating a dataset, plus its first upload session — the presigned URL to PUT the file to. Version-derived fields such as createdAt, currentVersionId, range, and cadence are available from GET /datasets/{datasetId} after the relevant lifecycle stages, not in this creation response.

    Type Declaration

    • datasetId: string

      Opaque id of the newly created dataset.

    • instrument: Instrument
    • name: string

      Unique name of the newly created dataset.

    • type: "ticker"

      The label of a dataset that has no data yet, always ticker for an upload. The dataset's type is read from the data once the upload has been ingested (see Dataset.type): a file of candles is klines then.