curl -X GET https://api.hypermodel.ai/api/v1/queries \
-H "X-API-Key: your-api-key"
const response = await fetch('https://api.hypermodel.ai/api/v1/queries', {
method: 'GET',
headers: {
'X-API-Key': 'your-api-key',
},
});
const data = await response.json();
import requests
response = requests.get(
'https://api.hypermodel.ai/api/v1/queries',
headers={
'X-API-Key': 'your-api-key',
},
)
data = response.json()
{
"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
}
API Reference
List Queries
List all queries with their current status
GET
/
api
/
v1
/
queries
curl -X GET https://api.hypermodel.ai/api/v1/queries \
-H "X-API-Key: your-api-key"
const response = await fetch('https://api.hypermodel.ai/api/v1/queries', {
method: 'GET',
headers: {
'X-API-Key': 'your-api-key',
},
});
const data = await response.json();
import requests
response = requests.get(
'https://api.hypermodel.ai/api/v1/queries',
headers={
'X-API-Key': 'your-api-key',
},
)
data = response.json()
{
"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
string
required
Your API key for authentication
Response Fields
array
number
Total number of queries
curl -X GET https://api.hypermodel.ai/api/v1/queries \
-H "X-API-Key: your-api-key"
const response = await fetch('https://api.hypermodel.ai/api/v1/queries', {
method: 'GET',
headers: {
'X-API-Key': 'your-api-key',
},
});
const data = await response.json();
import requests
response = requests.get(
'https://api.hypermodel.ai/api/v1/queries',
headers={
'X-API-Key': 'your-api-key',
},
)
data = response.json()
{
"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
