ThreadData

sttp.openai.requests.threads.ThreadsResponseData.ThreadData
See theThreadData companion object
case class ThreadData(id: String, `object`: String, createdAt: Option[Int], metadata: Map[String, String])

Value parameters

createdAt

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

id

string The identifier, which can be referenced in API endpoints.

metadata

map 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. For more information please visit: https://platform.openai.com/docs/api-reference/threads/object

object

string The object type, which is always thread.

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product