Benchmark
Adds a new prompt to a benchmark.
Changed onThe content is validated against the benchmark's prompt structure: a required segment must be filled and an unknown segment key is rejected.
post/benchmark/{benchmarkId}/prompt
Request
- Base URLhttps://api.rapidata.ai
- URLhttps://api.rapidata.ai/benchmark/{benchmarkId}/prompt
- AuthOpenID Connect (https://auth.rapidata.ai/.well-known/openid-configuration, scopes: openid, profile, email, offline_access, api)
Path parameters
benchmarkIdstring required
The id of the benchmark to add the prompt to.
Request body
Response
OK
Changes
- warning
removed the request property
- warning
removed the request property
- info
added the new optional request property
- warning
- info
the security scope
apiwas added to the endpoint's security schemeOpenIdConnect
- info