Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Read or update an action’s configuration and agent prompts.
GET https://openhermit.com/api/actions/{action_id}
{ "action": { "id": "uuid", "name": "Contact Form", "type": "contact_form", "tool_name": "contact_form", "tool_description": "Send a message to the team", "selector": "#contact-form", "page_url": "https://example.com/contact", "enabled": true, "before_prompt": "Have name and email ready.", "success_prompt": "Form submitted. We reply within 24h.", "failure_prompt": "Try hello@example.com directly.", "next_action_url": "https://calendly.com/example/30min", "next_action_label": "Book a meeting", "created_at": "2025-01-15T10:30:00Z" } }
PATCH https://openhermit.com/api/actions/{action_id} Content-Type: application/json
{ "enabled": true, "tool_description": "Updated description for agents", "before_prompt": "Updated before prompt", "success_prompt": "Updated success prompt", "failure_prompt": "Updated failure prompt", "next_action_url": "https://calendly.com/example/30min", "next_action_label": "Book a meeting" }
enabled
tool_description
before_prompt
success_prompt
failure_prompt
next_action_url
next_action_label
{ "success": true, "action": { "...updated fields..." } }