Get prompt
Changed onGet a prompt object by its id
Request
- Base URLhttps://api.braintrust.dev
- Auth
- HTTP bearer
- or none
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').
Filter by environment slug. Cannot be used together with version.
For GET /v1/prompt, environment resolution currently requires the request to match a single prompt. If multiple prompts match, the endpoint returns 400 (for example when limit=1 is not set). Use limit=1 or other filters (for example slug, project_id) to narrow results.
Response
Returns the prompt object
Changes
- info
removed the
undefinedenum value from the////////response property for the response status - info
removed the
undefinedenum value from the/////response property for the response status
- info
- info
added the optional property
////to the response with the status
- info