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

# The Inspiration feed of published collections, one page at a time

> Returns one page of collections other Depict brands published in the last 30 days, for browsing ideas: filter by features used, text, or brands live with a product; sort by likes or recency. Also returns the total and chip counts. `merchant_id` scopes authorization only; the feed spans all brands. Read-only.



## OpenAPI

````yaml /api-reference/openapi/lite.json get /inspiration
openapi: 3.1.0
info:
  title: Search & Merchandising API
  version: 1.0.0
  description: >-
    REST API behind Depict: Search & Merchandising, the native Shopify app:
    onboarding, collections, boost & bury, dashboards, A/B testing and
    multi-store management. Endpoints are served under the /api/lite prefix and
    are authenticated with the Shopify session token that App Bridge issues to
    the embedded app.
servers:
  - url: /api/lite
security:
  - ShopifySessionToken: []
paths:
  /inspiration:
    get:
      summary: The Inspiration feed of published collections, one page at a time
      description: >-
        Returns one page of collections other Depict brands published in the
        last 30 days, for browsing ideas: filter by features used, text, or
        brands live with a product; sort by likes or recency. Also returns the
        total and chip counts. `merchant_id` scopes authorization only; the feed
        spans all brands. Read-only.
      operationId: inspirationFeed
      parameters:
        - schema:
            type: string
            description: Lite merchant id, e.g. `shopify-<shop id>`.
          required: true
          description: Lite merchant id, e.g. `shopify-<shop id>`.
          name: merchant_id
          in: query
        - schema:
            type: string
            enum:
              - popular
              - published_at
            default: popular
            description: popular = most liked first; published_at = newest first.
          required: false
          description: popular = most liked first; published_at = newest first.
          name: sort_order
          in: query
        - schema:
            type: string
            description: >-
              Comma-separated features (content_block, product_duplicate,
              image_setting); a row must use all of them.
          required: false
          description: >-
            Comma-separated features (content_block, product_duplicate,
            image_setting); a row must use all of them.
          name: features
          in: query
        - schema:
            type: string
            description: Case-insensitive match on the collection title or the brand name.
          required: false
          description: Case-insensitive match on the collection title or the brand name.
          name: q
          in: query
        - schema:
            type: string
            enum:
              - search
              - recs
            description: Only brands entitled to this Depict product.
          required: false
          description: Only brands entitled to this Depict product.
          name: live
          in: query
        - schema:
            type: integer
            description: Page size, clamped to 1..48 (default 24).
          required: false
          description: Page size, clamped to 1..48 (default 24).
          name: limit
          in: query
        - schema:
            type: integer
            description: Rows to skip, floored at 0.
          required: false
          description: Rows to skip, floored at 0.
          name: offset
          in: query
      responses:
        '200':
          description: One page.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InspirationFeedResponse'
        '400':
          description: merchant_id is missing, or a query parameter is invalid.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Detail'
        '401':
          description: Not authenticated.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Detail'
        '403':
          description: Authenticated, but this identity may not call the API.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Detail'
        '404':
          description: Merchant not found for this caller.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Detail'
        '500':
          description: Internal error.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Detail'
components:
  schemas:
    InspirationFeedResponse:
      type: object
      properties:
        items:
          type: array
          items:
            $ref: '#/components/schemas/InspirationFeedItem'
        total:
          type: integer
          description: Rows matching the filters, across all pages.
        feature_counts:
          type: object
          properties:
            content_block:
              type: integer
            product_duplicate:
              type: integer
            image_setting:
              type: integer
          description: >-
            Rows in the 30-day window using each feature, before the feature
            filter.
        search_live_count:
          type: integer
          description: Rows whose brand has search, before the filters.
        recs_live_count:
          type: integer
          description: Rows whose brand has recommendations, before the filters.
        limit:
          type: integer
        offset:
          type: integer
      required:
        - items
        - total
        - feature_counts
        - search_live_count
        - recs_live_count
        - limit
        - offset
    Detail:
      type: object
      properties:
        detail:
          type: string
      required:
        - detail
      description: 'Every 4xx/5xx body: `{detail}`.'
    InspirationFeedItem:
      type: object
      properties:
        merchant_id:
          type: string
        collection_id:
          type: string
        title:
          type: string
        handle:
          type: string
        preview_url:
          type: string
          description: PNG render of the published collection page.
        used_features:
          type: array
          items:
            type: string
            enum:
              - content_block
              - product_duplicate
              - image_setting
          description: Depict features the collection uses.
        likes:
          type: integer
        published_at:
          type: string
        merchant_display_name:
          type: string
        shopify_base_url:
          type: string
        search_live:
          type: boolean
          description: The brand is entitled to Depict search.
        recs_live:
          type: boolean
          description: The brand is entitled to Depict recommendations.
      required:
        - merchant_id
        - collection_id
        - title
        - handle
        - preview_url
        - used_features
        - likes
        - published_at
        - merchant_display_name
        - shopify_base_url
        - search_live
        - recs_live
  securitySchemes:
    ShopifySessionToken:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: >-
        Shopify App Bridge session token of the embedded Depict: Search &
        Merchandising app. The shop in the token determines the merchant;
        merchant_id parameters must belong to that shop.

````