main
1# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
3from typing_extensions import Literal
4
5from ..._models import BaseModel
6
7__all__ = ["Conversation"]
8
9
10class Conversation(BaseModel):
11 id: str
12 """The unique ID of the conversation."""
13
14 created_at: int
15 """
16 The time at which the conversation was created, measured in seconds since the
17 Unix epoch.
18 """
19
20 metadata: object
21 """Set of 16 key-value pairs that can be attached to an object.
22
23 This can be useful for storing additional information about the object in a
24 structured format, and querying for objects via API or the dashboard. Keys are
25 strings with a maximum length of 64 characters. Values are strings with a
26 maximum length of 512 characters.
27 """
28
29 object: Literal["conversation"]
30 """The object type, which is always `conversation`."""