SDKs
cURL Examples
Use the CubeStack API with cURL.
Was this page helpful?
⌘I
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Use the CubeStack API with cURL.
curl "https://api.cubestack.app/api/v1/{project}/{cube}?_page=1&_pageSize=10" \
-H "X-Api-Key: your-api-key"
curl "https://api.cubestack.app/api/v1/{project}/{cube}/{id}" \
-H "X-Api-Key: your-api-key"
curl -X POST "https://api.cubestack.app/api/v1/{project}/{cube}" \
-H "X-Api-Key: your-api-key" \
-H "Content-Type: application/json" \
-d '{
"title": "New Record",
"content": "Record content"
}'
curl -X PUT "https://api.cubestack.app/api/v1/{project}/{cube}/{id}" \
-H "X-Api-Key: your-api-key" \
-H "Content-Type: application/json" \
-d '{
"title": "Updated Title"
}'
curl -X DELETE "https://api.cubestack.app/api/v1/{project}/{cube}/{id}" \
-H "X-Api-Key: your-api-key"
# Exact match
curl "https://api.cubestack.app/api/v1/{project}/{cube}?status=eq:published" \
-H "X-Api-Key: your-api-key"
# Multiple filters
curl "https://api.cubestack.app/api/v1/{project}/{cube}?status=eq:published&price=gt:50" \
-H "X-Api-Key: your-api-key"
curl "https://api.cubestack.app/api/v1/{project}/{cube}?_sort=created_at&_order=desc" \
-H "X-Api-Key: your-api-key"
curl "https://api.cubestack.app/api/v1/{project}/{cube}"
Was this page helpful?