Prerender connects to a Nagent workspace with an API key. Once it is connected, agents can call 10 Prerender actions, such as "Create SEO Audit Report", "Get Cache Clear Status" and "Get Prerendered Page". 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 Prerender, with input parameters and output schema.
PRERENDER_CHANGE_RECACHE_SPEEDTool to adjust the rendering speed of Manual/API and Automatic rendering queues. Use when you need to control how fast Prerender processes URLs in the recache queue.
Input parameters
Number of URLs to recache per hour. Use 0 for automatic delay, or a value between 3600 and 36000 (where 36000 is fastest).
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
PRERENDER_CHECK_HEALTHTool to check the health status of the Prerender API service. Use when you need to verify service availability or monitor system health.
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
PRERENDER_CLEAR_CACHETool to clear Prerender cache using SQL-like wildcard patterns. Schedules a cache clear job. Only one cache clear job can be scheduled per user at a time. Use when you need to invalidate cached pages for a URL pattern.
Input parameters
SQL-like pattern for URLs to clear from cache. Use '%' as wildcard. Example: 'https://example.com%' deletes all URLs starting with that prefix. Use 'https://example.com%' to clear all cached pages for a domain.
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
PRERENDER_CREATE_SEO_AUDIT_REPORTTool to generate SEO audit reports for a specific URL. Use when you need to analyze SEO performance metrics for a web page. The report will be sent to the provided email address.
Input parameters
Full URL of the page to audit. Must include scheme (http/https). The audit will analyze SEO performance metrics for this page.
Email address where the SEO audit report will be sent. Must be a valid email format.
Last name of the person requesting the audit report.
First name of the person requesting the audit report.
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
PRERENDER_GET_CACHE_CLEAR_STATUSTool to check the status of a cache clear job. Use when you need to verify if a cache clearing operation is still in progress or has completed.
Input parameters
Your Prerender API token. Used in the URL path to identify the cache clear job.
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
PRERENDER_GET_PRERENDERED_PAGETool to fetch a prerendered HTML page. Use when you need a static snapshot of a page before dynamic rendering.
Input parameters
Full URL of the page to prerender. Include scheme (http/https). URL will be percent-encoded as needed.
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
PRERENDER_LIST_HEALTHZTool to check Prerender API health and availability. Use when you need to verify the API is operational before making requests.
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
PRERENDER_LIST_V3Tool to get a greeting message from the Prerender API. Use when you need to verify basic API connectivity or retrieve the hello message.
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
PRERENDER_RECACHE_URLTool to cache or recache URLs in Prerender. Use when you need to refresh cached pages or cache new URLs. Supports single URL or batch operations (up to 1000 URLs).
Input parameters
Single URL to cache or recache. Include scheme (http/https). Use this parameter for a single URL, or use 'urls' for multiple URLs. Either 'url' or 'urls' must be provided, but not both.
Array of URLs to cache or recache. Maximum 1000 URLs per request. Include scheme (http/https) for each URL. Use this parameter for multiple URLs, or use 'url' for a single URL. Either 'url' or 'urls' must be provided, but not both.
Rendering device type for caching.
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
PRERENDER_SEARCH_CACHED_URLSTool to search for cached URLs in your Prerender account and view their cache status. Supports pagination (200 URLs per page) and filtering by desktop/mobile adaptive type. Use when you need to find specific cached pages or check cache status across your account.
Input parameters
Performs a 'contains' query on URLs. Searches for URLs containing this string. If both query and exact_match are provided, only exact_match is used.
Pagination offset. Search returns 200 URLs per page. Use 0 for first page, 200 for second page, 400 for third page, etc.
Returns results where the URL is fully identical to this value. Takes precedence over query parameter if both are provided.
Type of adaptive rendering for cached pages.
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 10 Prerender actions on Nagent, including "Create SEO Audit Report", "Get Cache Clear Status" and "Get Prerendered Page". Create SEO Audit Report: Generate SEO audit reports for a specific URL. Each action is listed on this page with its input parameters and its output.
Prerender 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.
Create SEO Audit Report takes 4 required inputs: url, email, lastName and firstName. It returns data, error and successful.