Class: Braintrust::Models::CreateAPIKeyOutput

Inherits:
BaseModel
  • Object
show all
Defined in:
lib/braintrust/models/create_api_key_output.rb

Instance Attribute Summary collapse

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

#createdDateTime

Date of api key creation

Returns:

  • (DateTime)


28
# File 'lib/braintrust/models/create_api_key_output.rb', line 28

optional :created, DateTime

#idString

Unique identifier for the api key

Returns:

  • (String)


9
# File 'lib/braintrust/models/create_api_key_output.rb', line 9

required :id, String

#keyString

The raw API key. It will only be exposed this one time

Returns:

  • (String)


14
# File 'lib/braintrust/models/create_api_key_output.rb', line 14

required :key, String

#name_String

Name of the api key

Returns:

  • (String)


19
# File 'lib/braintrust/models/create_api_key_output.rb', line 19

required :name_, String

#org_idString

Unique identifier for the organization

Returns:

  • (String)


33
# File 'lib/braintrust/models/create_api_key_output.rb', line 33

optional :org_id, String

#preview_nameString

Returns:

  • (String)


23
# File 'lib/braintrust/models/create_api_key_output.rb', line 23

required :preview_name, String

#user_idString

Unique identifier for the user

Returns:

  • (String)


38
# File 'lib/braintrust/models/create_api_key_output.rb', line 38

optional :user_id, String