Skip to main content

Install

Integrate

Get your org ID from app.agnost.ai.

Track interactions

Latency is auto-calculated. For errors:

Group into conversations

Identify users

Custom properties

Retrieve an interaction by ID

Useful when you need to complete an interaction from a different function or callback:

Configuration

Cleanup

What appears in Agnost AI

  • Conversations grouped by conversationId.
  • User-level analytics grouped by userId.
  • Events for every tracked interaction.
  • Unsuccessful interactions remain visible in Events with success=false.

Verify

Run one begin() / end() interaction, then open app.agnost.ai. Check Events first, then Conversations.

Troubleshooting

  • Confirm agnost.init('your-org-id') runs before tracking.
  • Await agnost.shutdown() before short-lived scripts exit.
  • Confirm the endpoint is https://api.agnost.ai unless you intentionally use another endpoint.

Next steps

  • Conversations: review how TypeScript interactions are grouped.
  • Events: inspect the exact records the SDK sent.
  • Intents: organize production conversations by what users wanted.