BREAGEN Logo
Notification Center

web sockets Operations

WebSocket Operations offer robust real-time communication capabilities, enabling efficient message sending, broadcasting, and connection management to support interactive and responsive applications

web sockets Operations - Send GET /v1/web_socket/send

Resource URL/v1/web_socket/send
Response FormatJSON
Requires AuthenticationYes
Rate LimitedYes
HTTPSYes

Example Request

curl -X 'GET' \
'https://notifications.braegen.ai/v1/web_socket/send?message=This%20is%20a%20sample%20message&session_id=0e56e84da8cf4fbbb78319853160b87f' \
-H 'accept: application/json'

HTTP Responses

HTTP CodeMessage
200Success
403Authentication Required

HTTP Responses

HTTP CodeMessage
200Succcess
204No Content
400Bad Request
401Unauthorized
403Invalid Input
404invalid or not founc type

web sockets Operations - Broadcast Message GET /v1/web_socket/broadcast

Resource URL/v1/web_socket/broadcast
Response FormatJson
Requires AuthenticationYes
Rate LimitedYes
HTTPSYes

Example Request

curl -X 'GET' \
'https://notifications.braegen.ai/v1/web_socket/broadcast?message=%7B%20%20%20%22subject%22%3A%20%22Entity%20search%20progress%20status%22%2C%20%20%20%22body%22%3A%20%22Successfully%20started%20fetcher%20execution%22%2C%20%20%20%22links%22%3A%20%7B%7D%2C%20%20%20%22meta_data%22%3A%20%7B%20%20%20%20%20%22request_id%22%3A%20%22d49fb2eed893cc898c55029841c9e16550b0c52f6fce44d2c401d88b1c74ada2%22%2C%20%20%20%20%20%22status%22%3A%20%22fetcher_executing%22%20%20%20%7D%20%7D' \
-H 'accept: application/json'

HTTP Responses

HTTP CodeMessage
200Success
403Authentication Required

HTTP Responses

HTTP CodeMessage
200Succcess
204No Content
400Bad Request
401Unauthorized
403Invalid Input
404invalid or not founc type

web sockets Operations - Disconnect GET /v1/web_socket/disconnect

Resource URL/v1/web_socket/disconnect
Response FormatJson
Requires AuthenticationYes
Rate LimitedYes
HTTPSYes

Example Request

curl -X 'GET' \
'https://notifications.braegen.ai/v1/web_socket/disconnect?session_id=0e56e84da8cf4fbbb78319853160b87f' \
-H 'accept: application/json'

HTTP Responses

HTTP CodeMessage
200Success
403Authentication Required

HTTP Responses

HTTP CodeMessage
200Succcess
204No Content
400Bad Request
401Unauthorized
403Invalid Input
404invalid or not founc type

On this page