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

# Get chat by ID

> Get the chat settings and agent information by chat ID



## OpenAPI

````yaml /openapi.yaml get /api/embed/chat/{chatId}
openapi: 3.1.0
info:
  title: Nuwacom API
  description: API for Nuwacom application
  version: 1.0.0
servers:
  - url: https://{customer-tenant}.nuwacom.ai/
    description: Nuwacom API
security:
  - bearerAuth: []
paths:
  /api/embed/chat/{chatId}:
    get:
      tags:
        - Embedded Chat
      summary: Get chat by ID
      description: Get the chat settings and agent information by chat ID
      operationId: getApiEmbedChatByChatId
      parameters:
        - in: path
          name: chatId
          schema:
            type: string
            description: >-
              The specific embedded chat identifier (UUID or unique string) used
              to retrieve the chat settings and agent information for the
              embedded chat experience. This value is found in the embed URL
              (e.g., /embed/chat/{chatId}).
          required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  agent:
                    type: object
                    properties:
                      id:
                        type: string
                        description: >-
                          Agent UUID used to load the bot’s full profile (name,
                          system prompt, data sources) when the embed
                          initializes.
                    required:
                      - id
                  settings:
                    type: object
                    properties:
                      id:
                        type: string
                        description: >-
                          Settings UUID that points to the saved embed
                          configuration (colors, behavior toggles, etc.).
                      $avatar:
                        anyOf:
                          - type: string
                            nullable: true
                    required:
                      - id
                required:
                  - agent
                  - settings
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````