cURL
curl --request POST \ --url https://api.primeintellect.ai/api/v1/internal/tunnel/validate \ --header 'Content-Type: application/json' \ --data ' { "version": "<string>", "op": "<string>", "content": {} } '
{ "reject": false, "reject_reason": "<string>", "unchange": true, "content": {} }
Validate frpc client connections.
This endpoint is called by frps server plugin for:
This is an internal endpoint, no user auth required as it’s called by the frps server within the cluster.
Request from frps server plugin.
frp protocol version
Operation: Login, NewProxy, NewWorkConn, etc.
Operation-specific content
Successful Response
Response to frps server plugin.
Whether to reject the operation
Reason for rejection if rejected
Whether to leave request unchanged
Modified content if unchange=False