Skip to main content
POST
/
model-hub
/
update-eval-template
/
Update evaluation template
curl --request POST \
  --url https://api.futureagi.com/model-hub/update-eval-template/ \
  --header 'Content-Type: application/json' \
  --header 'X-Api-Key: <api-key>' \
  --header 'X-Secret-Key: <api-key>' \
  --data '{
  "template_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}'

Authorizations

X-Api-Key
string
header
required

API Key for authentication. Click here to access API Key

X-Secret-Key
string
header
required

Secret Key for authentication. Click here to access Secret Key

Body

application/json
template_id
string<uuid>
required

ID of the template to update

name
string

Updated template name

description
string

Updated description

config
object

Updated configuration

output_type
enum<string>
Available options:
Pass/Fail,
score,
choices
criteria
string

Response

Evaluation template updated successfully