Annotation endpoints
API token endpoints
Dataset endpoints
Monitor endpoints
Notifier endpoints
Organization endpoints
Role-based access control endpoints
Starred queries endpoints
User endpoints
Starred queries endpoints
Create starred query
Create starred query
POST
/
apl-starred-queries
curl --request POST \
--url https://api.axiom.co/v2/apl-starred-queries \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"dataset": "<string>",
"kind": "apl",
"metadata": {},
"name": "<string>",
"query": {
"apl": "<string>",
"cursor": "<string>",
"defaultLimit": 123,
"defaultOrder": [
{
"desc": true,
"field": "<string>"
}
],
"endTime": "<string>",
"includeCursor": true,
"includeCursorField": true,
"libraries": [
"<string>"
],
"queryOptions": {
"disableCache": true,
"disableStats": true,
"disableTrace": true,
"maxDataPoints": 123,
"maxSeries": 123,
"noAggregation": true,
"noFill": true,
"noInterpolation": true,
"priority": "low",
"resolution": "<string>"
},
"startTime": "<string>",
"variables": {}
},
"who": "<string>"
}'
{
"dataset": "<string>",
"kind": "apl",
"metadata": {},
"name": "<string>",
"query": {
"apl": "<string>",
"cursor": "<string>",
"defaultLimit": 123,
"defaultOrder": [
{
"desc": true,
"field": "<string>"
}
],
"endTime": "<string>",
"includeCursor": true,
"includeCursorField": true,
"libraries": [
"<string>"
],
"queryOptions": {
"disableCache": true,
"disableStats": true,
"disableTrace": true,
"maxDataPoints": 123,
"maxSeries": 123,
"noAggregation": true,
"noFill": true,
"noInterpolation": true,
"priority": "low",
"resolution": "<string>"
},
"startTime": "<string>",
"variables": {}
},
"who": "<string>",
"id": "<string>"
}
Authorizations
The access token received from the authorization server in the OAuth 2.0 flow.
Body
application/json
Available options:
apl
Available options:
low
, medium
, high
Response
200 - application/json
StarredQueryWithId
Available options:
apl
Available options:
low
, medium
, high
Was this page helpful?
curl --request POST \
--url https://api.axiom.co/v2/apl-starred-queries \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"dataset": "<string>",
"kind": "apl",
"metadata": {},
"name": "<string>",
"query": {
"apl": "<string>",
"cursor": "<string>",
"defaultLimit": 123,
"defaultOrder": [
{
"desc": true,
"field": "<string>"
}
],
"endTime": "<string>",
"includeCursor": true,
"includeCursorField": true,
"libraries": [
"<string>"
],
"queryOptions": {
"disableCache": true,
"disableStats": true,
"disableTrace": true,
"maxDataPoints": 123,
"maxSeries": 123,
"noAggregation": true,
"noFill": true,
"noInterpolation": true,
"priority": "low",
"resolution": "<string>"
},
"startTime": "<string>",
"variables": {}
},
"who": "<string>"
}'
{
"dataset": "<string>",
"kind": "apl",
"metadata": {},
"name": "<string>",
"query": {
"apl": "<string>",
"cursor": "<string>",
"defaultLimit": 123,
"defaultOrder": [
{
"desc": true,
"field": "<string>"
}
],
"endTime": "<string>",
"includeCursor": true,
"includeCursorField": true,
"libraries": [
"<string>"
],
"queryOptions": {
"disableCache": true,
"disableStats": true,
"disableTrace": true,
"maxDataPoints": 123,
"maxSeries": 123,
"noAggregation": true,
"noFill": true,
"noInterpolation": true,
"priority": "low",
"resolution": "<string>"
},
"startTime": "<string>",
"variables": {}
},
"who": "<string>",
"id": "<string>"
}