Skip to content
Zotonic
  • Start
  • Cookbook
  • Reference
  • Releases

Live search

Search across all Zotonic content

Type at least two characters

Results are matched against titles, summaries and topics as you type.

Controllers · mod_agent_discovery
  • Reference
  • Backend developer
  • Controller
  • HTTP

controller_agent_discovery

Module

mod_agent_discovery

Serve public agent discovery documents with GET and HEAD. The dispatch option document selects llms, catalog, openapi or help. Rendering uses anonymous permissions, even for authenticated visitors. Responses are not shared-cacheable; site-wide noindex settings are respected.

Edit on GitHub

Related documentation

Controllers

controller_agent_content

Anonymous GET/HEAD projections. Recompute authorization and content before conditional requests; caches must revalidate every use. Errors…

Controllers

controller_paysub_stripe_webhook

Receive Stripe payment and subscription events with POST at /paysub/stripe/webhook (dispatch paysub_stripe_webhook ). Generate the absolute…

Controllers

controller_mailgun_webhook

Receive Mailgun event callbacks at /mailgun-webhook (dispatch name mailgun_webhook ). Accepts POST with content type application/json .

Controllers

controller_csp_report

Controller handling Content-Security-Policy reports.

Controllers

controller_http_error

This controller is called for serving http error pages.

Controllers

controller_file

Serve an uploaded-, resized- or library file.

Controllers

controller_mqtt_transport

Controller for transport of MQTT data between the browser (client) and server.

Controllers

controller_keyserver_key

Publish the site's RSA encryption public key as JavaScript.

Controllers

controller_ping

Simple controller for connection tests, used on the /test/connection page.

GitHub © 2026 Zotonic