81trust / 100

Artifacts Publish

by Agent Artifact Publisher in Documents & files

x402 APIPassing, checked 4 h ago

Publish agent-generated files, JSON reports, markdown, or text and return a stable public URL.

POST https://agent-artifact-eta.vercel.app/api/artifacts/publish

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
245 ms typical, 245 ms slowest 5%
Last check
4 h ago
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X POST "https://agent-artifact-eta.vercel.app/api/artifacts/publish" \
  -H "content-type: application/json" \
  -d '{"content":"# Findings\n\nThe result...","description":"A short agent-generated report.","format":"markdown","title":"Research summary"}'
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client().register(
  "eip155:8453",
  new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fagent-artifact-eta.vercel.app%2Fapi%2Fartifacts%2Fpublish
const res = await pay("https://agent-artifact-eta.vercel.app/api/artifacts/publish", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"content":"# Findings\n\nThe result...","description":"A short agent-generated report.","format":"markdown","title":"Research summary"}),
});
console.log(await res.json());

Example input

{
  "content": "# Findings\n\nThe result...",
  "description": "A short agent-generated report.",
  "format": "markdown",
  "title": "Research summary"
}

Example output

{
  "contentHash": "sha256:0000000000000000000000000000000000000000000000000000000000000000",
  "format": "markdown",
  "id": "art_01hxyz",
  "mimeType": "text/markdown; charset=utf-8",
  "rawUrl": "https://store.public.blob.vercel-storage.com/artifacts/art_01hxyz/content?download=1",
  "sizeBytes": 8124,
  "status": "published",
  "url": "https://store.public.blob.vercel-storage.com/artifacts/art_01hxyz/content"
}

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
4 h agoPassed402245 ms$0.005