Skip to main content

Create Sync Data Request

POST 

/api/v1/historical-data/sync

This endpoint creates a data request and waits for the data to be processed before responding. The response will contain a status, indicating if the request succeeded or if it failed, and a outputFile or error field indicating the URL of the output file or the error message, respectively.

Request

Body

Body

    signals

    object

    required

    Array of Signal ID's or Search JSON's

    oneOf

    Array of signal ID's

  • Array [

  • integer

    Possible values: > 0

  • ]

  • timeWindow

    object

    required

    start stringrequired

    Date in ISO format

    Example: 2021-09-01T00:00:00.000Z
    end string

    Date in ISO format

    Example: 2021-09-01T00:00:00.000Z
    format string

    Output file format

    Possible values: [parquet, json, csv]

    Default value: parquet

Responses

Success

Schema

    requestId integerrequired

    ID of the Request

    Possible values: > 0

    Example: 1000
    status stringrequired

    Possible values: [Finished]

    outputFile urirequired

    URL to download the data output file

    Example: https://nortech-api-query-euc1.s3.eu-central-1.amazonaws.com/User-10-1713999600/000.parquet
Loading...