Skip to main content

Create a Hosted Agent

A hosted agent is a lightweight component deployed within your environment that communicates with the APISec platform and performs API discovery, testing, and security scanning from inside the network boundary.

Hosted agents allow organizations to assess the security of private APIs without exposing them to the public internet, ensuring that sensitive applications remain protected while still benefiting from comprehensive API security testing.


Creating Hosted Agent​

  • Navigate to URL

    Open your browser and visit: https://<your-tenant>.apisecapps.com

  • Click Hosted Agents.

    Hosted Agents option in the navigation

  • Click New Hosted Agent.

    New Hosted Agent button

  • Enter the Name for the hosted agent.

    Name field for the hosted agent

  • Click Create Hosted Agent.

    Create Hosted Agent button

  • Select the specific instructions to download.

    Environment-specific installation instruction options

  • Click Download Installation Instructions and follow the downloaded instructions to install the agent.

    Download Installation Instructions button

  • Click Finish to complete creating the hosted agent.

    Finish button on the final setup step

Download agent​

  • To obtain the installation script for an existing hosted agent, click the Download icon in the agent's row.

    Download icon in the hosted agent row

Hosted Agent Overview​

  • Click the expand arrow for the desired hosted agent to view its operational status, configuration, health information, deployment details, and scan activity.

    Expand arrow for a hosted agent row

  • Review the status of the hosted agent.

    Expanded hosted agent details showing status

    • Overview tab — reviews the key information about the hosted agent, including:

      • Health – Indicates the current health status of the hosted agent. If issues are detected, the appropriate status (for example, Redeploy Required) is displayed.
      • Token – Displays the agent registration token used for communication and authentication.
      • Certificates – Shows the number of certificates currently loaded and available to the hosted agent.
      • Environments – Displays the number of environments associated with the hosted agent and recent scan activity.
    • Environments — lists environments associated with the hosted agent.

      Environments tab listing associated environments

    • Certificates — displays certificates configured for the hosted agent.

      Certificates tab showing configured certificates

    • Diagnostics — provides diagnostic information for troubleshooting connectivity and operational issues.

      Diagnostics tab with troubleshooting information

    • Errors — displays agent-related errors and failure information.

      Errors tab listing agent errors

    • Actions — shows the history of administrative actions, including the action type, execution status, triggering user, and execution time.

      Actions tab showing administrative action history

Delete Agent​

  • Click the Delete icon for the desired hosted agent to remove it from the tenant.

    Delete icon in the hosted agent row

  • Click Confirm to delete.

    Confirm button in the delete dialog

  • Verify that the Hosted Agents table no longer contains the deleted hosted agent.

    Hosted Agents table without the deleted agent