↗

상태 확인

서비스 가동 여부.

GEThttps://api.tokenearly.com/v1/health

키가 필요 없고 속도 제한에 포함되지 않습니다. 자체 모니터링에 쓰기 좋습니다.

공개 엔드포인트, 키 불필요

파라미터

파라미터가 없습니다.

바로 실행
체험 키 신청

API 키(정식 키 또는 대시보드에서 신청한 체험 키)를 넣으면 실제 API를 호출합니다. 키는 브라우저에만 저장됩니다.

응답

오류

—

curl "https://api.tokenearly.com/v1/health"
import requests

resp = requests.get("https://api.tokenearly.com/v1/health", timeout=10)
resp.raise_for_status()
print(resp.json())
// Node 18+ (built-in fetch)
async function main() {
  const resp = await fetch("https://api.tokenearly.com/v1/health");
  console.log(await resp.json());
}

main().catch((err) => {
  console.error(err);
  process.exit(1);
});
package main

import (
	"fmt"
	"io"
	"net/http"
)

func main() {
	req, _ := http.NewRequest("GET", "https://api.tokenearly.com/v1/health", nil)
	resp, err := http.DefaultClient.Do(req)
	if err != nil {
		panic(err)
	}
	defer resp.Body.Close()
	body, _ := io.ReadAll(resp.Body)
	fmt.Println(resp.Status, string(body))
}
응답 예시
{
  "status": "ok",
  "spec_version": "1.0"
}