Sanity Library Reference Docs
    Preparing search index...

    Type Alias ResponseFormat<R>Beta

    ResponseFormat: Exclude<
        Context.QueryParams<R> extends { format?: infer F } ? F : never,
        "raw",
    >

    The format query values a route takes, such as a document's content in json, markdown or plain. raw answers with bytes, so it goes through requestBytes.

    Type Parameters