List Tunings
List Tunings
This endpoint gets a list of tunings for an app.
GET
/
v1
/
apps
/
{appId}
/
tunings
curl --location --request GET 'https://api.getmetal.io/v1/apps/{appId}/tunings' \
--header 'Content-Type: application/json' \
--header 'x-metal-api-key: <api-key>' \
--header 'x-metal-client-id: <client-id>' \
{
"data": [
{
"id": "1",
"app": "app-123",
"idA": "embedding-1",
"idB": "embedding-2",
"result": "-1"
},
{
"id": "2",
"app": "app-123",
"idA": "embedding-3",
"idB": "embedding-4",
"result": "1"
}
]
}
Auth Headers
An API key for your org.
A Client ID for your org.
Params
The App ID
Response
curl --location --request GET 'https://api.getmetal.io/v1/apps/{appId}/tunings' \
--header 'Content-Type: application/json' \
--header 'x-metal-api-key: <api-key>' \
--header 'x-metal-client-id: <client-id>' \
{
"data": [
{
"id": "1",
"app": "app-123",
"idA": "embedding-1",
"idB": "embedding-2",
"result": "-1"
},
{
"id": "2",
"app": "app-123",
"idA": "embedding-3",
"idB": "embedding-4",
"result": "1"
}
]
}
curl --location --request GET 'https://api.getmetal.io/v1/apps/{appId}/tunings' \
--header 'Content-Type: application/json' \
--header 'x-metal-api-key: <api-key>' \
--header 'x-metal-client-id: <client-id>' \
{
"data": [
{
"id": "1",
"app": "app-123",
"idA": "embedding-1",
"idB": "embedding-2",
"result": "-1"
},
{
"id": "2",
"app": "app-123",
"idA": "embedding-3",
"idB": "embedding-4",
"result": "1"
}
]
}