Skip to main content
Version: Next

ChartDataResponseSchema

result object[]

A list of results for each corresponding query in the request.

  • Array [
  • annotation_dataobject[]nullable

    All requested annotation data

    applied_filtersobject[]

    A list with applied filters

    cache_keystringnullablerequired

    Unique cache key for query object

    cache_timeoutintegernullablerequired

    Cache timeout in following order: custom timeout, datasource timeout, cache default timeout, config default cache timeout.

    cached_dttmstringnullablerequired

    Cache timestamp

    colnamesstring[]

    A list of column names

    coltypesinteger[]

    A list of generic data types of each column

    dataobject[]

    A list with results

    errorstringnullable

    Error

    from_dttmintegernullable

    Start timestamp of time range

    is_cachedbooleanrequired

    Is the result cached

    querystringrequired

    The executed query statement

    rejected_filtersobject[]

    A list with rejected filters

    rowcountinteger

    Amount of rows in result set

    stacktracestringnullable

    Stacktrace if there was an error

    statusstring

    Status of the query

    Possible values: [stopped, failed, pending, running, scheduled, success, timed_out]

    to_dttmintegernullable

    End timestamp of time range

  • ]
  • ChartDataResponseSchema
    {
    "result": [
    {
    "annotation_data": [
    {}
    ],
    "applied_filters": [
    {}
    ],
    "cache_key": "string",
    "cache_timeout": 0,
    "cached_dttm": "string",
    "colnames": [
    "string"
    ],
    "coltypes": [
    0
    ],
    "data": [
    {}
    ],
    "error": "string",
    "from_dttm": 0,
    "is_cached": true,
    "query": "string",
    "rejected_filters": [
    {}
    ],
    "rowcount": 0,
    "stacktrace": "string",
    "status": "stopped",
    "to_dttm": 0
    }
    ]
    }