Lessonspace connects to a Nagent workspace with an API key. Once it is connected, agents can call 4 Lessonspace actions, such as "Create Demo Space", "Get Organisation Details" and "Get Organisation Session List". Nothing is enabled on connect: each action is allowed one at a time, and an action with side effects runs or waits for a person according to the agent's level.
Every operation an agent can call against Lessonspace, with input parameters and output schema.
LESSONSPACE_CREATE_DEMO_SPACETool to create a transient demo space for embedding in an iframe. Use when you need a temporary environment to test Lessonspace features.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
LESSONSPACE_GET_ORGANISATION_DETAILSTool to retrieve organisation details, including ID, plan, and usage stats. Use after authenticating with your organisation token.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
LESSONSPACE_GET_ORGANISATION_SESSION_LISTTool to list sessions of an organisation. Use after you have the organisation ID to fetch paginated session records.
Input parameters
Page number for paginated results, must be >= 1
Filter sessions by ID, title, or user
Sort field, prefix with '-' for descending (e.g., '-created')
Number of sessions per page, must be >= 1
Unique identifier of the organisation
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
LESSONSPACE_LAUNCH_SPACETool to launch a Lessonspace space. Use after determining user ID, role, and space ID.
Input parameters
Session expiration in seconds (non-negative).
Display name for the user.
Role of the user in the space.
URL to the user's avatar image.
Advanced space configuration options as a JSON object.
Unique identifier for the user.
IETF language tag for the session locale.
Identifier of the space to launch.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
Agents can call 4 Lessonspace actions on Nagent, including "Create Demo Space", "Get Organisation Details" and "Get Organisation Session List". Create Demo Space: Create a transient demo space for embedding in an iframe. Each action is listed on this page with its input parameters and its output.
Lessonspace connects with an API key, under your workspace's own connection. Nothing is enabled on connect: each action is allowed one at a time and can be scoped to the agents that need it.
It returns data, error and successful.