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

# Ai Status

> Read by whoever may generate, so the button shows only when it works.

The admin used to find out from GET /admin/settings/ai, which is `system`
(it holds the keys): every other role would get a 403 there. This answers
the one question they need, for this store only, and writes nothing.



## OpenAPI

````yaml https://api.vellaro.io/openapi.json get /api/v1/admin/ai/status
openapi: 3.1.0
info:
  title: Vellaro API
  description: Vellaro 2026 — E-commerce API
  version: 0.1.0
servers:
  - url: https://api.vellaro.io
    description: Produzione
security: []
tags: []
paths:
  /api/v1/admin/ai/status:
    get:
      tags:
        - admin:ai
      summary: Ai Status
      description: >-
        Read by whoever may generate, so the button shows only when it works.


        The admin used to find out from GET /admin/settings/ai, which is
        `system`

        (it holds the keys): every other role would get a 403 there. This
        answers

        the one question they need, for this store only, and writes nothing.
      operationId: ai_status_api_v1_admin_ai_status_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiResponse_AIStatusOut_'
      security:
        - HTTPBearer: []
components:
  schemas:
    ApiResponse_AIStatusOut_:
      properties:
        data:
          anyOf:
            - $ref: '#/components/schemas/AIStatusOut'
            - type: 'null'
        meta:
          anyOf:
            - $ref: '#/components/schemas/PaginationMeta'
            - type: 'null'
        error:
          anyOf:
            - type: string
            - type: 'null'
          title: Error
        error_code:
          anyOf:
            - type: string
            - type: 'null'
          title: Error Code
      type: object
      title: ApiResponse[AIStatusOut]
    AIStatusOut:
      properties:
        enabled:
          type: boolean
          title: Enabled
        configured:
          type: boolean
          title: Configured
      type: object
      required:
        - enabled
        - configured
      title: AIStatusOut
      description: >-
        Whether the "Generate" buttons can work for this store.


        `enabled`: the store switched AI on. `configured`: the chosen provider
        is

        supported and has a key. Neither the key nor the provider leaves the
        API.
    PaginationMeta:
      properties:
        page:
          type: integer
          title: Page
        page_size:
          type: integer
          title: Page Size
        total:
          type: integer
          title: Total
        total_pages:
          type: integer
          title: Total Pages
      type: object
      required:
        - page
        - page_size
        - total
        - total_pages
      title: PaginationMeta
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer

````

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