Junction Aggregation API
The aggregation API from Vital — 0 operation(s) for aggregation.
The aggregation API from Vital — 0 operation(s) for aggregation.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/junction-com:junction-com-aggregation-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Junction Aggregation API
version: '1.0'
description: 'Operations tagged aggregation across 2 of this provider''s published API definitions: junction-openapi-live-2026-10-12.json, vital-openapi-original.json. Each path carries the servers of the definition it was published in.'
servers:
- url: https://api.us.junction.com
x-fern-server-name: Production
- url: https://api.eu.junction.com
x-fern-server-name: ProductionEU
- url: https://api.sandbox.us.junction.com
x-fern-server-name: Sandbox
- url: https://api.sandbox.eu.junction.com
x-fern-server-name: SandboxEU
security:
- apiKeyAuth: []
tags:
- name: Aggregation
paths: {}
webhooks:
continuous_query.result_table.changed:
post:
tags:
- Aggregation
summary: Result Table Changed
operationId: result_table_changedcontinuous_query_result_table_changed_post
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/ClientFacingContinuousQueryResultTableChanged'
required: true
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
servers:
- url: https://api.us.junction.com
x-fern-server-name: Production
- url: https://api.eu.junction.com
x-fern-server-name: ProductionEU
- url: https://api.sandbox.us.junction.com
x-fern-server-name: Sandbox
- url: https://api.sandbox.eu.junction.com
x-fern-server-name: SandboxEU
components:
schemas:
HTTPValidationError:
properties:
detail:
title: Detail
type: object
title: HTTPValidationError
ClientFacingContinuousQueryResultTableChanged:
properties:
event_type:
type: string
const: continuous_query.result_table.changed
title: Event Type
x-junction-exhaustive: true
user_id:
type: string
format: uuid
title: User Id
client_user_id:
type: string
format: uuid
title: Client User Id
team_id:
type: string
format: uuid
title: Team Id
data:
items:
$ref: '#/components/schemas/ContinuousQueryResultTableChanges'
type: array
title: Data
type: object
required:
- event_type
- user_id
- client_user_id
- team_id
- data
title: ClientFacingContinuousQueryResultTableChanged
ContinuousQueryResultTableChanges:
properties:
query_id:
type: string
format: uuid
title: Query Id
query_slug:
type: string
title: Query Slug
data:
additionalProperties:
items: {}
type: array
type: object
title: Data
type: object
required:
- query_id
- query_slug
- data
title: ContinuousQueryResultTableChanges
example:
data:
group_key.0:
- '2025-02-17T00:00:00'
mean.efficiency:
- 98.22
mean.sleep_score:
- 76.75
min.sleep_score:
- 61.0
newest.chronotype:
- third
query_id: eb25038c-0d0b-48c3-9305-f6e115a9c486
query_slug: sleep-analysis-v1
ContinuousQueryResultTableChanges_2:
properties:
query_id:
type: string
format: uuid
title: Query Id
query_slug:
type: string
title: Query Slug
data:
additionalProperties:
items: {}
type: array
type: object
title: Data
type: object
required:
- query_id
- query_slug
- data
title: ContinuousQueryResultTableChanges
example:
data:
group_key.0:
- '2025-02-17T00:00:00'
mean.efficiency:
- 98.22
mean.sleep_score:
- 76.75
min.sleep_score:
- 61
newest.chronotype:
- third
query_id: 3d459f48-a736-476a-8714-95aa3b2b3708
query_slug: sleep-analysis-v1
securitySchemes:
apiKeyAuth:
type: apiKey
in: header
name: x-vital-api-key
description: Vital Team API Key
x-refined-from:
- junction-openapi-live-2026-10-12.json
- vital-openapi-original.json