Skip to main content

Interface: GuardedResponse

Defined in: packages/agentos/src/cognition/memory/io/ingestion/guardedFetch.ts:96

What a guardedFetch read.

Properties​

body​

body: Buffer

Defined in: packages/agentos/src/cognition/memory/io/ingestion/guardedFetch.ts:104

The body, decoded.


contentType​

contentType: string

Defined in: packages/agentos/src/cognition/memory/io/ingestion/guardedFetch.ts:102

The media type without parameters, in lower case; application/octet-stream for an answer that names none.


status​

status: number

Defined in: packages/agentos/src/cognition/memory/io/ingestion/guardedFetch.ts:100

The HTTP status, a 2xx.


url​

url: string

Defined in: packages/agentos/src/cognition/memory/io/ingestion/guardedFetch.ts:98

The last address, after redirects.