Get function
Changed onGet a function object by its id
Request
- Base URLhttps://api.braintrust.dev
- Auth
- HTTP bearer
- or none
Path parameters
Function 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 function object
Changes
- info
added
subschema #1subschema #2subschema #3subschema #4subschema #5subschema #6subschema #7subschema #8to the///response propertyanyOflist for the response status - info
removed
subschema #1subschema #2subschema #3subschema #4subschema #5subschema #6subschema #7subschema #8from the///response propertyanyOflist for the response status - 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
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
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
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
removed the
undefinedenum value from the/////response property for the response status
- info
- info
added
subschema #10: simulationto theresponse propertyanyOflist for the response status
- info