Skip to main content
GET
/
api
/
v1
/
queries
curl -X GET https://api.hypermodel.ai/api/v1/queries \
  -H "X-API-Key: your-api-key"
{
  "queries": [
    {
      "id": "query_1234567890_abc123",
      "status": "completed",
      "destination": {
        "type": "URL"
      },
      "createdAt": "2025-01-01T00:00:00Z",
      "updatedAt": "2025-01-01T00:01:00Z"
    },
    {
      "id": "query_0987654321_xyz789",
      "status": "processing",
      "destination": {
        "type": "Snowflake"
      },
      "createdAt": "2025-01-01T00:02:00Z",
      "updatedAt": "2025-01-01T00:02:30Z"
    },
    {
      "id": "query_1111222233_def456",
      "status": "pending",
      "destination": {
        "type": "Sheets"
      },
      "createdAt": "2025-01-01T00:03:00Z",
      "updatedAt": "2025-01-01T00:03:00Z"
    }
  ],
  "total": 3
}

Authentication

X-API-Key
string
required
Your API key for authentication

Response Fields

queries
array
Array of query objects
total
number
Total number of queries
curl -X GET https://api.hypermodel.ai/api/v1/queries \
  -H "X-API-Key: your-api-key"
{
  "queries": [
    {
      "id": "query_1234567890_abc123",
      "status": "completed",
      "destination": {
        "type": "URL"
      },
      "createdAt": "2025-01-01T00:00:00Z",
      "updatedAt": "2025-01-01T00:01:00Z"
    },
    {
      "id": "query_0987654321_xyz789",
      "status": "processing",
      "destination": {
        "type": "Snowflake"
      },
      "createdAt": "2025-01-01T00:02:00Z",
      "updatedAt": "2025-01-01T00:02:30Z"
    },
    {
      "id": "query_1111222233_def456",
      "status": "pending",
      "destination": {
        "type": "Sheets"
      },
      "createdAt": "2025-01-01T00:03:00Z",
      "updatedAt": "2025-01-01T00:03:00Z"
    }
  ],
  "total": 3
}
Queries are sorted by creation date (newest first)
I