Authorizations
Most Braintrust endpoints are authenticated by providing your API key as a header Authorization: Bearer [api_key] to your HTTP request. You can create an API key in the Braintrust organization settings page.
Body
Any desired information about the new prompt object
Unique identifier for the project that the prompt belongs under
Name of the prompt
1Unique identifier for the prompt
1Textual description of the prompt
The prompt, model, and its parameters
A list of tags for the prompt
llm, scorer, task, tool Response
Returns the new prompt object
Unique identifier for the prompt
The transaction id of an event is unique to the network operation that processed the event insertion. Transaction ids are monotonically increasing over time and can be used to retrieve a versioned snapshot of the prompt (see the version parameter)
Unique identifier for the project that the prompt belongs under
A literal 'p' which identifies the object as a project prompt
p Unique identifier for the organization
Name of the prompt
Unique identifier for the prompt
Textual description of the prompt
Date of prompt creation
The prompt, model, and its parameters
A list of tags for the prompt
User-controlled metadata about the prompt
llm, scorer, task, tool