Skip to main content
POST
Query One
Junction Sense is available as an add-on to customers on our Enterprise plan. Get in touch with your Customer Success Manager to learn more.

Receiving data in JSON

JSON is the default output format. Each query instruction outputs one entry containing a dataframe to the $.results array, in the declaration order of the query instructions.

Receiving data in Parquet

Specify Accept: application/vnd.vital.tar+gzip+parquet in your request header.The response body is a gzipped Tarball of multiple Parquet files, namely 0.parquet, 1.parquet, 2.parquet, etc. The numbering corresponds to the declaration order of the query instructions.

Authorizations

x-vital-api-key
string
header
required

Vital Team API Key

Headers

accept
enum<string>
default:*/*
Available options:
*/*,
application/json,
application/vnd.vital.tar+gzip+parquet

Path Parameters

user_id
string<uuid>
required

Body

application/json
timeframe
RelativeTimeframe · object
required
queries
Query · object[]
required
config
QueryConfig · object

Response

Successful Response

results
AggregationResult · object[]
required