Get validation hook version details
Get details and content URL for a specific version of a hook.
Authorization
accessToken JWT Bearer Token authentication for API access
In: header
Path Parameters
Integer ID of the Hook resource.
1 <= value <= 9999999999The sequential version number of the hook (e.g., 1, 2, 3).
1 <= value <= 9999999999Response Body
application/json
application/json
curl -X GET "https://example.com/knowledge/contentmgr/v4/import/config/hooks/1/version/1"{ "fileID": "1a2b3c4d-5717-4562-b3fc-2c963f66afa6", "createdDate": "2024-03-15T10:30:00.000Z", "createdBy": { "id": "500", "userName": "jdoe", "firstName": "John", "lastName": "Doe" }, "version": { "versionID": 1, "isCurrent": false }, "file": { "name": "check_dept_tags.js", "content": "ZnVuY3Rpb24gb2xkLi4u", "contentUrl": "https://api.egain.cloud/knowledge/contentmgr/v4/import/config/hooks/10050/version/1" }}Update validation hook version POST
Upload a new version of the JavaScript logic for an existing hook.
Get Job Status GET
# Get Import Job Status ## Overview This API provides real-time status information for content import and validation operations. Use this endpoint to monitor job progress, check completion status, and access detailed logs and error information. ## Status Values - **Scheduled**: Job is queued and waiting for scheduled execution time - **In Progress**: Job is actively processing content - **Completed**: Job finished successfully - **Failed**: Job encountered errors and could not complete - **Cancelled**: Job was manually cancelled by user ## Response Information - **Current Status**: Real-time job status - **Progress Metrics**: Items processed, total items, completion percentage - **Log Files**: Location of detailed operation logs - **Error Details**: Specific errors encountered during processing - **Timing Information**: Start time, estimated completion, actual completion ## Log File Access Log files contain detailed information about: - Content processing steps - Validation results - Error details with context

