Reminix TypeScript SDK - v0.7.1
    Preparing search index...

    Interface operations

    interface operations {
        chatAgent: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { name: string };
                query?: undefined;
            };
            requestBody?: {
                content: {
                    "application/json": {
                        context?: {
                            conversation_id?: string;
                            custom?: { [key: string]: unknown };
                            user_id?: string;
                        };
                        messages: {
                            content: | string
                            | { [key: string]: unknown }
                            | {
                                image_url?: (...) | (...);
                                text?: (...) | (...);
                                type: (...) | (...);
                            }[];
                            name?: string;
                            role: "assistant"
                            | "system"
                            | "user"
                            | "tool";
                            tool_call_id?: string;
                        }[];
                        stream: boolean;
                    };
                };
            };
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            message: {
                                content: unknown;
                                role: "assistant";
                                tool_calls?: {
                                    function: { arguments: string; name: string };
                                    id: string;
                                    type: "function";
                                }[];
                            };
                        };
                        "text/event-stream": { chunk: string };
                    };
                    headers: { [name: string]: unknown };
                };
                "400": {
                    content: { "application/json": { error: string } };
                    headers: { [name: string]: unknown };
                };
                "401": {
                    content: { "application/json": { error: string } };
                    headers: { [name: string]: unknown };
                };
                "404": {
                    content: { "application/json": { error: string } };
                    headers: { [name: string]: unknown };
                };
                "500": {
                    content: { "application/json": { error: string } };
                    headers: { [name: string]: unknown };
                };
                "502": {
                    content: { "application/json": { error: string } };
                    headers: { [name: string]: unknown };
                };
                "504": {
                    content: { "application/json": { error: string } };
                    headers: { [name: string]: unknown };
                };
            };
        };
        getProject: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path?: undefined;
                query?: undefined;
            };
            requestBody?: undefined;
            responses: {
                "200": {
                    content: {
                        "application/json": {
                            createdAt: string;
                            id: string;
                            name: string;
                            organizationId: string;
                            slug: string;
                            updatedAt: string;
                        };
                    };
                    headers: { [name: string]: unknown };
                };
                "401": {
                    content: { "application/json": { error: string } };
                    headers: { [name: string]: unknown };
                };
                "404": {
                    content: { "application/json": { error: string } };
                    headers: { [name: string]: unknown };
                };
            };
        };
        invokeAgent: {
            parameters: {
                cookie?: undefined;
                header?: undefined;
                path: { name: string };
                query?: undefined;
            };
            requestBody?: {
                content: {
                    "application/json": {
                        context?: {
                            conversation_id?: string;
                            custom?: { [key: string]: unknown };
                            user_id?: string;
                        };
                        input: { [key: string]: unknown };
                        stream: boolean;
                    };
                };
            };
            responses: {
                "200": {
                    content: {
                        "application/json": { output?: unknown };
                        "text/event-stream": { chunk: string };
                    };
                    headers: { [name: string]: unknown };
                };
                "400": {
                    content: { "application/json": { error: string } };
                    headers: { [name: string]: unknown };
                };
                "401": {
                    content: { "application/json": { error: string } };
                    headers: { [name: string]: unknown };
                };
                "404": {
                    content: { "application/json": { error: string } };
                    headers: { [name: string]: unknown };
                };
                "500": {
                    content: { "application/json": { error: string } };
                    headers: { [name: string]: unknown };
                };
                "502": {
                    content: { "application/json": { error: string } };
                    headers: { [name: string]: unknown };
                };
                "504": {
                    content: { "application/json": { error: string } };
                    headers: { [name: string]: unknown };
                };
            };
        };
    }
    Index

    Properties

    chatAgent: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { name: string };
            query?: undefined;
        };
        requestBody?: {
            content: {
                "application/json": {
                    context?: {
                        conversation_id?: string;
                        custom?: { [key: string]: unknown };
                        user_id?: string;
                    };
                    messages: {
                        content: | string
                        | { [key: string]: unknown }
                        | {
                            image_url?: (...) | (...);
                            text?: (...) | (...);
                            type: (...) | (...);
                        }[];
                        name?: string;
                        role: "assistant"
                        | "system"
                        | "user"
                        | "tool";
                        tool_call_id?: string;
                    }[];
                    stream: boolean;
                };
            };
        };
        responses: {
            "200": {
                content: {
                    "application/json": {
                        message: {
                            content: unknown;
                            role: "assistant";
                            tool_calls?: {
                                function: { arguments: string; name: string };
                                id: string;
                                type: "function";
                            }[];
                        };
                    };
                    "text/event-stream": { chunk: string };
                };
                headers: { [name: string]: unknown };
            };
            "400": {
                content: { "application/json": { error: string } };
                headers: { [name: string]: unknown };
            };
            "401": {
                content: { "application/json": { error: string } };
                headers: { [name: string]: unknown };
            };
            "404": {
                content: { "application/json": { error: string } };
                headers: { [name: string]: unknown };
            };
            "500": {
                content: { "application/json": { error: string } };
                headers: { [name: string]: unknown };
            };
            "502": {
                content: { "application/json": { error: string } };
                headers: { [name: string]: unknown };
            };
            "504": {
                content: { "application/json": { error: string } };
                headers: { [name: string]: unknown };
            };
        };
    }
    getProject: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path?: undefined;
            query?: undefined;
        };
        requestBody?: undefined;
        responses: {
            "200": {
                content: {
                    "application/json": {
                        createdAt: string;
                        id: string;
                        name: string;
                        organizationId: string;
                        slug: string;
                        updatedAt: string;
                    };
                };
                headers: { [name: string]: unknown };
            };
            "401": {
                content: { "application/json": { error: string } };
                headers: { [name: string]: unknown };
            };
            "404": {
                content: { "application/json": { error: string } };
                headers: { [name: string]: unknown };
            };
        };
    }
    invokeAgent: {
        parameters: {
            cookie?: undefined;
            header?: undefined;
            path: { name: string };
            query?: undefined;
        };
        requestBody?: {
            content: {
                "application/json": {
                    context?: {
                        conversation_id?: string;
                        custom?: { [key: string]: unknown };
                        user_id?: string;
                    };
                    input: { [key: string]: unknown };
                    stream: boolean;
                };
            };
        };
        responses: {
            "200": {
                content: {
                    "application/json": { output?: unknown };
                    "text/event-stream": { chunk: string };
                };
                headers: { [name: string]: unknown };
            };
            "400": {
                content: { "application/json": { error: string } };
                headers: { [name: string]: unknown };
            };
            "401": {
                content: { "application/json": { error: string } };
                headers: { [name: string]: unknown };
            };
            "404": {
                content: { "application/json": { error: string } };
                headers: { [name: string]: unknown };
            };
            "500": {
                content: { "application/json": { error: string } };
                headers: { [name: string]: unknown };
            };
            "502": {
                content: { "application/json": { error: string } };
                headers: { [name: string]: unknown };
            };
            "504": {
                content: { "application/json": { error: string } };
                headers: { [name: string]: unknown };
            };
        };
    }