API reference
GET
/v1/attributions/{id}Retrieve an observation in your workspace and key environment.
Requires attribution:read. The UUID comes from resolve. Stored reads withhold principal fields. A missing or inaccessible observation returns the same 404.
- HTTP 200 uses the same envelope as resolve. Use fresh agent proof on resolve when a principal association is required.
import { Chitmark } from "@chitmark/sdk";
const chitmark = new Chitmark({ apiKey: process.env.CHITMARK_API_KEY! });
const result = await chitmark.attribution.get(process.env.CHITMARK_ATTRIBUTION_ID!);
console.log(result);