class

OpenAI::Project

Inherits JSON::Serializable < Reference < Object

Represents an individual project.

Constructors

new(id : String = "", object : ProjectObject = ProjectObject::OrganizationProject, name : String = "", created_at : Int64 = 0, archived_at : ProjectArchivedAt | Nil = nil, status : ProjectStatus = ProjectStatus::Active)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

archived_at
Source
archived_at=(archived_at : ProjectArchivedAt | Nil)
Source
created_at

The Unix timestamp (in seconds) of when the project was created.

Source
created_at=(created_at : Int64)

The Unix timestamp (in seconds) of when the project was created.

Source
id

The identifier, which can be referenced in API endpoints

Source
id=(id : String)

The identifier, which can be referenced in API endpoints

Source
name

The name of the project. This appears in reporting.

Source
name=(name : String)

The name of the project. This appears in reporting.

Source
object

The object type, which is always organization.project

Source
object=(object : ProjectObject)

The object type, which is always organization.project

Source
status

active or archived

Source
status=(status : ProjectStatus)

active or archived

Source