online / endpoints 59 / categories 14 / rate 60/min/ip /

GET /.well-known/agent-card.json

GET /.well-known/agent-card.json

Third sibling. Claims the canonical agent lives at https://agents.catastrophic.io/echo — yet another host. Also served at /.well-known/agent.json for the older Google A2A path.

control Compare against the well-formed counterpart: not.catastrophic.io/.well-known/agent-card.json side-by-side

bash
curl -is https://chaos.catastrophic.io/.well-known/agent-card.json | grep -i 'X-Chaos-Claims-Url\|"url"'
import json, urllib.request
data = json.loads(urllib.request.urlopen(
    "https://chaos.catastrophic.io/.well-known/agent-card.json").read())
print(data["url"])
const data = await (await fetch(
    "https://chaos.catastrophic.io/.well-known/agent-card.json")).json();
console.log(data.url);
package main

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

func main() {
    resp, _ := http.Get("https://chaos.catastrophic.io/.well-known/agent-card.json")
    defer resp.Body.Close()
    raw, _ := io.ReadAll(resp.Body)
    var data map[string]any
    json.Unmarshal(raw, &data)
    fmt.Println(data["url"])
}
// Cargo.toml: reqwest    = { version = "0.12", features = ["blocking", "json"] }
//             serde_json = "1"
fn main() -> Result<(), Box> {
    let data: serde_json::Value = reqwest::blocking::get(
        "https://chaos.catastrophic.io/.well-known/agent-card.json")?.json()?;
    println!("{}", data["url"]);
    Ok(())
}
// Requires Jackson
import com.fasterxml.jackson.databind.ObjectMapper;
import java.net.URI;
import java.net.http.*;

public class AgentCard {
    public static void main(String[] args) throws Exception {
        var client = HttpClient.newHttpClient();
        var req = HttpRequest.newBuilder(URI.create(
            "https://chaos.catastrophic.io/.well-known/agent-card.json")).build();
        var resp = client.send(req, HttpResponse.BodyHandlers.ofString());
        System.out.println(new ObjectMapper().readTree(resp.body()).path("url").asText());
    }
}
using System.Text.Json;
using var client = new HttpClient();
var raw = await client.GetStringAsync("https://chaos.catastrophic.io/.well-known/agent-card.json");
Console.WriteLine(JsonDocument.Parse(raw).RootElement.GetProperty("url"));
require "net/http"
require "json"
data = JSON.parse(Net::HTTP.get(URI("https://chaos.catastrophic.io/.well-known/agent-card.json")))
puts data["url"]
$r = Invoke-WebRequest 'https://chaos.catastrophic.io/.well-known/agent-card.json'
($r.Content | ConvertFrom-Json).url