Conversations
Conversation threads and message history for AI Studio chat sessions. These endpoints let you send messages (with optional image attachments), list conversations, retrieve message history, and rename or delete conversation threads.
Endpoints
POST
Send message
Sends a message to a conversation and returns the model's reply. Include an image attachment for image-to-text models.
GET
List conversation messages
Returns the full message history for a conversation, in chronological order.
GET
Request an image upload URL
Returns a presigned URL for uploading an image attachment before sending it in a message.
Was this page helpful?