> ## Documentation Index
> Fetch the complete documentation index at: https://docs.growi.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Overview

> Totals for the range and the period before it, a daily series, and breakdowns by content type and by account: GMV, commission (organic and Shop Ads), orders, units, refunds, average order value and more.

Works with organization keys and creator keys. See [Creator TikTok Shop analytics](https://docs.growi.io/essentials/creator-tiktok-shop-analytics.md) for which accounts each key reads.

```bash theme={"dark"}
curl "https://api.growi.io/api/public/v1/tiktok_shop/creator_analytics/overview?from=2026-11-01&to=2026-11-24&tz=America/New_York" \
  -H "Authorization: Bearer growi-sk-YOUR-API-KEY"
```


## OpenAPI

````yaml GET /tiktok_shop/creator_analytics/overview
openapi: 3.0.1
info:
  title: Growi API
  description: >-
    API documentation for Growi platform, showcasing the public tracking event
    endpoint
  license:
    name: MIT
  version: 1.0.0
servers:
  - url: https://api.growi.io/api/public/v1
security:
  - bearerAuth: []
paths:
  /tiktok_shop/creator_analytics/overview:
    get:
      summary: Overview
      description: >-
        Totals for the range and the period before it, a daily series, and
        breakdowns by content type and by account: GMV, commission (organic and
        Shop Ads), orders, units, refunds, average order value and more.
      parameters:
        - name: user_id
          in: query
          required: false
          description: >-
            One creator. With an organization key: that creator's accounts that
            are shared with you; a creator with none answers 404. With a creator
            key: optional, and only your own user id. Leave it out for every
            account the key can read
          schema:
            type: integer
        - name: account_ids
          in: query
          required: false
          description: >-
            Comma-separated account ids from `GET
            /tiktok_shop/creator_analytics/accounts`, at most 1,000. Narrows the
            selection; any id the key can't read answers 404
          schema:
            type: string
        - name: q
          in: query
          required: false
          description: >-
            Organization keys only, without `user_id`: keep the creators whose
            name, email or @handle contains this. A creator key gets 422
          schema:
            type: string
        - name: exclude_account_ids
          in: query
          required: false
          description: >-
            Organization keys only, without `user_id`: every selected account
            except these. A creator key gets 422
          schema:
            type: string
        - name: organization_id
          in: query
          required: false
          description: >-
            Leave it out. Creators share with your main organization, so a child
            brand answers 403. A creator key gets 422
          schema:
            type: integer
        - name: from
          in: query
          required: false
          description: 'First day, YYYY-MM-DD. Default: the first day of the month.'
          schema:
            type: string
            format: date
        - name: to
          in: query
          required: false
          description: >-
            Last day, YYYY-MM-DD, inclusive. Default: today. At most 3,660 days
            in all.
          schema:
            type: string
            format: date
        - name: tz
          in: query
          required: false
          description: IANA time zone the days are counted in. Default UTC.
          schema:
            type: string
        - name: include_pending
          in: query
          required: false
          description: Count orders that have not settled yet. Default true.
          schema:
            type: boolean
      responses:
        '200':
          description: OK
          content:
            application/json:
              examples:
                ok:
                  value:
                    range:
                      from: '2026-11-01'
                      to: '2026-11-03'
                      tz: America/New_York
                      previous:
                        from: '2026-10-29'
                        to: '2026-10-31'
                    currency: USD
                    totals:
                      gmv_minor: 358000
                      settled_gmv_minor: 120000
                      refunded_gmv_minor: 9000
                      commission_minor: 53700
                      settled_commission_minor: 18000
                      organic_commission_minor: 41300
                      shop_ads_commission_minor: 12400
                      orders: 118
                      units: 124
                      avg_commission_rate_bps: 1500
                      aov_minor: 3034
                      earnings_per_order_minor: 455
                      refund_rate: 0.025
                    previous_totals:
                      gmv_minor: 251000
                      settled_gmv_minor: 190000
                      refunded_gmv_minor: 6200
                      commission_minor: 37650
                      settled_commission_minor: 28500
                      organic_commission_minor: 30100
                      shop_ads_commission_minor: 7550
                      orders: 84
                      units: 88
                      avg_commission_rate_bps: 1500
                      aov_minor: 2988
                      earnings_per_order_minor: 448
                      refund_rate: 0.024
                    series:
                      - date: '2026-11-01'
                        gmv_minor: 98000
                        commission_minor: 14700
                        organic_commission_minor: 11300
                        shop_ads_commission_minor: 3400
                        orders: 32
                      - date: '2026-11-02'
                        gmv_minor: 131000
                        commission_minor: 19650
                        organic_commission_minor: 15100
                        shop_ads_commission_minor: 4550
                        orders: 44
                      - date: '2026-11-03'
                        gmv_minor: 129000
                        commission_minor: 19350
                        organic_commission_minor: 14900
                        shop_ads_commission_minor: 4450
                        orders: 42
                    by_source:
                      - content_type: VIDEO
                        gmv_minor: 301000
                        commission_minor: 45150
                        orders: 99
                      - content_type: LIVE
                        gmv_minor: 57000
                        commission_minor: 8550
                        orders: 19
                    by_account:
                      - account_id: 900001
                        gmv_minor: 358000
                        commission_minor: 53700
                        orders: 118
                    top_posts:
                      - content_id: '7590000000000000001'
                        account_id: 900001
                        content_type: VIDEO
                        post_kind: video
                        url: >-
                          https://www.tiktok.com/@janedoe/video/7590000000000000001
                        caption: my everyday lip oil 💋
                        thumbnail_url: >-
                          https://tos.growi.io/creator-post-media/tik_tok-7590000000000000001-cover.jpg
                        posted_at: '2026-11-01T18:30:00Z'
                        product:
                          id: '1731234567890123456'
                          name: Hydrating Lip Oil
                          brand: Glow Lab
                          image_url: https://p16-oec-va.ibyteimg.com/example/lip-oil.jpg
                        products_count: 1
                        gmv_minor: 184500
                        commission_minor: 27675
                        organic_commission_minor: 22140
                        shop_ads_commission_minor: 5535
                        orders: 61
                        units: 63
                        shop_ads_commission_rate_bps: 500
                        refund_rate: 0.016
                        first_sale_at: '2026-11-01T19:02:00Z'
                        views: 412300
                        likes: 18204
                        comments: 311
                        shares: 902
                        saves: 1544
                        stats_available: true
                        stats_since: '2026-11-01'
                    top_products:
                      - product_id: '1731234567890123456'
                        name: Hydrating Lip Oil
                        brand: Glow Lab
                        image_url: https://p16-oec-va.ibyteimg.com/example/lip-oil.jpg
                        gmv_minor: 241800
                        commission_minor: 36270
                        shop_ads_commission_rate_bps: 500
                        orders: 80
                        units: 83
                        selling_posts: 3
                        refund_rate: 0.012
                        account_ids:
                          - 900001
                        in_showcase: true
                    attention:
                      - kind: samples_due
                        count: 3
                      - kind: samples_overdue
                        count: 1
                      - kind: reconnect
                        count: 0
                    samples_fulfilled: 27
                  summary: Example
              schema:
                type: object
                properties:
                  range:
                    type: object
                    properties:
                      from:
                        type: string
                        description: First day, YYYY-MM-DD
                      to:
                        type: string
                        description: Last day, YYYY-MM-DD, inclusive
                      tz:
                        type: string
                        description: Time zone the days are counted in
                      previous:
                        type: object
                        properties:
                          from:
                            type: string
                            description: First day, YYYY-MM-DD
                          to:
                            type: string
                            description: Last day, YYYY-MM-DD, inclusive
                        description: 'The comparison period: as many days just before from'
                    description: The days answered, in tz
                  currency:
                    type: string
                    description: >-
                      ISO currency of the money fields (null when there are no
                      sales in the range)
                    nullable: true
                  totals:
                    type: object
                    properties:
                      gmv_minor:
                        type: integer
                        description: >-
                          GMV, in minor units: cents for USD and other 2-decimal
                          currencies, whole units for IDR, VND, JPY and KRW
                      settled_gmv_minor:
                        type: integer
                        description: >-
                          GMV of settled orders, in minor units: cents for USD
                          and other 2-decimal currencies, whole units for IDR,
                          VND, JPY and KRW
                      refunded_gmv_minor:
                        type: integer
                        description: >-
                          GMV refunded, in minor units: cents for USD and other
                          2-decimal currencies, whole units for IDR, VND, JPY
                          and KRW
                      commission_minor:
                        type: integer
                        description: >-
                          Commission (estimated until settled), in minor units:
                          cents for USD and other 2-decimal currencies, whole
                          units for IDR, VND, JPY and KRW
                      settled_commission_minor:
                        type: integer
                        description: >-
                          Commission of settled orders, in minor units: cents
                          for USD and other 2-decimal currencies, whole units
                          for IDR, VND, JPY and KRW
                      organic_commission_minor:
                        type: integer
                        description: >-
                          Commission from organic sales, in minor units: cents
                          for USD and other 2-decimal currencies, whole units
                          for IDR, VND, JPY and KRW
                      shop_ads_commission_minor:
                        type: integer
                        description: >-
                          Commission from Shop Ads sales, in minor units: cents
                          for USD and other 2-decimal currencies, whole units
                          for IDR, VND, JPY and KRW
                      orders:
                        type: integer
                        description: Orders
                      units:
                        type: integer
                        description: Units sold
                      avg_commission_rate_bps:
                        type: integer
                        description: Average commission rate, in basis points (1500 = 15%)
                      aov_minor:
                        type: integer
                        description: >-
                          Average order value, in minor units: cents for USD and
                          other 2-decimal currencies, whole units for IDR, VND,
                          JPY and KRW
                      earnings_per_order_minor:
                        type: integer
                        description: >-
                          Commission per order, in minor units: cents for USD
                          and other 2-decimal currencies, whole units for IDR,
                          VND, JPY and KRW
                      refund_rate:
                        type: number
                        description: Share of units refunded, 0 to 1
                    description: The same numbers added up
                  previous_totals:
                    type: object
                    properties:
                      gmv_minor:
                        type: integer
                        description: >-
                          GMV, in minor units: cents for USD and other 2-decimal
                          currencies, whole units for IDR, VND, JPY and KRW
                      settled_gmv_minor:
                        type: integer
                        description: >-
                          GMV of settled orders, in minor units: cents for USD
                          and other 2-decimal currencies, whole units for IDR,
                          VND, JPY and KRW
                      refunded_gmv_minor:
                        type: integer
                        description: >-
                          GMV refunded, in minor units: cents for USD and other
                          2-decimal currencies, whole units for IDR, VND, JPY
                          and KRW
                      commission_minor:
                        type: integer
                        description: >-
                          Commission (estimated until settled), in minor units:
                          cents for USD and other 2-decimal currencies, whole
                          units for IDR, VND, JPY and KRW
                      settled_commission_minor:
                        type: integer
                        description: >-
                          Commission of settled orders, in minor units: cents
                          for USD and other 2-decimal currencies, whole units
                          for IDR, VND, JPY and KRW
                      organic_commission_minor:
                        type: integer
                        description: >-
                          Commission from organic sales, in minor units: cents
                          for USD and other 2-decimal currencies, whole units
                          for IDR, VND, JPY and KRW
                      shop_ads_commission_minor:
                        type: integer
                        description: >-
                          Commission from Shop Ads sales, in minor units: cents
                          for USD and other 2-decimal currencies, whole units
                          for IDR, VND, JPY and KRW
                      orders:
                        type: integer
                        description: Orders
                      units:
                        type: integer
                        description: Units sold
                      avg_commission_rate_bps:
                        type: integer
                        description: Average commission rate, in basis points (1500 = 15%)
                      aov_minor:
                        type: integer
                        description: >-
                          Average order value, in minor units: cents for USD and
                          other 2-decimal currencies, whole units for IDR, VND,
                          JPY and KRW
                      earnings_per_order_minor:
                        type: integer
                        description: >-
                          Commission per order, in minor units: cents for USD
                          and other 2-decimal currencies, whole units for IDR,
                          VND, JPY and KRW
                      refund_rate:
                        type: number
                        description: Share of units refunded, 0 to 1
                    description: The totals of the comparison period
                  series:
                    type: array
                    items:
                      type: object
                      properties:
                        date:
                          type: string
                          description: Day, YYYY-MM-DD
                        gmv_minor:
                          type: integer
                          description: >-
                            GMV, in minor units: cents for USD and other
                            2-decimal currencies, whole units for IDR, VND, JPY
                            and KRW
                        commission_minor:
                          type: integer
                          description: >-
                            Commission (estimated until settled), in minor
                            units: cents for USD and other 2-decimal currencies,
                            whole units for IDR, VND, JPY and KRW
                        organic_commission_minor:
                          type: integer
                          description: >-
                            Commission from organic sales, in minor units: cents
                            for USD and other 2-decimal currencies, whole units
                            for IDR, VND, JPY and KRW
                        shop_ads_commission_minor:
                          type: integer
                          description: >-
                            Commission from Shop Ads sales, in minor units:
                            cents for USD and other 2-decimal currencies, whole
                            units for IDR, VND, JPY and KRW
                        orders:
                          type: integer
                          description: Orders
                      description: One entry per day
                    description: One entry per day
                  by_source:
                    type: array
                    items:
                      type: object
                      properties:
                        content_type:
                          type: string
                          description: >-
                            VIDEO, LIVE, PRE_LIVE (before a LIVE starts), SHOP
                            (showcase or shop page), PROMOTION_PAGE, LINKSHARE
                            or UNSPECIFIED (TikTok did not say)
                        gmv_minor:
                          type: integer
                          description: >-
                            GMV, in minor units: cents for USD and other
                            2-decimal currencies, whole units for IDR, VND, JPY
                            and KRW
                        commission_minor:
                          type: integer
                          description: >-
                            Commission (estimated until settled), in minor
                            units: cents for USD and other 2-decimal currencies,
                            whole units for IDR, VND, JPY and KRW
                        orders:
                          type: integer
                          description: Orders
                      description: Sales by content type
                    description: Sales by content type
                  by_account:
                    type: array
                    items:
                      type: object
                      properties:
                        account_id:
                          type: integer
                          description: >-
                            Growi id of the TikTok Shop account (use it in
                            account_ids)
                        gmv_minor:
                          type: integer
                          description: >-
                            GMV, in minor units: cents for USD and other
                            2-decimal currencies, whole units for IDR, VND, JPY
                            and KRW
                        commission_minor:
                          type: integer
                          description: >-
                            Commission (estimated until settled), in minor
                            units: cents for USD and other 2-decimal currencies,
                            whole units for IDR, VND, JPY and KRW
                        orders:
                          type: integer
                          description: Orders
                      description: Sales by account
                    description: Sales by account
                  top_posts:
                    type: array
                    items:
                      type: object
                      properties:
                        content_id:
                          type: string
                          description: TikTok video or LIVE id
                        account_id:
                          type: integer
                          description: >-
                            Growi id of the TikTok Shop account (use it in
                            account_ids)
                        content_type:
                          type: string
                          description: >-
                            VIDEO, LIVE, PRE_LIVE (before a LIVE starts), SHOP
                            (showcase or shop page), PROMOTION_PAGE, LINKSHARE
                            or UNSPECIFIED (TikTok did not say)
                        post_kind:
                          type: string
                          description: >-
                            video, slideshow, live or other; null when the post
                            is not fetched yet
                          nullable: true
                        url:
                          type: string
                          description: >-
                            The post on TikTok; null for a LIVE, or when the
                            account has no @handle
                          nullable: true
                        caption:
                          type: string
                          description: Caption
                          nullable: true
                        thumbnail_url:
                          type: string
                          description: Cover image
                          nullable: true
                        posted_at:
                          type: string
                          description: When it was posted
                          nullable: true
                        product:
                          type: object
                          properties:
                            id:
                              type: string
                              description: Growi id of the account
                            name:
                              type: string
                              description: Name
                              nullable: true
                            brand:
                              type: string
                              description: The shop that sells it
                              nullable: true
                            image_url:
                              type: string
                              description: Product image
                              nullable: true
                          description: The product
                          nullable: true
                        products_count:
                          type: integer
                          description: Products it sold or tagged
                        gmv_minor:
                          type: integer
                          description: >-
                            GMV, in minor units: cents for USD and other
                            2-decimal currencies, whole units for IDR, VND, JPY
                            and KRW
                        commission_minor:
                          type: integer
                          description: >-
                            Commission (estimated until settled), in minor
                            units: cents for USD and other 2-decimal currencies,
                            whole units for IDR, VND, JPY and KRW
                        organic_commission_minor:
                          type: integer
                          description: >-
                            Commission from organic sales, in minor units: cents
                            for USD and other 2-decimal currencies, whole units
                            for IDR, VND, JPY and KRW
                        shop_ads_commission_minor:
                          type: integer
                          description: >-
                            Commission from Shop Ads sales, in minor units:
                            cents for USD and other 2-decimal currencies, whole
                            units for IDR, VND, JPY and KRW
                        orders:
                          type: integer
                          description: Orders
                        units:
                          type: integer
                          description: Units sold
                        shop_ads_commission_rate_bps:
                          type: integer
                          description: Shop Ads commission rate, in basis points
                        refund_rate:
                          type: number
                          description: Share of units refunded, 0 to 1
                        first_sale_at:
                          type: string
                          description: First sale in the range
                          nullable: true
                        views:
                          type: integer
                          description: Views (null when unknown)
                          nullable: true
                        likes:
                          type: integer
                          description: Likes
                          nullable: true
                        comments:
                          type: integer
                          description: Comments
                          nullable: true
                        shares:
                          type: integer
                          description: Shares
                          nullable: true
                        saves:
                          type: integer
                          description: Saves
                          nullable: true
                        stats_available:
                          type: boolean
                          description: Whether views and engagement are known
                        stats_since:
                          type: string
                          description: First day the stats cover
                          nullable: true
                      description: Best-selling posts
                    description: Best-selling posts
                  top_products:
                    type: array
                    items:
                      type: object
                      properties:
                        product_id:
                          type: string
                          description: TikTok Shop product id
                        name:
                          type: string
                          description: Name
                          nullable: true
                        brand:
                          type: string
                          description: The shop that sells it
                          nullable: true
                        image_url:
                          type: string
                          description: Product image
                          nullable: true
                        gmv_minor:
                          type: integer
                          description: >-
                            GMV, in minor units: cents for USD and other
                            2-decimal currencies, whole units for IDR, VND, JPY
                            and KRW
                        commission_minor:
                          type: integer
                          description: >-
                            Commission (estimated until settled), in minor
                            units: cents for USD and other 2-decimal currencies,
                            whole units for IDR, VND, JPY and KRW
                        shop_ads_commission_rate_bps:
                          type: integer
                          description: Shop Ads commission rate, in basis points
                        orders:
                          type: integer
                          description: Orders
                        units:
                          type: integer
                          description: Units sold
                        selling_posts:
                          type: integer
                          description: Posts with at least one sale
                        refund_rate:
                          type: number
                          description: Share of units refunded, 0 to 1
                        account_ids:
                          type: array
                          items:
                            type: integer
                            description: Accounts that sold it
                          description: Accounts that sold it
                        in_showcase:
                          type: boolean
                          description: In one of the accounts' showcases
                      description: Best-selling products
                    description: Best-selling products
                  attention:
                    type: array
                    items:
                      type: object
                      properties:
                        kind:
                          type: string
                          description: >-
                            What it counts: samples_due, samples_overdue or
                            reconnect
                        count:
                          type: integer
                          description: How many
                      description: What needs attention
                    description: What needs attention
                  samples_fulfilled:
                    type: integer
                    description: >-
                      Samples fulfilled, all time (TikTok does not say when a
                      sample was fulfilled)
                  currency_mixed:
                    type: boolean
                    description: >-
                      Present, and true, only when the accounts sell in more
                      than one currency; the numbers count the main one
        '401':
          description: >-
            Missing, invalid or revoked API key: `{"error": "Not
            Authenticated"}`
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    description: >-
                      A message (authentication and rate limits) or { code,
                      message }
                    oneOf:
                      - type: string
                      - type: object
                        properties:
                          code:
                            type: string
                            description: >-
                              forbidden, not_found, invalid_params,
                              export_in_progress, data_unavailable or
                              internal_error
                          message:
                            type: string
                            description: What went wrong, in plain words
                  retry_after:
                    type: integer
                    description: 'Rate limits only: seconds to wait'
                  reset_time:
                    type: string
                    description: 'Hourly limit only: when the hour resets'
              examples:
                missing_key:
                  value:
                    error: Not Authenticated
                  summary: Missing, invalid or revoked key
        '403':
          description: >-
            `organization_id` names a child brand. Creators share with your main
            organization
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    description: >-
                      A message (authentication and rate limits) or { code,
                      message }
                    oneOf:
                      - type: string
                      - type: object
                        properties:
                          code:
                            type: string
                            description: >-
                              forbidden, not_found, invalid_params,
                              export_in_progress, data_unavailable or
                              internal_error
                          message:
                            type: string
                            description: What went wrong, in plain words
                  retry_after:
                    type: integer
                    description: 'Rate limits only: seconds to wait'
                  reset_time:
                    type: string
                    description: 'Hourly limit only: when the hour resets'
              examples:
                child_brand:
                  value:
                    error:
                      code: forbidden
                      message: >-
                        Creator TikTok Shop data is read with the main
                        organization, not a child brand. Leave out
                        organization_id.
                  summary: organization_id names a child brand
        '404':
          description: A creator, account, post or product this key can't read
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    description: >-
                      A message (authentication and rate limits) or { code,
                      message }
                    oneOf:
                      - type: string
                      - type: object
                        properties:
                          code:
                            type: string
                            description: >-
                              forbidden, not_found, invalid_params,
                              export_in_progress, data_unavailable or
                              internal_error
                          message:
                            type: string
                            description: What went wrong, in plain words
                  retry_after:
                    type: integer
                    description: 'Rate limits only: seconds to wait'
                  reset_time:
                    type: string
                    description: 'Hourly limit only: when the hour resets'
              examples:
                not_found:
                  value:
                    error:
                      code: not_found
                      message: Not found.
                  summary: Not readable with this key
        '422':
          description: >-
            Invalid params. `error.code` is `invalid_params` and `error.message`
            says which
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    description: >-
                      A message (authentication and rate limits) or { code,
                      message }
                    oneOf:
                      - type: string
                      - type: object
                        properties:
                          code:
                            type: string
                            description: >-
                              forbidden, not_found, invalid_params,
                              export_in_progress, data_unavailable or
                              internal_error
                          message:
                            type: string
                            description: What went wrong, in plain words
                  retry_after:
                    type: integer
                    description: 'Rate limits only: seconds to wait'
                  reset_time:
                    type: string
                    description: 'Hourly limit only: when the hour resets'
              examples:
                invalid_params:
                  value:
                    error:
                      code: invalid_params
                      message: user_id must be a user id
                  summary: A param that cannot be used
        '429':
          description: >-
            Rate limited: 2 seconds between calls and 1,000 creator analytics
            calls per key per hour. See `Retry-After` and the `X-RateLimit-*`
            headers
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    description: >-
                      A message (authentication and rate limits) or { code,
                      message }
                    oneOf:
                      - type: string
                      - type: object
                        properties:
                          code:
                            type: string
                            description: >-
                              forbidden, not_found, invalid_params,
                              export_in_progress, data_unavailable or
                              internal_error
                          message:
                            type: string
                            description: What went wrong, in plain words
                  retry_after:
                    type: integer
                    description: 'Rate limits only: seconds to wait'
                  reset_time:
                    type: string
                    description: 'Hourly limit only: when the hour resets'
              examples:
                interval:
                  value:
                    error: >-
                      Rate limit exceeded. Please wait 2 seconds between
                      requests.
                    retry_after: 2
                  summary: Less than 2 seconds since the last call
                hourly:
                  value:
                    error: Hourly rate limit of 1000 requests exceeded.
                    retry_after: 107
                    reset_time: '2026-11-03T23:00:00Z'
                  summary: Hourly limit reached
        '503':
          description: TikTok Shop data is unavailable right now; try again shortly
          content:
            application/json:
              examples:
                data_unavailable:
                  value:
                    error:
                      code: data_unavailable
                      message: >-
                        TikTok Shop data is unavailable right now. Try again
                        shortly.
                  summary: TikTok Shop data unavailable for a moment
              schema:
                type: object
                properties:
                  error:
                    description: >-
                      A message (authentication and rate limits) or { code,
                      message }
                    oneOf:
                      - type: string
                      - type: object
                        properties:
                          code:
                            type: string
                            description: >-
                              forbidden, not_found, invalid_params,
                              export_in_progress, data_unavailable or
                              internal_error
                          message:
                            type: string
                            description: What went wrong, in plain words
                  retry_after:
                    type: integer
                    description: 'Rate limits only: seconds to wait'
                  reset_time:
                    type: string
                    description: 'Hourly limit only: when the hour resets'
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.