HTTP/1.1 301 Moved Permanently
Server: nginx
Date: Fri, 10 Oct 2025 14:40:40 GMT
Content-Type: text/html
Content-Length: 162
Location: https://mackerel.io/ja/api-docs/
Connection: keep-alive
X-XSS-Protection: 1; mode=block
X-Content-Type-Options: nosniff
Strict-Transport-Security: max-age=31536000
Referrer-Policy: strict-origin-when-cross-origin
HTTP/1.1 301 Moved Permanently
Server: nginx
Date: Fri, 10 Oct 2025 14:40:41 GMT
Content-Type: text/html
Content-Length: 162
Connection: keep-alive
Location: https://mackerel.io/ja/api-docs/
HTTP/1.1 200 OK
Server: nginx
Date: Fri, 10 Oct 2025 14:40:41 GMT
Content-Type: text/html; charset=utf-8
Content-Length: 14552
Connection: keep-alive
Vary: Accept-Encoding
Vary: X-Epic-Device-Type,X-Epic-Flag-Variants,Accept-Encoding
Access-Control-Allow-Origin: *
Content-Security-Policy: upgrade-insecure-requests
Content-Security-Policy-Report-Only: block-all-mixed-content; report-uri https://blog.hatena.ne.jp/api/csp_report
P3P: CP="OTI CUR OUR BUS STA"
X-Cache-Only-Varnish: 1
X-Content-Type-Options: nosniff
X-Dispatch: Hatena::Epic::Web::Blogs::Index#index
X-Frame-Options: DENY
X-Revision: 4f79efacea2badc461d4ddb4cc04a7
X-XSS-Protection: 1; mode=block
X-Runtime: 0.215372
Content-Encoding: gzip
X-Varnish: 18205789 230002
Age: 25343
Via: 1.1 ip-10-1-19-7.ap-northeast-1.compute.internal (Varnish/7.6)
Accept-Ranges: bytes
X-Cache: HIT
Cache-Control: private
X-Proxy-Revision: 4f79efacea2badc461d4ddb4cc04a73ead3820ff
Strict-Transport-Security: max-age=31536000
Referrer-Policy: strict-origin-when-cross-origin
Mackerel API ドキュメント(v0) - Mackerel API ドキュメント (v0)
概要
- ベースURLは
https://api.mackerelio.com/
です。(Mackerel for KCPS利用の場合はhttps://kcps-mackerel.io
)
- POST/PUT時の入力および成功時の出力は JSON (
application/json
)です。
- RFCに準拠したJSONを指定してください。
X-Api-Key
ヘッダ(必須): 対象とするホストやサービスが所属するオーガニゼーションのAPIキーです。
- APIキーはダッシュボードのAPIキータブで確認できます。
- APIキーの権限は Read権限と Write権限を設定できます。
- Read権限のみを持つAPIキーでは、Write権限が必要なAPIを使用できません。
データの種類
- ホスト ID
<hostId>
- ホスト登録時にMackerelから与えられる文字列。エージェントが稼動しているホストを一意に識別する。
- サービス名
<serviceName>
引用をストックしました
引用するにはまずログインしてください
引用をストックできませんでした。再度お試しください