GET
/
v1
/
indexes
/
{id}
/
queries
curl --location --request GET 'https://api.getmetal.io/v1/indexes/{id}/queries' \
--header 'x-metal-api-key: <api-key>' \
--header 'x-metal-client-id: <client-id>' \
{
  "data": [
    {
      "t": "2023-08-30T11:34:35.128Z",
      "d": 0.176956892014,
      "q": "Who is the best drummer of all time?"
      },
    {
      "t": "2023-08-29T11:34:18.099Z",
      "d": 0.156819581985,
      "q": "Which band is represented by the iconic mascot Eddie?"
    }
    // ... up to 100 items
  ]
}

Auth Headers

x-metal-api-key
string
required

An API key for your organization.

x-metal-client-id
string
required

A Client ID for your organization.

Params

id
string
required

The Index ID

Response

data
QueryData Array

Request Example