stasis-proxy - v0.1.0
    Preparing search index...

    Interface CacheEntry

    Represents a cached response entry.

    interface CacheEntry {
        id: string;
        requestBody: string;
        responseBody: string;
        statusCode: number;
        headers: string;
        createdAt: string;
        costSavedEstimate: number;
    }
    Index

    Properties

    id: string

    SHA-256 hash of the normalized request

    requestBody: string

    Original request body (JSON string)

    responseBody: string

    Cached response body (JSON string)

    statusCode: number

    HTTP status code of the cached response

    headers: string

    Response headers (JSON string)

    createdAt: string

    ISO timestamp of when the entry was created

    costSavedEstimate: number

    Estimated token count for cost tracking