Run an ad-hoc check without saving it
curl --request POST \
--url https://app.aiaxoniq.com/api/synthetics/test \
--header 'Content-Type: application/json' \
--cookie oiq_token= \
--data '
{
"type": "<string>",
"spec": {},
"request": {},
"assertions": [
{}
],
"host": "<string>",
"port": 32768,
"server_name": "<string>",
"hostname": "<string>",
"record_type": "<string>",
"dns_server": "<string>",
"timeout_ms": 123,
"steps": [
{}
],
"variables": {},
"max_duration_ms": 123
}
'import requests
url = "https://app.aiaxoniq.com/api/synthetics/test"
payload = {
"type": "<string>",
"spec": {},
"request": {},
"assertions": [{}],
"host": "<string>",
"port": 32768,
"server_name": "<string>",
"hostname": "<string>",
"record_type": "<string>",
"dns_server": "<string>",
"timeout_ms": 123,
"steps": [{}],
"variables": {},
"max_duration_ms": 123
}
headers = {
"cookie": "oiq_token=",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {cookie: 'oiq_token=', 'Content-Type': 'application/json'},
body: JSON.stringify({
type: '<string>',
spec: {},
request: {},
assertions: [{}],
host: '<string>',
port: 32768,
server_name: '<string>',
hostname: '<string>',
record_type: '<string>',
dns_server: '<string>',
timeout_ms: 123,
steps: [{}],
variables: {},
max_duration_ms: 123
})
};
fetch('https://app.aiaxoniq.com/api/synthetics/test', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://app.aiaxoniq.com/api/synthetics/test",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'type' => '<string>',
'spec' => [
],
'request' => [
],
'assertions' => [
[
]
],
'host' => '<string>',
'port' => 32768,
'server_name' => '<string>',
'hostname' => '<string>',
'record_type' => '<string>',
'dns_server' => '<string>',
'timeout_ms' => 123,
'steps' => [
[
]
],
'variables' => [
],
'max_duration_ms' => 123
]),
CURLOPT_COOKIE => "oiq_token=",
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://app.aiaxoniq.com/api/synthetics/test"
payload := strings.NewReader("{\n \"type\": \"<string>\",\n \"spec\": {},\n \"request\": {},\n \"assertions\": [\n {}\n ],\n \"host\": \"<string>\",\n \"port\": 32768,\n \"server_name\": \"<string>\",\n \"hostname\": \"<string>\",\n \"record_type\": \"<string>\",\n \"dns_server\": \"<string>\",\n \"timeout_ms\": 123,\n \"steps\": [\n {}\n ],\n \"variables\": {},\n \"max_duration_ms\": 123\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("cookie", "oiq_token=")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://app.aiaxoniq.com/api/synthetics/test")
.header("cookie", "oiq_token=")
.header("Content-Type", "application/json")
.body("{\n \"type\": \"<string>\",\n \"spec\": {},\n \"request\": {},\n \"assertions\": [\n {}\n ],\n \"host\": \"<string>\",\n \"port\": 32768,\n \"server_name\": \"<string>\",\n \"hostname\": \"<string>\",\n \"record_type\": \"<string>\",\n \"dns_server\": \"<string>\",\n \"timeout_ms\": 123,\n \"steps\": [\n {}\n ],\n \"variables\": {},\n \"max_duration_ms\": 123\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.aiaxoniq.com/api/synthetics/test")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["cookie"] = 'oiq_token='
request["Content-Type"] = 'application/json'
request.body = "{\n \"type\": \"<string>\",\n \"spec\": {},\n \"request\": {},\n \"assertions\": [\n {}\n ],\n \"host\": \"<string>\",\n \"port\": 32768,\n \"server_name\": \"<string>\",\n \"hostname\": \"<string>\",\n \"record_type\": \"<string>\",\n \"dns_server\": \"<string>\",\n \"timeout_ms\": 123,\n \"steps\": [\n {}\n ],\n \"variables\": {},\n \"max_duration_ms\": 123\n}"
response = http.request(request)
puts response.read_bodySynthetic monitoring
Run an ad-hoc check without saving it
Dispatches one probe through the runner pool and polls Redis for the result (35s timeout). Rate limited to 30/min per tenant — without that cap an EDITOR can drive arbitrary external endpoints at unbounded QPS.
POST
/
api
/
synthetics
/
test
Run an ad-hoc check without saving it
curl --request POST \
--url https://app.aiaxoniq.com/api/synthetics/test \
--header 'Content-Type: application/json' \
--cookie oiq_token= \
--data '
{
"type": "<string>",
"spec": {},
"request": {},
"assertions": [
{}
],
"host": "<string>",
"port": 32768,
"server_name": "<string>",
"hostname": "<string>",
"record_type": "<string>",
"dns_server": "<string>",
"timeout_ms": 123,
"steps": [
{}
],
"variables": {},
"max_duration_ms": 123
}
'import requests
url = "https://app.aiaxoniq.com/api/synthetics/test"
payload = {
"type": "<string>",
"spec": {},
"request": {},
"assertions": [{}],
"host": "<string>",
"port": 32768,
"server_name": "<string>",
"hostname": "<string>",
"record_type": "<string>",
"dns_server": "<string>",
"timeout_ms": 123,
"steps": [{}],
"variables": {},
"max_duration_ms": 123
}
headers = {
"cookie": "oiq_token=",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {cookie: 'oiq_token=', 'Content-Type': 'application/json'},
body: JSON.stringify({
type: '<string>',
spec: {},
request: {},
assertions: [{}],
host: '<string>',
port: 32768,
server_name: '<string>',
hostname: '<string>',
record_type: '<string>',
dns_server: '<string>',
timeout_ms: 123,
steps: [{}],
variables: {},
max_duration_ms: 123
})
};
fetch('https://app.aiaxoniq.com/api/synthetics/test', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://app.aiaxoniq.com/api/synthetics/test",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'type' => '<string>',
'spec' => [
],
'request' => [
],
'assertions' => [
[
]
],
'host' => '<string>',
'port' => 32768,
'server_name' => '<string>',
'hostname' => '<string>',
'record_type' => '<string>',
'dns_server' => '<string>',
'timeout_ms' => 123,
'steps' => [
[
]
],
'variables' => [
],
'max_duration_ms' => 123
]),
CURLOPT_COOKIE => "oiq_token=",
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://app.aiaxoniq.com/api/synthetics/test"
payload := strings.NewReader("{\n \"type\": \"<string>\",\n \"spec\": {},\n \"request\": {},\n \"assertions\": [\n {}\n ],\n \"host\": \"<string>\",\n \"port\": 32768,\n \"server_name\": \"<string>\",\n \"hostname\": \"<string>\",\n \"record_type\": \"<string>\",\n \"dns_server\": \"<string>\",\n \"timeout_ms\": 123,\n \"steps\": [\n {}\n ],\n \"variables\": {},\n \"max_duration_ms\": 123\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("cookie", "oiq_token=")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://app.aiaxoniq.com/api/synthetics/test")
.header("cookie", "oiq_token=")
.header("Content-Type", "application/json")
.body("{\n \"type\": \"<string>\",\n \"spec\": {},\n \"request\": {},\n \"assertions\": [\n {}\n ],\n \"host\": \"<string>\",\n \"port\": 32768,\n \"server_name\": \"<string>\",\n \"hostname\": \"<string>\",\n \"record_type\": \"<string>\",\n \"dns_server\": \"<string>\",\n \"timeout_ms\": 123,\n \"steps\": [\n {}\n ],\n \"variables\": {},\n \"max_duration_ms\": 123\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.aiaxoniq.com/api/synthetics/test")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["cookie"] = 'oiq_token='
request["Content-Type"] = 'application/json'
request.body = "{\n \"type\": \"<string>\",\n \"spec\": {},\n \"request\": {},\n \"assertions\": [\n {}\n ],\n \"host\": \"<string>\",\n \"port\": 32768,\n \"server_name\": \"<string>\",\n \"hostname\": \"<string>\",\n \"record_type\": \"<string>\",\n \"dns_server\": \"<string>\",\n \"timeout_ms\": 123,\n \"steps\": [\n {}\n ],\n \"variables\": {},\n \"max_duration_ms\": 123\n}"
response = http.request(request)
puts response.read_bodyAuthorizations
sessionCookiebearerAuth
Query Parameters
Tenant identifier. Overwritten from the authenticated session; a value naming a different tenant is refused with 403.
Required string length:
1 - 64Pattern:
^[A-Za-z0-9][A-Za-z0-9_-]*$Body
application/json
Maximum string length:
32Check spec. Validated and normalised by validateCheckSpec().
Maximum string length:
512Required range:
1 <= x <= 65535Maximum string length:
512Maximum string length:
512Maximum string length:
16Maximum string length:
512Response
200
Success
⌘I