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

# Search terms, batch

> Get the search terms of up to 50 of your listings in one call, one result per listing in the order you asked, each with every term and its visits.

**Cost:** 1 API credit per live read.

> [!NOTE]
>
> Needs the seller's Chrome open somewhere, with the Alura extension and signed in to Etsy for this shop. The script or agent can run on another computer. An offline extension answers [`extension_offline`](https://docs.alura.io/errors/extension_offline); the [live status](https://docs.alura.io/api-reference/workspace/shops/live/get.md) can name a more specific connection problem. Errors cost no API credits. See [Chrome extension](https://docs.alura.io/api-reference/chrome-extension.md).

For synced sales and listing totals, see [shop stats](https://docs.alura.io/api-reference/workspace/stats/get.md), [variation sales](https://docs.alura.io/api-reference/workspace/stats/variations.md) and [listing stats](https://docs.alura.io/api-reference/workspace/listings/stats.md) under Your shop.

```bash
curl -G "https://api.alura.io/v1/workspace/listings/search-terms" \
  -H "Authorization: Bearer $ALURA_API_KEY" \
  --data-urlencode "listing_ids=1834720561,1834720562" \
  --data-urlencode "range=last_30"
```

Each listing's list is the one [Listing search terms](https://docs.alura.io/api-reference/workspace/listings/searchTerms.md) serves, read live from Etsy, without pages. Needs the `workspace:read` scope and the **Listing analytics** workspace permission.

## Read each result

| `status` | Meaning | What to do |
| - | - | - |
| `ok` | Read. `terms` holds every term, most visits first. | Nothing. |
| `failed` | That listing's read failed. `error.code` is the error its own read would answer. | Handle it as on [Listing search terms](https://docs.alura.io/api-reference/workspace/listings/searchTerms.md). |
| `not_read` | Not read in this call. | Ask for it again, after `error.retry_after_s` when set. |

One call makes at most 25 reads, and only while it has time left. A listing read on `max` can take more than one. The rest come back `not_read`.

When a read fails in a way that holds for every listing (Chrome offline, Etsy logged out or on another shop, a rate limit), the call stops there. The listings after it are `not_read` with that error.

Only listings whose list holds terms are charged. Empty lists and failures are free.


## OpenAPI

````yaml /openapi.json get /v1/workspace/listings/search-terms
openapi: 3.1.0
info:
  title: Alura API
  version: 1.0.0
  description: Etsy market research for scripts and AI assistants.
servers:
  - url: https://api.alura.io
security:
  - apiKey: []
paths:
  /v1/workspace/listings/search-terms:
    get:
      summary: Search terms, batch
      description: >-
        Each listing's search terms, as `GET
        /v1/workspace/listings/{id}/search-terms` serves them, for up to 50
        listings named in `listing_ids` (comma-separated), one result per
        listing in the order asked: `status` `ok` with every term (most visits
        first), `failed` with the `error` that listing's read answered, or
        `not_read`. Alura reads the listings one at a time, at most 25 reads per
        call (a listing read again on `max` takes more than one) and only while
        the call has time left; the rest come back `not_read`: ask for them
        again. When a read answers an error that holds for every listing (Chrome
        offline, Etsy logged out or on another shop, Etsy's security check or
        rate limit, too many live reads), Alura stops there and the listings
        after it are `not_read` with that error. Etsy reports visits for organic
        search terms, never impressions or clicks (those exist for ad search
        terms only: `GET /v1/workspace/ads/listings/{listing_id}/search-terms`).
        `range=max` (the default) is the listing's whole history on Etsy (its
        first day to today); `last_7`, `last_30`, `last_90`, `last_365` or
        `from`/`to` narrow it, and `range_applied` says what Etsy served. If
        Etsy fails on `max`, Alura reads again, then answers with a `hint` to
        ask for `last_30`. Read live from Etsy: it needs Chrome open with the
        Alura extension and logged into the shop on Etsy (`extension_offline`,
        `etsy_not_logged_in` or `etsy_shop_mismatch` say which is missing;
        `live_rate_limited` when the shop had too many live reads (2 at a time,
        30 a minute; wait the seconds in `Retry-After` or
        `retry_after_seconds`)). Needs the Listing analytics workspace
        permission. Costs 1 API credit per listing whose list holds terms; empty
        lists and failures are free.


        Cost: 1 API credit per live read.
      operationId: workspace.listings.searchTerms.batch
      parameters:
        - name: listing_ids
          in: query
          required: true
          description: >-
            1 to 50 Etsy listing IDs of the workspace's listings,
            comma-separated.
          schema:
            description: >-
              1 to 50 Etsy listing IDs of the workspace's listings,
              comma-separated.
            type: array
            items:
              type: string
            example:
              - '1834720561'
              - '1834720562'
          style: form
          explode: true
        - name: range
          in: query
          required: false
          description: >-
            `max` (default): every day Etsy has for the listing (Etsy's all-time
            view); or `last_7`, `last_30`, `last_90` or `last_365`: the last 7,
            30, 90 or 365 days to today. Not with `from`/`to`.
          schema:
            description: >-
              `max` (default): every day Etsy has for the listing (Etsy's
              all-time view); or `last_7`, `last_30`, `last_90` or `last_365`:
              the last 7, 30, 90 or 365 days to today. Not with `from`/`to`.
            type: string
            enum:
              - max
              - last_7
              - last_30
              - last_90
              - last_365
        - name: from
          in: query
          required: false
          description: >-
            First day (inclusive), `YYYY-MM-DD`. Not with `range`; a day before
            the longest window Etsy serves is capped there.
          schema:
            type: string
            pattern: ^[0-9]{4}-[0-9]{2}-[0-9]{2}$
            description: >-
              First day (inclusive), `YYYY-MM-DD`. Not with `range`; a day
              before the longest window Etsy serves is capped there.
        - name: to
          in: query
          required: false
          description: Last day (inclusive), `YYYY-MM-DD`. Default today. Not with `range`.
          schema:
            type: string
            pattern: ^[0-9]{4}-[0-9]{2}-[0-9]{2}$
            description: >-
              Last day (inclusive), `YYYY-MM-DD`. Default today. Not with
              `range`.
        - name: fields
          in: query
          required: false
          description: >-
            Comma-separated dotted paths to return; `id`, `object` and `as_of`
            always come back.
          schema:
            type: string
      responses:
        '200':
          description: OK
          headers:
            Request-Id:
              $ref: '#/components/headers/Request-Id'
            Alura-Credits-Cost:
              $ref: '#/components/headers/Alura-Credits-Cost'
            Alura-Credits-Remaining:
              $ref: '#/components/headers/Alura-Credits-Remaining'
          content:
            application/json:
              schema:
                type: object
                properties:
                  object:
                    type: string
                    const: workspace.listing_search_terms_batch
                  range:
                    type: string
                    enum:
                      - max
                      - last_7
                      - last_30
                      - last_90
                      - last_365
                      - custom
                    description: >-
                      The range asked for: `max` (the default) or a preset;
                      `custom` for `from`/`to`.
                  results:
                    type: array
                    items:
                      type: object
                      properties:
                        listing_id:
                          type: string
                        shop_id:
                          type: string
                        status:
                          type: string
                          enum:
                            - ok
                            - failed
                            - not_read
                          description: >-
                            `ok`: read; `failed`: Etsy or the browser refused it
                            (`error` says why); `not_read`: not read in this
                            call (ask for it again; `error` says why).
                        error:
                          anyOf:
                            - type: object
                              properties:
                                code:
                                  type: string
                                  description: >-
                                    The error code a single listing's read would
                                    answer (`etsy_changed`, `not_found`,
                                    `extension_offline`, `live_rate_limited`,
                                    ...), or `not_read`.
                                detail:
                                  type: string
                                retry_after_s:
                                  anyOf:
                                    - type: integer
                                    - type: 'null'
                                  description: >-
                                    Seconds to wait before asking again, when
                                    known.
                              required:
                                - code
                                - detail
                                - retry_after_s
                              additionalProperties: false
                            - type: 'null'
                        range_applied:
                          anyOf:
                            - type: object
                              properties:
                                from:
                                  type: string
                                  description: >-
                                    `YYYY-MM-DD`, on Etsy's calendar (US Eastern
                                    for every shop).
                                to:
                                  type: string
                                  description: >-
                                    `YYYY-MM-DD`, on Etsy's calendar (US Eastern
                                    for every shop).
                                granularity:
                                  anyOf:
                                    - type: string
                                      enum:
                                        - day
                                        - week
                                        - month
                                        - year
                                    - type: 'null'
                                  description: >-
                                    The bucket size Etsy served (daily on short
                                    ranges, yearly over a listing's whole
                                    history); null for lists without a series.
                              required:
                                - from
                                - to
                                - granularity
                              additionalProperties: false
                            - type: 'null'
                          description: >-
                            The window Etsy served, as its page states it; null
                            when nothing was served.
                        range_capped:
                          anyOf:
                            - type: boolean
                              description: >-
                                true when the window served is shorter than the
                                one asked for (`range_capped_reason` says why).
                                `max` is never capped.
                            - type: 'null'
                          description: As on one listing's list; null when it was not read.
                        range_capped_reason:
                          anyOf:
                            - type: string
                              enum:
                                - etsy_window
                                - before_data_start
                            - type: 'null'
                          description: >-
                            `etsy_window`: beyond the longest window Etsy serves
                            (past today; for shop search terms, more than 2
                            years back); `before_data_start`: before Etsy's
                            stats start (2019-10-07, or the listing's first
                            day). null when not capped.
                        total_terms:
                          anyOf:
                            - type: integer
                            - type: 'null'
                          description: >-
                            How many terms the listing's list holds; null when
                            it was not read.
                        terms:
                          anyOf:
                            - type: array
                              items:
                                type: object
                                properties:
                                  object:
                                    type: string
                                    const: workspace.search_term
                                  term:
                                    type: string
                                    description: >-
                                      What buyers searched before they visited,
                                      as Etsy shows it.
                                  visits:
                                    type: integer
                                    description: >-
                                      Visits from searches for the term over
                                      `range_applied` (Etsy search and Google
                                      together).
                                  visits_etsy:
                                    anyOf:
                                      - type: integer
                                      - type: 'null'
                                    description: >-
                                      Of those, visits from Etsy's own search;
                                      null when Etsy does not split them (the
                                      shop's list).
                                  visits_google:
                                    anyOf:
                                      - type: integer
                                      - type: 'null'
                                    description: >-
                                      Of those, visits from Google search; null
                                      when Etsy does not split them (the shop's
                                      list).
                                required:
                                  - object
                                  - term
                                  - visits
                                  - visits_etsy
                                  - visits_google
                                additionalProperties: false
                            - type: 'null'
                          description: >-
                            Every term, most visits first (ties by term); null
                            when not read.
                        notices:
                          type: array
                          items:
                            type: object
                            properties:
                              code:
                                type: string
                                description: >-
                                  `terms_unreadable` (Etsy sent terms Alura
                                  could not read; they are left out),
                                  `partial_series` (some buckets have no number:
                                  `missing` names them, and the totals they feed
                                  are null), `traffic_sources_unavailable` (the
                                  page had no readable traffic sources:
                                  `sources` or `social` is null). New codes may
                                  be added.
                              detail:
                                type: string
                              missing:
                                anyOf:
                                  - type: array
                                    items:
                                      type: object
                                      properties:
                                        from:
                                          type: string
                                          description: >-
                                            `YYYY-MM-DD`, on Etsy's calendar (US
                                            Eastern for every shop).
                                        to:
                                          type: string
                                          description: >-
                                            `YYYY-MM-DD`, on Etsy's calendar (US
                                            Eastern for every shop).
                                      required:
                                        - from
                                        - to
                                      additionalProperties: false
                                  - type: 'null'
                                description: >-
                                  `partial_series`: the buckets without a
                                  number; null for other notices.
                            required:
                              - code
                              - detail
                              - missing
                            additionalProperties: false
                          description: >-
                            As on one listing's list (`terms_unreadable`); empty
                            when not read.
                        fetched_at:
                          anyOf:
                            - type: string
                              description: ISO 8601, UTC.
                            - type: 'null'
                      required:
                        - listing_id
                        - shop_id
                        - status
                        - error
                        - range_applied
                        - range_capped
                        - range_capped_reason
                        - total_terms
                        - terms
                        - notices
                        - fetched_at
                      additionalProperties: false
                    description: One result per listing asked for, in the order asked.
                  reads:
                    type: integer
                    description: >-
                      Live reads of Etsy in this call: one per listing read, and
                      up to 2 more for a listing whose page Etsy was still
                      preparing on `range=max`.
                  source:
                    type: string
                    const: live
                required:
                  - object
                  - range
                  - results
                  - reads
                  - source
                additionalProperties: false
              example:
                object: workspace.listing_search_terms_batch
                range: max
                results:
                  - listing_id: '1834720561'
                    shop_id: '22841907'
                    status: ok
                    error: null
                    range_applied:
                      from: '2023-08-08'
                      to: '2026-10-17'
                      granularity: null
                    range_capped: false
                    range_capped_reason: null
                    total_terms: 5
                    terms:
                      - object: workspace.search_term
                        term: personalized mug
                        visits: 161
                        visits_etsy: 26
                        visits_google: 135
                      - object: workspace.search_term
                        term: custom coffee mug
                        visits: 97
                        visits_etsy: 61
                        visits_google: 36
                      - object: workspace.search_term
                        term: name mug
                        visits: 54
                        visits_etsy: 40
                        visits_google: 14
                      - object: workspace.search_term
                        term: gift for mom mug
                        visits: 23
                        visits_etsy: 23
                        visits_google: 0
                      - object: workspace.search_term
                        term: mug with name
                        visits: 23
                        visits_etsy: 9
                        visits_google: 14
                    notices: []
                    fetched_at: '2026-10-17T12:00:00.000Z'
                  - listing_id: '1834720562'
                    shop_id: '22841907'
                    status: ok
                    error: null
                    range_applied:
                      from: '2023-08-08'
                      to: '2026-10-17'
                      granularity: null
                    range_capped: false
                    range_capped_reason: null
                    total_terms: 5
                    terms:
                      - object: workspace.search_term
                        term: personalized mug
                        visits: 161
                        visits_etsy: 26
                        visits_google: 135
                      - object: workspace.search_term
                        term: custom coffee mug
                        visits: 97
                        visits_etsy: 61
                        visits_google: 36
                      - object: workspace.search_term
                        term: name mug
                        visits: 54
                        visits_etsy: 40
                        visits_google: 14
                      - object: workspace.search_term
                        term: gift for mom mug
                        visits: 23
                        visits_etsy: 23
                        visits_google: 0
                      - object: workspace.search_term
                        term: mug with name
                        visits: 23
                        visits_etsy: 9
                        visits_google: 14
                    notices: []
                    fetched_at: '2026-10-17T12:00:00.000Z'
                reads: 2
                source: live
        '400':
          $ref: '#/components/responses/Problem400'
        '401':
          $ref: '#/components/responses/Problem401'
        '402':
          $ref: '#/components/responses/Problem402'
        '403':
          $ref: '#/components/responses/Problem403'
        '404':
          description: Error. `not_found` carries `shop_id`.
          content:
            application/problem+json:
              schema:
                allOf:
                  - $ref: '#/components/schemas/Problem'
                  - type: object
                    properties:
                      shop_id:
                        description: The Etsy shop ID Alura read for.
                        type: string
        '405':
          $ref: '#/components/responses/Problem405'
        '409':
          description: >-
            Error. `etsy_not_logged_in` carries `shop_id`. `etsy_shop_mismatch`
            carries `shop_id`, `state`, `holder`, `last_served_at`, `action`.
            `holder_offline` carries `shop_id`, `state`, `holder`,
            `last_served_at`, `action`. `login_expired` carries `shop_id`,
            `state`, `holder`, `last_served_at`, `action`. `never_connected`
            carries `shop_id`, `state`, `holder`, `last_served_at`, `action`.
            `saved_shops_off` carries `shop_id`, `state`, `holder`,
            `last_served_at`, `action`. `etsy_refused` carries `shop_id`.
          content:
            application/problem+json:
              schema:
                allOf:
                  - $ref: '#/components/schemas/Problem'
                  - type: object
                    properties:
                      shop_id:
                        description: The Etsy shop ID Alura read for.
                        type: string
                      state:
                        description: >-
                          The shop's live state, the same as GET
                          /v1/workspace/live shows for it.
                        type: string
                        enum:
                          - login_expired
                          - etsy_shop_mismatch
                          - holder_offline
                          - never_connected
                          - saved_shops_off
                      holder:
                        description: >-
                          The browser the state is about; null when none holds
                          the shop, or it is not known.
                        anyOf:
                          - type: object
                            properties:
                              label:
                                type: string
                                description: >-
                                  The browser's name, as Settings lists it
                                  ("Chrome on macOS · 64NN").
                              last_seen_at:
                                description: >-
                                  When it was last online (ISO 8601); null when
                                  unknown.
                                type:
                                  - string
                                  - 'null'
                            required:
                              - label
                              - last_seen_at
                            additionalProperties: false
                          - type: 'null'
                      last_served_at:
                        description: >-
                          When a browser last served this shop (ISO 8601); null
                          when none did.
                        type:
                          - string
                          - 'null'
                      action:
                        description: What fixes it, in one sentence for the seller.
                        type: string
        '429':
          description: >-
            Error. `etsy_rate_limited` carries `shop_id`, `retry_after_seconds`.
            `live_rate_limited` carries `shop_id`, `retry_after_seconds`.
          content:
            application/problem+json:
              schema:
                allOf:
                  - $ref: '#/components/schemas/Problem'
                  - type: object
                    properties:
                      shop_id:
                        description: The Etsy shop ID Alura read for.
                        type: string
                      retry_after_seconds:
                        type: integer
                        minimum: 1
                        description: >-
                          Seconds to wait before retrying, the same as the
                          Retry-After header.
        '500':
          $ref: '#/components/responses/Problem500'
        '502':
          description: Error. `etsy_changed` carries `shop_id`.
          content:
            application/problem+json:
              schema:
                allOf:
                  - $ref: '#/components/schemas/Problem'
                  - type: object
                    properties:
                      shop_id:
                        description: The Etsy shop ID Alura read for.
                        type: string
        '503':
          description: >-
            Error. `extension_offline` carries `shop_id`. `etsy_challenge`
            carries `shop_id`. `etsy_unavailable` carries `shop_id`, `reason`.
            `live_data_paused` carries `shop_id`.
          content:
            application/problem+json:
              schema:
                allOf:
                  - $ref: '#/components/schemas/Problem'
                  - type: object
                    properties:
                      shop_id:
                        description: The Etsy shop ID Alura read for.
                        type: string
                      reason:
                        description: >-
                          A saved shop's browser context was busy; retry after
                          Retry-After.
                        type: string
                        const: shop_busy
        '504':
          description: Error. `upstream_timeout` carries `shop_id`, `hint`.
          content:
            application/problem+json:
              schema:
                allOf:
                  - $ref: '#/components/schemas/Problem'
                  - type: object
                    properties:
                      shop_id:
                        description: The Etsy shop ID Alura read for.
                        type: string
                      hint:
                        description: >-
                          After an Etsy-side failure on `range=max`, read again:
                          a shorter range that is likelier to answer.
                        type: object
                        properties:
                          range:
                            type: string
                            const: last_30
                        required:
                          - range
                        additionalProperties: false
      x-codeSamples:
        - lang: bash
          label: cURL
          source: >-
            curl
            "https://api.alura.io/v1/workspace/listings/search-terms?listing_ids=1834720561,1834720562"
            \
              -H "Authorization: Bearer $ALURA_API_KEY"
        - lang: typescript
          label: TypeScript
          source: >-
            const res = await
            fetch('https://api.alura.io/v1/workspace/listings/search-terms?listing_ids=1834720561,1834720562',
            {
              headers: {
                Authorization: `Bearer ${process.env.ALURA_API_KEY}`,
              },
            });

            console.log(await res.json());
        - lang: python
          label: Python
          source: |-
            import json
            import os
            import urllib.request

            request = urllib.request.Request(
                "https://api.alura.io/v1/workspace/listings/search-terms?listing_ids=1834720561,1834720562",
                headers={
                    "Authorization": f"Bearer {os.environ['ALURA_API_KEY']}",
                },
            )
            with urllib.request.urlopen(request) as response:
                print(json.load(response))
components:
  headers:
    Request-Id:
      description: '`req_` + ULID; quote it when reporting a problem.'
      schema:
        type: string
    Alura-Credits-Cost:
      description: API credits this call cost.
      schema:
        type: integer
    Alura-Credits-Remaining:
      description: >-
        API credits left in the workspace's monthly allowance, counting calls
        still in flight. Absent when it cannot be read right now.
      schema:
        type: integer
  responses:
    Problem400:
      description: Error
      content:
        application/problem+json:
          schema:
            $ref: '#/components/schemas/Problem'
          example:
            type: https://docs.alura.io/errors/invalid_request
            title: Invalid request
            status: 400
            code: invalid_request
            detail: Invalid request
            suggestion: Fix the request as the detail says, then send it again.
            retryable: false
            request_id: req_01JQ5W3H8M2N4P6R8T0V2X4Z6B
    Problem401:
      description: Error
      content:
        application/problem+json:
          schema:
            $ref: '#/components/schemas/Problem'
          example:
            type: https://docs.alura.io/errors/unauthorized
            title: Unauthorized
            status: 401
            code: unauthorized
            detail: Unauthorized
            suggestion: 'Send a valid API key as `Authorization: Bearer alura_sk_...`.'
            retryable: false
            request_id: req_01JQ5W3H8M2N4P6R8T0V2X4Z6B
    Problem402:
      description: Error
      content:
        application/problem+json:
          schema:
            $ref: '#/components/schemas/Problem'
          example:
            type: https://docs.alura.io/errors/credits_exhausted
            title: API credits exhausted
            status: 402
            code: credits_exhausted
            detail: API credits exhausted
            suggestion: Upgrade the plan or wait for the monthly reset.
            retryable: false
            request_id: req_01JQ5W3H8M2N4P6R8T0V2X4Z6B
    Problem403:
      description: Error
      content:
        application/problem+json:
          schema:
            $ref: '#/components/schemas/Problem'
          example:
            type: https://docs.alura.io/errors/plan_required
            title: Plan required
            status: 403
            code: plan_required
            detail: Plan required
            suggestion: Upgrade the workspace plan to use this operation.
            retryable: false
            request_id: req_01JQ5W3H8M2N4P6R8T0V2X4Z6B
    Problem405:
      description: Error
      content:
        application/problem+json:
          schema:
            $ref: '#/components/schemas/Problem'
          example:
            type: https://docs.alura.io/errors/method_not_allowed
            title: Method not allowed
            status: 405
            code: method_not_allowed
            detail: Method not allowed
            suggestion: Use one of the methods in the Allow header.
            retryable: false
            request_id: req_01JQ5W3H8M2N4P6R8T0V2X4Z6B
    Problem500:
      description: Error
      content:
        application/problem+json:
          schema:
            $ref: '#/components/schemas/Problem'
          example:
            type: https://docs.alura.io/errors/internal_error
            title: Internal error
            status: 500
            code: internal_error
            detail: Internal error
            suggestion: Retry; if it keeps failing, report the request_id.
            retryable: true
            request_id: req_01JQ5W3H8M2N4P6R8T0V2X4Z6B
  schemas:
    Problem:
      type: object
      description: RFC 9457 problem details.
      properties:
        type:
          type: string
          format: uri
        title:
          type: string
        status:
          type: integer
        code:
          type: string
          description: A code from the error catalog; new codes may be added.
          x-extensible-enum:
            - invalid_request
            - unknown_parameter
            - invalid_cursor
            - cursor_window_exceeded
            - invalid_reference
            - id_type_mismatch
            - invalid_keyword
            - shop_id_required
            - listing_not_publishable
            - sales_window_not_covered
            - range_too_long_for_interval
            - target_not_available
            - unauthorized
            - credits_exhausted
            - plan_required
            - insufficient_scope
            - workspace_required
            - workspace_locked
            - your_shop_unavailable
            - writes_suspended
            - browser_refused
            - live_data_not_enabled
            - send_not_enabled
            - attachments_not_enabled
            - self_approval
            - role_required
            - impersonation_refused
            - recent_sign_in_required
            - etsy_scope_required
            - etsy_partner_required
            - not_found
            - not_collected
            - not_found_on_etsy
            - shop_opted_out
            - method_not_allowed
            - conflict
            - settings_conflict
            - settings_unreadable
            - optimize_settings_required
            - optimize_plan_changed
            - optimize_run_applied
            - optimize_run_applying
            - optimize_run_too_large
            - optimize_nothing_to_apply
            - optimize_nothing_to_revert
            - optimize_shop_busy
            - runs_unreadable
            - run_not_resumable
            - suggestion_not_pending
            - draft_sent
            - draft_dismissed
            - draft_sending
            - conversation_changed
            - key_limit_reached
            - etsy_not_logged_in
            - etsy_shop_mismatch
            - holder_offline
            - login_expired
            - never_connected
            - etsy_refused
            - extension_update_required
            - attachment_used
            - attachment_expired
            - attachment_unavailable
            - saved_shops_off
            - review_already_replied
            - insights_search_unavailable
            - reconnect_required
            - settings_not_fetched
            - listing_busy
            - settings_busy
            - shop_create_busy
            - idempotency_partial_unverifiable
            - listing_has_variations
            - listing_sold_out
            - changed_since
            - change_not_revertable
            - media_changed
            - text_changed
            - inventory_changed
            - base_unverifiable
            - listing_in_ab_test
            - activation_skipped
            - idempotency_processing
            - confirmation_required
            - test_shop_active_cap
            - write_outcome_unknown
            - margin_required
            - unprocessable
            - knowledge_limit_reached
            - status_required
            - listing_removed_on_etsy
            - optimize_run_expired
            - endpoint_removed
            - rate_limited
            - throttled
            - daily_credit_cap_exceeded
            - credits_reserved
            - fetch_limit_reached
            - write_rate_limited
            - sync_cooldown
            - shop_write_budget_exhausted
            - live_rate_limited
            - etsy_rate_limited
            - internal_error
            - write_misconfigured
            - etsy_changed
            - upstream_unavailable
            - extension_offline
            - etsy_unavailable
            - etsy_challenge
            - live_data_paused
            - live_data_unavailable
            - credits_unavailable
            - service_unavailable
            - fetch_unavailable
            - create_lock_unavailable
            - writes_paused
            - etsy_capacity
            - upstream_timeout
        detail:
          type: string
        suggestion:
          type: string
        retryable:
          type: boolean
        request_id:
          type: string
        upgrade_url:
          type: string
          format: uri
          description: 'credits_exhausted and plan_required: where to upgrade the plan.'
        credits_needed:
          type: integer
          description: 'API credit refusals: what the call needed.'
        credits_remaining:
          type: integer
          description: >-
            API credit refusals: what is left (of the month, or of the day for
            daily_credit_cap_exceeded).
        resets_at:
          type: string
          format: date-time
          description: >-
            credits_exhausted and daily_credit_cap_exceeded: when the limit
            resets.
      required:
        - type
        - title
        - status
        - code
        - detail
        - suggestion
        - retryable
        - request_id
  securitySchemes:
    apiKey:
      type: http
      scheme: bearer
      description: 'An API key: `Authorization: Bearer alura_sk_...`.'

````

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