---
title: "Export Profile Sessions"
method: POST
path: "/profiles/query/export"
---

# Export Profile Sessions

`POST /profiles/query/export`

## Query parameters

- `tz` string, nullable
- `start_of_week` 0 | 1

## Headers

- `accept` string, nullable
- `Authorization` string, nullable
- `X-User-Id` string, nullable
- `X-Browser-Time-Zone` string, nullable

## Cookies

- `session_id` string, nullable

## Request body

- ProfilesFilter
  - `query_timestamp` number, nullable
  - `email` string[], nullable
  - `alias` string[], nullable
  - `ip_address` string[], nullable
  - `profile_id` integer[], nullable
  - `events` string[]
  - `session_source` SessionSourceFilter
    - `model` 'first_touch' | 'first_touch_paid' | 'inv_j_shaped' | 'j_shaped' | 'j_shaped_paid' | 'last_touch' | 'last_touch_paid' | 'linear' | 'participation' | 'time_decay' | 'inv_time_decay' | 'u_shaped' | 'direct_session' | 'inv_j_shaped_paid' | 'top_of_funnel', required
    - `channel` string, nullable
    - `new_customers` boolean, nullable
    - `ad_id` string, nullable
    - `adset_id` string, nullable
    - `campaign_id` string, nullable
  - `session_source_v3` SessionSourceFilter
    - `model` 'first_touch' | 'first_touch_paid' | 'inv_j_shaped' | 'j_shaped' | 'j_shaped_paid' | 'last_touch' | 'last_touch_paid' | 'linear' | 'participation' | 'time_decay' | 'inv_time_decay' | 'u_shaped' | 'direct_session' | 'inv_j_shaped_paid' | 'top_of_funnel', required
    - `channel` string, nullable
    - `new_customers` boolean, nullable
    - `ad_id` string, nullable
    - `adset_id` string, nullable
    - `campaign_id` string, nullable
  - `attribution_filter` AttributionFilter
    - `ad_id` string, nullable
    - `adset_id` string, nullable
    - `attribution` ConvergeApiAttributionsAttribution, required
      - `mode` 'click_time' | 'conversion_time'
      - `model` 'first_touch' | 'first_touch_paid' | 'inv_j_shaped' | 'j_shaped' | 'j_shaped_paid' | 'last_touch' | 'last_touch_paid' | 'linear' | 'participation' | 'time_decay' | 'inv_time_decay' | 'u_shaped' | 'direct_session' | 'inv_j_shaped_paid' | 'top_of_funnel'
      - `window` integer
      - `lookback` integer, nullable
    - `campaign_id` string, nullable
    - `channel_group` string, nullable
    - `channel` string, nullable
    - `event_name` string, nullable, required
  - `product_filter` ProductFilter
    - `value` string, required
    - `type` 'sku' | 'product_id' | 'name' | 'variant_id' | 'variant_name', required
  - `date_range` DateRangeQuery, required
    - `since` union, required
      - string, date
      - string, date-time
      - string
    - `until` union
      - string, date
      - string, date-time
      - string

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/runconverge/apis/fastapi.md) · [All operations](https://skmtc.dev/runconverge/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/runconverge/fastapi/revisions/1452e350bd1d/schema)
