Class: Braintrust::Models::APIKey
- Defined in:
- lib/braintrust/models/api_key.rb
Instance Attribute Summary collapse
-
#created ⇒ DateTime
Date of api key creation.
-
#id ⇒ String
Unique identifier for the api key.
-
#name_ ⇒ String
Name of the api key.
-
#org_id ⇒ String
Unique identifier for the organization.
- #preview_name ⇒ String
-
#user_id ⇒ String
Unique identifier for the user.
Method Summary
Methods inherited from BaseModel
#[], #initialize, #inspect, #to_h, #to_s
Constructor Details
This class inherits a constructor from Braintrust::BaseModel
Instance Attribute Details
#created ⇒ DateTime
Date of api key creation
23 |
# File 'lib/braintrust/models/api_key.rb', line 23 optional :created, DateTime |
#id ⇒ String
Unique identifier for the api key
9 |
# File 'lib/braintrust/models/api_key.rb', line 9 required :id, String |
#name_ ⇒ String
Name of the api key
14 |
# File 'lib/braintrust/models/api_key.rb', line 14 required :name_, String |
#org_id ⇒ String
Unique identifier for the organization
28 |
# File 'lib/braintrust/models/api_key.rb', line 28 optional :org_id, String |
#preview_name ⇒ String
18 |
# File 'lib/braintrust/models/api_key.rb', line 18 required :preview_name, String |
#user_id ⇒ String
Unique identifier for the user
33 |
# File 'lib/braintrust/models/api_key.rb', line 33 optional :user_id, String |