MCPcopy Create free account
hub / github.com/astercloud/aster / get

Function get

ui/src/composables/useAsterClient.ts:45–50  ·  view source on GitHub ↗
(id: string)

Source from the content-addressed store, hash-verified

43 return response.json();
44 },
45 async get(id: string) {
46 const response = await fetch(`${baseUrl}/v1/agents/${id}`, {
47 headers: buildHeaders(),
48 });
49 return response.json();
50 },
51 async create(data: any) {
52 const response = await fetch(`${baseUrl}/v1/agents`, {
53 method: "POST",

Callers

nothing calls this directly

Calls 1

buildHeadersFunction · 0.85

Tested by

no test coverage detected