Class: Braintrust::Models::CreateAPIKeyOutput
- Defined in:
- lib/braintrust/models/create_api_key_output.rb
Instance Attribute Summary collapse
-
#created ⇒ DateTime
Date of api key creation.
-
#id ⇒ String
Unique identifier for the api key.
-
#key ⇒ String
The raw 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
28 |
# File 'lib/braintrust/models/create_api_key_output.rb', line 28 optional :created, DateTime |
#id ⇒ String
Unique identifier for the api key
9 |
# File 'lib/braintrust/models/create_api_key_output.rb', line 9 required :id, String |
#key ⇒ String
The raw API key. It will only be exposed this one time
14 |
# File 'lib/braintrust/models/create_api_key_output.rb', line 14 required :key, String |
#name_ ⇒ String
Name of the api key
19 |
# File 'lib/braintrust/models/create_api_key_output.rb', line 19 required :name_, String |
#org_id ⇒ String
Unique identifier for the organization
33 |
# File 'lib/braintrust/models/create_api_key_output.rb', line 33 optional :org_id, String |
#preview_name ⇒ String
23 |
# File 'lib/braintrust/models/create_api_key_output.rb', line 23 required :preview_name, String |
#user_id ⇒ String
Unique identifier for the user
38 |
# File 'lib/braintrust/models/create_api_key_output.rb', line 38 optional :user_id, String |