Skip to main content
When triggered, a webhook sends a complete package of your agent’s configuration and files to the specified endpoint.
Security notes:
  • Webhook URLs must use HTTPS.
  • Custom headers (e.g., API keys) are stored encrypted.
  • Publisher identity is included for audit trails.
  • Webhooks are only visible to agent owners.

Add a webhook

  1. Navigate to Settings > Fleet webhooks.
  2. Click Add webhook.
  3. Configure:
    • Name: A descriptive name (e.g., “Publish Agent”, “Deploy to Production”).
    • URL: Your HTTPS endpoint that will receive the webhook.
    • Headers (optional): Custom headers for authentication (stored encrypted).
    • Form Schema (optional): Define custom input fields users must fill when triggering.
  4. Click Save.

Trigger a webhook

  1. Open your agent in the Fleet editor.
  2. Click the Settings menu (gear icon).
  3. Under Webhooks, click the webhook name.
  4. Fill in any custom fields defined in the form schema.
  5. Click Run Webhook.

Edit a webhook

  1. Navigate to Settings > Fleet webhooks.
  2. For the webhook you want to edit, click Edit.
  3. Make your changes and click Save.

Delete a webhook

  1. Navigate to Settings > Fleet webhooks.
  2. For the webhook you want to delete, click Delete.
  3. To confirm the deletion, click Delete.

Webhook payload

The webhook payload is a JSON object with the following fields: For example:

Tool auth requirements

The tool_auth_requirements array describes authentication needed for each tool: Use this information to configure your deployment environment with the necessary credentials.

ZIP file structure

The files.content_base64 field contains a ZIP archive with the following structure:
The config.json file and tools.json files are structured as follows:

Custom input fields

You can define custom input fields to collect information when the webhook is triggered. Supported field types are as follows: For example:

Example: Webhook server

The following is an example webhook server in Python: