Skip to main content
GET
/
model-hub
/
eval-sdk-code
/
Get evaluation SDK code snippet
curl --request GET \
  --url https://api.futureagi.com/model-hub/eval-sdk-code/ \
  --header 'X-Api-Key: <api-key>' \
  --header 'X-Secret-Key: <api-key>'
{
  "python": "<string>",
  "javascript": "<string>",
  "curl": "<string>"
}

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

Query Parameters

template_id
string<uuid>
required

Evaluation template ID

model
string

LLM model for the code snippet

mapping
string

Mapping configuration as JSON string

error_localizer
boolean

Response

SDK code snippet

python
string

Python code snippet

javascript
string

JavaScript code snippet

curl
string

cURL command snippet