Skip to main content

Get conversation hooks

GET /api/v1/app-conversations/{conversation_id}/hooks

Get hooks currently configured in the workspace for this conversation. This endpoint loads hooks from the conversation's project directory in the workspace (i.e. {project_dir}/.faheem-code/hooks.json) at request time. Note: This is intentionally a "live" view of the workspace configuration. If .faheem-code/hooks.json changes over time, this endpoint reflects the latest file content and may not match the hooks that were used when the conversation originally started. Returns: JSONResponse: A JSON response containing the list of hook event types. Returns an empty list if the sandbox is not running.

Parameters

NameInTypeRequiredDescription
conversation_idpathstringyes

Responses

StatusDescription
200Successful Response
422Validation Error

Operation ID: get_conversation_hooks_api_v1_app_conversations__conversation_id__hooks_get