Skip to content

Request a port assignment for a specific service

POST
/api/system/system-config/ports/request

Request a port assignment for a specific service.

Always returns the static port 37737 since dynamic port management has been removed.

Args: service_name: Name of the service requesting a port. preferred_port: Ignored — static port is always returned.

Returns: Dictionary containing service_name and assigned_port (37737).

service_name
required
Service Name
string
preferred_port
Any of:
integer

Successful Response

MonitoringServicePortRequestResponse

Response model for monitoring /ports/request endpoint

object
serviceName
required
Servicename
string
assignedPort
required
Assignedport
integer

Validation Error

HTTPValidationError
object
detail
Detail
Array<object>
ValidationError
object
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
input
Input
ctx
Context
object