curl --request GET \
--url https://api.erdo.ai/v1/artifacts/{artifactID} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.erdo.ai/v1/artifacts/{artifactID}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.erdo.ai/v1/artifacts/{artifactID}', 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://api.erdo.ai/v1/artifacts/{artifactID}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.erdo.ai/v1/artifacts/{artifactID}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.erdo.ai/v1/artifacts/{artifactID}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.erdo.ai/v1/artifacts/{artifactID}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"content": {},
"created_at": "<string>",
"custom_domain": "<string>",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"last_occurred_at": "<string>",
"metadata": {},
"occurrence_count": -1,
"public": true,
"public_url": "<string>",
"severity": "<string>",
"subject_key": "<string>",
"summary": "<string>",
"title": "<string>",
"type": "<string>",
"updated_at": "<string>",
"url": "<string>"
}{
"code": "not_found",
"details": {},
"message": "<string>"
}GetArtifactAPI mirrors the erdo_get_artifact MCP tool.
curl --request GET \
--url https://api.erdo.ai/v1/artifacts/{artifactID} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.erdo.ai/v1/artifacts/{artifactID}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.erdo.ai/v1/artifacts/{artifactID}', 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://api.erdo.ai/v1/artifacts/{artifactID}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.erdo.ai/v1/artifacts/{artifactID}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.erdo.ai/v1/artifacts/{artifactID}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.erdo.ai/v1/artifacts/{artifactID}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"content": {},
"created_at": "<string>",
"custom_domain": "<string>",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"last_occurred_at": "<string>",
"metadata": {},
"occurrence_count": -1,
"public": true,
"public_url": "<string>",
"severity": "<string>",
"subject_key": "<string>",
"summary": "<string>",
"title": "<string>",
"type": "<string>",
"updated_at": "<string>",
"url": "<string>"
}{
"code": "not_found",
"details": {},
"message": "<string>"
}Authorizations
An Erdo API key (erdo_api_...) or scoped token (erdo_token_...).
Path Parameters
Response
Success response
Omitted entirely (not null, not {}) when the list was requested with include_content=false; present on every other path, so omitempty changes nothing for callers that never pass the flag.
are served by path, so a custom domain belongs to the owning org rather than to one page; this is the org's active domain when it has one. Present only when the page is public — empty means PublicURL is on the default pages host (or the page is private and has no public URL at all).
artifact (living alerts) — 1 for a one-off finding. LastOccurredAt is when it was most recently reported (falls back to created_at). SubjectKey is the stable identity of the condition, present only for living alerts.
-2147483648 <= x <= 2147483647anonymous visitor can load it. Only meaningful for html artifacts.
the page is public (Public is true); a private page has no public URL.
artifacts (pages); other artifact types have no standalone editor URL.

