Get agent hooks
Retrieve the agent's hooks document — the HTTP endpoints and Custom MCP tools Runbear calls when a thread starts (SessionStart), when a user message arrives (UserPromptSubmit), before and after each tool call (PreToolUse, PostToolUse) and when the reply is ready (Stop), in the Claude Code hooks schema. http header values are always returned as <redacted>. An agent without hooks returns { "hooks": {} }. Returns 404 when the agent is not found or its provider does not run hooks.
get/v1/agents/{id}/hooks
Request
- Base URLhttps://api.runbear.io
- AuthHTTP bearer
Path parameters
idstring uuid required
Agent ID
Response
Default Response
Changes
No recorded changes to this operation across all 1 revision of this API.