Skip to content

Stream a chat image attachment

GET
/api/workspaces/{workspaceId}/chat-images/{attachmentId}
curl --request GET \
--url http://localhost:8080/api/workspaces/example/chat-images/example \
--cookie auth_session=<auth_session>

Streams a chat image attachment from object storage. Private to the chat creator.

workspaceId
required
string
attachmentId
required
string

Attachment bytes.

Media typeapplication/octet-stream
string format: binary

Not modified (matched If-None-Match).

Invalid request

Media typeapplication/json
object
success
boolean
error
string

Example

{
"error": "Error message"
}

Internal server error

Media typeapplication/json
object
success
boolean
error
string

Example

{
"error": "Error message"
}