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

# Get Chat Artist

> Retrieve the artist associated with a specific chat room. Returns 404 if the chat does not exist or is not accessible by the authenticated caller.



## OpenAPI

````yaml api-reference/openapi/research.json GET /api/chats/{id}/artist
openapi: 3.1.0
info:
  title: Recoup API - Research
  description: >-
    API documentation for the Recoup platform - an AI agent platform for the
    music industry
  license:
    name: MIT
  version: 1.0.0
servers:
  - url: https://api.recoupable.dev
security: []
paths:
  /api/chats/{id}/artist:
    get:
      description: >-
        Retrieve the artist associated with a specific chat room. Returns 404 if
        the chat does not exist or is not accessible by the authenticated
        caller.
      parameters:
        - name: id
          in: path
          description: The unique identifier (UUID) of the chat room.
          required: true
          schema:
            type: string
            format: uuid
      responses:
        '200':
          description: Chat artist resolved successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetChatArtistResponse'
        '400':
          description: Bad request - invalid chat id
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetChatArtistErrorResponse'
        '401':
          description: Unauthorized - invalid or missing credentials
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Not found - chat does not exist or is not accessible
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetChatArtistErrorResponse'
components:
  schemas:
    GetChatArtistResponse:
      type: object
      required:
        - status
        - room_id
        - artist_id
        - artist_exists
      properties:
        status:
          type: string
          enum:
            - success
          description: Status of the request
          example: success
        room_id:
          type: string
          format: uuid
          description: UUID of the chat room
        artist_id:
          type: string
          format: uuid
          nullable: true
          description: >-
            UUID of the artist account associated with the chat, or null when no
            artist is linked
        artist_exists:
          type: boolean
          description: Whether an artist is linked to the chat room
    GetChatArtistErrorResponse:
      type: object
      required:
        - status
        - error
      properties:
        status:
          type: string
          enum:
            - error
          description: Status of the request
        error:
          type: string
          description: Error message describing what went wrong
    Error:
      required:
        - error
        - message
      type: object
      properties:
        error:
          type: integer
          format: int32
        message:
          type: string

````