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.
Path Parameters
Prompt id
Query Parameters
Retrieve prompt at a specific version.
The version id can either be a transaction id (e.g. '1000192656880881099') or a version identifier (e.g. '81cd05ee665fdfb3').
Response
Returns the 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