Anchorage API reference
    Preparing search index...

    Text and trusted Mastra context evaluated by a standalone content gate. An input that is not an object, has a field this interface does not declare, carries a non-string text, or carries a present requestContext that is not a RequestContext is an error outcome.

    interface ContentPolicyGateInput {
        requestContext?: RequestContext<unknown>;
        text: string;
    }
    Index

    Properties

    requestContext?: RequestContext<unknown>

    Trusted request context associated with the content.

    text: string

    Canonical text that the downstream model would observe.