Otoroshi Admin API
maif · Developer Tools
Admin API of the Otoroshi reverse proxy
Authentication
No authentication requiredFree to use with no key needed.
Sample Requests
GET
Return current Otoroshi health
Import the full state of Otoroshi as a file
https://api.apis.guru/v2/specs/maif.local/otoroshi/1.5.0-dev/health
Hover any highlighted part to learn what it does
curl -X GET "https://api.apis.guru/v2/specs/maif.local/otoroshi/1.5.0-dev/health"
import requests
response = requests.get(
"https://api.apis.guru/v2/specs/maif.local/otoroshi/1.5.0-dev/health",
)
print(response.json())const url = 'https://api.apis.guru/v2/specs/maif.local/otoroshi/1.5.0-dev/health'; const response = await fetch(url); const data = await response.json(); console.log(data);
package main
import (
"fmt"
"io"
"net/http"
)
func main() {
targetURL := "https://api.apis.guru/v2/specs/maif.local/otoroshi/1.5.0-dev/health"
req, _ := http.NewRequest("GET", targetURL, nil)
client := &http.Client{}
resp, _ := client.Do(req)
defer resp.Body.Close()
body, _ := io.ReadAll(resp.Body)
fmt.Println(string(body))
}require "net/http"
require "json"
uri = URI("https://api.apis.guru/v2/specs/maif.local/otoroshi/1.5.0-dev/health")
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == "https"
req = Net::HTTP::Get.new(uri)
res = http.request(req)
puts JSON.parse(res.body)<?php
$url = "https://api.apis.guru/v2/specs/maif.local/otoroshi/1.5.0-dev/health";
$opts = ["http" => [
"method" => "GET",
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));
GET
Get all environments
Get all environments provided by the current Otoroshi instance
https://api.apis.guru/v2/specs/maif.local/otoroshi/1.5.0-dev/lines
Hover any highlighted part to learn what it does
curl -X GET "https://api.apis.guru/v2/specs/maif.local/otoroshi/1.5.0-dev/lines"
import requests
response = requests.get(
"https://api.apis.guru/v2/specs/maif.local/otoroshi/1.5.0-dev/lines",
)
print(response.json())const url = 'https://api.apis.guru/v2/specs/maif.local/otoroshi/1.5.0-dev/lines'; const response = await fetch(url); const data = await response.json(); console.log(data);
package main
import (
"fmt"
"io"
"net/http"
)
func main() {
targetURL := "https://api.apis.guru/v2/specs/maif.local/otoroshi/1.5.0-dev/lines"
req, _ := http.NewRequest("GET", targetURL, nil)
client := &http.Client{}
resp, _ := client.Do(req)
defer resp.Body.Close()
body, _ := io.ReadAll(resp.Body)
fmt.Println(string(body))
}require "net/http"
require "json"
uri = URI("https://api.apis.guru/v2/specs/maif.local/otoroshi/1.5.0-dev/lines")
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == "https"
req = Net::HTTP::Get.new(uri)
res = http.request(req)
puts JSON.parse(res.body)<?php
$url = "https://api.apis.guru/v2/specs/maif.local/otoroshi/1.5.0-dev/lines";
$opts = ["http" => [
"method" => "GET",
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));
GET
Get all data exporter configs
Get all data exporter configs
https://api.apis.guru/v2/specs/maif.local/otoroshi/1.5.0-dev/api/data-exporter-configs/_template?type=json
Hover any highlighted part to learn what it does
curl -X GET "https://api.apis.guru/v2/specs/maif.local/otoroshi/1.5.0-dev/api/data-exporter-configs/_template?type=json"
import requests
params = {
"type": "json"
}
response = requests.get(
"https://api.apis.guru/v2/specs/maif.local/otoroshi/1.5.0-dev/api/data-exporter-configs/_template",
params=params,
)
print(response.json())const url = new URL('https://api.apis.guru/v2/specs/maif.local/otoroshi/1.5.0-dev/api/data-exporter-configs/_template');
url.searchParams.set('type', 'json');
const response = await fetch(url);
const data = await response.json();
console.log(data);package main
import (
"fmt"
"io"
"net/http"
"net/url"
)
func main() {
baseURL, _ := url.Parse("https://api.apis.guru/v2/specs/maif.local/otoroshi/1.5.0-dev/api/data-exporter-configs/_template")
q := baseURL.Query()
q.Set("type", "json")
baseURL.RawQuery = q.Encode()
targetURL := baseURL.String()
req, _ := http.NewRequest("GET", targetURL, nil)
client := &http.Client{}
resp, _ := client.Do(req)
defer resp.Body.Close()
body, _ := io.ReadAll(resp.Body)
fmt.Println(string(body))
}require "net/http"
require "json"
uri = URI("https://api.apis.guru/v2/specs/maif.local/otoroshi/1.5.0-dev/api/data-exporter-configs/_template")
uri.query = URI.encode_www_form({
"type" => "json"
})
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == "https"
req = Net::HTTP::Get.new(uri)
res = http.request(req)
puts JSON.parse(res.body)<?php
$url = "https://api.apis.guru/v2/specs/maif.local/otoroshi/1.5.0-dev/api/data-exporter-configs/_template?" . http_build_query([
"type" => "json"
]);
$opts = ["http" => [
"method" => "GET",
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));Postman Setup Guide
- See official documentation for authentication and setup.
What can you build with Otoroshi Admin API?
Otoroshi Admin API is a Developer Tools API. Developers commonly use developer tools APIs for:
- automating code review and quality checks
- integrating CI/CD pipelines and build systems
- managing feature flags and A/B tests
- monitoring errors and application performance
- generating and validating test data
No authentication required. This API is open — no signup or key needed. Ideal for quick prototypes and public-facing features. Otoroshi Admin API is free to use, making it a low-risk choice to experiment with.
New to APIs? Read our beginner's guide