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

# Get product by ID

> Get a specific product by ID. See [Products](https://docs.galtea.ai/concepts/product).



## OpenAPI

````yaml https://api.galtea.ai/openapi.json get /products/{id}
openapi: 3.0.0
info:
  version: 1.0.0
  title: Product Management Service API
  description: API documentation for Product Management Service
  contact:
    name: Galtea AI
servers:
  - url: https://api.galtea.ai
security:
  - bearerAuth: []
tags: []
externalDocs:
  description: Galtea Platform Documentation
  url: https://docs.galtea.ai
paths:
  /products/{id}:
    get:
      tags:
        - products
      summary: Get product by ID
      description: >-
        Get a specific product by ID. See
        [Products](https://docs.galtea.ai/concepts/product).
      operationId: getProductById
      parameters:
        - name: id
          in: path
          description: Product ID
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Product retrieved successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Product'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Product not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security:
        - bearerAuth: []
components:
  schemas:
    Product:
      type: object
      properties:
        id:
          type: string
          example: prod_123
        organizationId:
          type: string
          example: org_123
        userId:
          type: string
          nullable: true
          example: user_123
        name:
          type: string
          example: Sample Product
        description:
          type: string
          example: Sample product description
        riskLevel:
          type: string
          enum:
            - PROHIBITED
            - GPAI
            - GPAI_SYSTEMIC
            - HIGH
            - SPECIAL_SYSTEM
          nullable: true
          description: >-
            EU AI Act risk classification. PROHIBITED: banned AI use cases.
            GPAI: general-purpose AI. GPAI_SYSTEMIC: GPAI with systemic risk.
            HIGH: high-risk AI system. SPECIAL_SYSTEM: special-category system.
          example: HIGH
        operatorType:
          type: string
          enum:
            - AUTHORISED_REPRESENTATIVE
            - DEPLOYER
            - DISTRIBUTER
            - IMPORTER
            - PRODUCT_MANUFACTURER
            - PROVIDER
          nullable: true
          description: EU AI Act operator role classification.
          example: PROVIDER
        securityBoundaries:
          type: string
          nullable: true
          example: Internal use only
        capabilities:
          type: string
          nullable: true
          example: Can process and analyze data
        inabilities:
          type: string
          nullable: true
          example: Cannot process sensitive financial data
        policies:
          type: string
          nullable: true
          example: Must comply with data protection regulations
        otelOutputSourceRule:
          type: object
          nullable: true
          description: >-
            Recover a turn's user-visible output for templated or non-LLM
            replies whose final answer lives on a non-LLM span. Set per product
            or version (version wins). Applied only when no LLM output is
            present.
          properties:
            spanName:
              type: string
              description: Exact OTLP span name to match.
              example: ExecuteActivity:save_reply
            attribute:
              type: string
              description: >-
                Span attribute key holding the JSON blob (string or object) to
                read.
              example: app.arguments
            path:
              type: string
              description: >-
                JSONPath into the parsed attribute value, resolving to the
                output text.
              example: $[0].message.content
            predicate:
              type: object
              nullable: true
              description: >-
                Optional gate: apply the rule only when the node at
                predicate.path equals predicate.equals.
              properties:
                path:
                  type: string
                  example: $[0].message.role
                equals:
                  type: string
                  example: assistant
              required:
                - path
                - equals
          required:
            - spanName
            - attribute
            - path
          example:
            spanName: ExecuteActivity:save_reply
            attribute: app.arguments
            path: $[0].message.content
            predicate:
              path: $[0].message.role
              equals: assistant
        autoCloseScope:
          type: string
          enum:
            - NONE
            - DEVELOPMENT
            - PRODUCTION
            - ALL
          default: PRODUCTION
          description: >-
            Which sessions the product-level auto-close sweep considers.
            PRODUCTION (default) closes only production sessions; DEVELOPMENT
            only test sessions; ALL both; NONE disables auto-close.
          example: PRODUCTION
        autoCloseInactivityMinutes:
          type: integer
          minimum: 1
          default: 30
          description: >-
            Minutes of inactivity after which an eligible session is
            auto-closed.
          example: 30
        closedSessionInferenceCreationPolicy:
          type: string
          enum:
            - REJECT
            - IGNORE
          default: IGNORE
          description: >-
            What happens when a new inference result is created for an
            already-closed session. IGNORE (default) drops it silently; REJECT
            returns an error.
          example: IGNORE
        tags:
          type: array
          items:
            type: string
          example:
            - internal
            - beta
          description: >-
            Free-form labels for organizing products. Normalized to lowercase
            and trimmed on save.
        source:
          type: string
          nullable: true
          readOnly: true
          description: >-
            Demo key the product was cloned from (e.g. "banking"); null for
            user-created products. Server-stamped on demo-clone; not
            client-writable.
          example: banking
        createdAt:
          type: string
          format: date-time
        deletedAt:
          type: string
          format: date-time
          nullable: true
    Error:
      type: object
      properties:
        error:
          type: string
          example: Error type
        message:
          type: string
          example: Error message description
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        API key authorization. Pass your API key in the Authorization header as
        a Bearer token. Both new (`gsk_*`) and legacy (`gsk-`) API keys are
        accepted, e.g. `Authorization: Bearer gsk_...` or `Authorization: Bearer
        gsk-...`.

````