Skip to main content
GET
/
conversations
/
{conversation_id}
Python
from datagrid_ai import Datagrid

client = Datagrid(
    api_key="My API Key",
)
conversation = client.conversations.retrieve(
    "conversation_id",
)
print(conversation.id)
{
  "object": "conversation",
  "id": "<string>",
  "name": "<string>",
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

conversation_id
string
required

The id of the conversation to retrieve.

Response

200 - application/json

Retrieved conversation

The conversation object represents a conversation with an AI agent.

object
enum<string>
required

The object type, which is always conversation.

Available options:
conversation
id
string
required

The conversation identifier, which can be referenced in the API endpoints.

created_at
string<date-time>
required

The ISO string for when the conversation was created.

updated_at
string<date-time>
required

The ISO string for when the conversation was last updated.

name
string

The name of the conversation.

I