API Reference
Scheduled Jobs
Background job management and scheduled tasks
Rotate Api Keys Job
Header Parameters
x-scheduled-job-secret*string
Scheduled job secret token
Response Body
application/json
application/json
curl -X POST "https://loading/api/scheduled/rotate-api-keys" \ -H "x-scheduled-job-secret: string"{}{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string",
"input": null,
"ctx": {}
}
]
}Cleanup Grace Periods Job
Header Parameters
x-scheduled-job-secret*string
Scheduled job secret token
Response Body
application/json
application/json
curl -X POST "https://loading/api/scheduled/cleanup-grace-periods" \ -H "x-scheduled-job-secret: string"{}{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string",
"input": null,
"ctx": {}
}
]
}Cleanup Device Sessions Job
Header Parameters
x-scheduled-job-secret*string
Scheduled job secret token
Response Body
application/json
application/json
curl -X POST "https://loading/api/scheduled/cleanup-device-sessions" \ -H "x-scheduled-job-secret: string"{}{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string",
"input": null,
"ctx": {}
}
]
}Cleanup Expired Tokens Job
Header Parameters
x-scheduled-job-secret*string
Scheduled job secret token
Response Body
application/json
application/json
curl -X POST "https://loading/api/scheduled/cleanup-expired-tokens" \ -H "x-scheduled-job-secret: string"{}{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string",
"input": null,
"ctx": {}
}
]
}curl -X GET "https://loading/api/scheduled/health"{}Evaluate Strategy Autopilots
Header Parameters
x-scheduled-job-secret*string
Scheduled job secret token
Response Body
application/json
application/json
curl -X POST "https://loading/api/scheduled/strategy-autopilot/evaluate" \ -H "x-scheduled-job-secret: string"{}{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string",
"input": null,
"ctx": {}
}
]
}