Skip to content

thread

Classes:

Name Description
Thread

Thread

Attributes:

Name Type Description
created_at int

The Unix timestamp (in seconds) for when the thread was created.

id str

The identifier, which can be referenced in API endpoints.

metadata Optional[object]

Set of 16 key-value pairs that can be attached to an object.

object Literal['thread']

The object type, which is always thread.

created_at instance-attribute

created_at: int

The Unix timestamp (in seconds) for when the thread was created.

id instance-attribute

id: str

The identifier, which can be referenced in API endpoints.

metadata class-attribute instance-attribute

metadata: Optional[object] = None

Set of 16 key-value pairs that can be attached to an object.

This can be useful for storing additional information about the object in a structured format. Keys can be a maximum of 64 characters long and values can be a maxium of 512 characters long.

object instance-attribute

object: Literal['thread']

The object type, which is always thread.