curl -X 'GET' \
'http://observability.blueprinteq.ai/schemas' \
-H 'accept: application/json' \
-H 'X-Api-Key: 123'
curl -X 'GET' \
'http://observability.blueprinteq.ai/schemas/1' \
-H 'accept: application/json' \
-H 'X-Api-Key: 223'
curl -X 'POST' \
'https://observability.blueprinteq.ai/schemas' \
-H 'accept: application/json' \
-H 'X-Api-Key: 1233' \
-H 'Content-Type: application/json' \
-d '{
"_id": "string",
"available": true,
"created_at": "string",
"created_by": "string",
"event": "string",
"json": {
"additionalProp1": {}
},
"updated_at": "string",
"version": 0
}'
Record a single event based on the tenant’s defined schema.
This could be:
curl -X 'POST' \
'https://observability.blueprinteq.ai/events' \
-H 'accept: application/json' \
-H 'X-Api-Key: 1233' \
-H 'Content-Type: application/json' \
-d '{
"id": "evt_123",
"name": "invoice.created",
"payload": {},
"tenant_id": "acct_456",
"timestamp": "2024-01-15T12:34:56Z"
}'
Run powerful, raw SQL queries directly against the tenant’s dataset using BigQuery.
curl -X 'POST' \
'https://observability.blueprinteq.ai/events/query' \
-H 'accept: application/json' \
-H 'X-Api-Key: 123' \
-H 'Content-Type: application/json' \
-d '{
"sql": "SELECT * FROM events WHERE tenant_id='\''acct_456'\'' LIMIT 25"
}'
curl -X 'POST' \
'https://observability.blueprinteq.ai/events/query-csv' \
-H 'accept: application/json' \
-H 'X-Api-Key: 1233' \
-H 'Content-Type: application/json' \
-d '{
"id": "evt_123",
"name": "invoice.created",
"payload": {},
"tenant_id": "acct_456",
"timestamp": "2024-01-15T12:34:56Z"
}'