Onepage connects to a Nagent workspace with a bearer token. Once it is connected, agents can call 2 Onepage actions: "Search input post request" and "Token details request". 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 Onepage, with input parameters and output schema.
ONEPAGE_SEARCH_INPUT_POST_REQUESTThe SearchInput endpoint allows users to perform a search query within the OnePage platform. It accepts a required search string and optional parameters for language and output format customization. This endpoint is designed for retrieving relevant information based on user-specified search terms, with the ability to filter results by language and choose between structured (JSON) or plain text output. Use this endpoint when you need to search for specific content or information within the OnePage ecosystem. It's particularly useful for integrating search functionality into applications or workflows that interact with OnePage data. Note that this endpoint focuses solely on search functionality and does not provide additional features like content creation or modification.
Input parameters
Language specifies the language code for the search results.
Output specifies the format of the search results (e.g., JSON, TEXT).
Search specifies the search query. This field is required.
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
ONEPAGE_TOKEN_DETAILS_REQUESTRetrieves detailed information about a specific token in the OnePage system. This endpoint should be used when you need to obtain comprehensive data about a token, such as its associated permissions, expiration date, or other metadata. It's particularly useful for token management tasks, such as verifying token validity or checking token attributes. The endpoint accepts a single token and returns its corresponding details. It should not be used for token creation, deletion, or modification operations. Note that the specific details returned may vary based on the OnePage implementation and the token's type or purpose.
Input parameters
The OnePage authentication or API token to retrieve details for. This token is typically obtained from your OnePage account settings or during initial authentication.
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 2 Onepage actions on Nagent: "Search input post request" and "Token details request". Search input post request: The SearchInput endpoint allows users to perform a search query within the OnePage platform. Each action is listed on this page with its input parameters and its output.
Onepage connects with a bearer token, 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.
Search input post request takes 1 required input: s. It also takes 2 optional inputs: l and o. It returns data, error and successful.