Skip to content

How to access successEvaluation result #132

@twixupmysleeve

Description

@twixupmysleeve

I want to know when my agent returns pass or fail in its success evaluation but I cannot figure out how to access it in my code. I'm using nextjs and am accessing my assistant through its assistant id after making it in the Vapi dashboard.

I can see this line on the web sdk but I cannot figure out how to integrate it in my code: https://github.com/VapiAI/client-sdk-web/blob/37300c0d5a46e65ce85bf71a5e5c0c315e8e5c76/api.ts#L166

I know I have access to this information because I have enabled it and I can also see it in call logs:

Image

Please help I've been up for too many hours trying to figure this out.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions