Skip to content

Image Base64 / URL not returned in Chat API response (only description available) #161

@bipin-adh

Description

@bipin-adh

When retrieving messages from the Chat Platform PageIndex, images are successfully returned and visible in the UI. However, when fetching the same data using the Chat API, the response only contains the image description, while the image URL or Base64 data is missing.

Steps to Reproduce

Upload or send an image in the Chat Platform.

Retrieve messages using the PageIndex interface → Image appears correctly.

Retrieve the same messages using the Chat API.

Observe the API response.

Expected Behavior
The Chat API response should include the image URL or Base64 representation of the image, similar to what is available in the PageIndex retrieval.

Actual Behavior
The API response only includes the image description, but the image URL/Base64 data is not returned.

Impact
This prevents programmatic access to images sent in the chat when using the API.

Additional Context

Platform: Chat Platform

Retrieval Method: Chat API

UI Retrieval (PageIndex): Works correctly

API Retrieval: Image metadata present, but no URL or Base64 data returned

If needed, I can provide sample request/response payloads. Or is there any other way to get image url ?

Thanks .

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions