Production, Shared or Playground. We call them Spaces.
The purpose of the Space is to separate users and sessions into different logical buckets:
production- the real-world production users & sessionsplayground- “test” users & sessions created by team member in playground. Not visible for other team members.shared-playground- same asplayground, but visible for all team members.
space property.
Creating user in a specific space
Users are created explicitly withav.createUser or implicitly when you run av.createSession without passing userId parameter. Both functions can take space parameter:
Defaults
AgentView comes with a default behaviour thanks to which you usually don’t need to passspace parameter. It differs based on the API Key you use:
- Development API Key - default space is
playgroundbelonging to the key’s owner. - Production API Key - default space is
production.
production space when you use Development API Key.