Skip to content

Retrieve an agent URL configuration

GET
/api/v4/projects/{id}/cluster_agents/{agent_id}/url_configurations/{url_configuration_id}

Retrieves an agent URL configuration. You must have the Developer, Maintainer, or Owner role to use this endpoint. This feature was introduced in GitLab 17.4.

id
required
One of:
string

The ID or URL-encoded path of the project

agent_id
required
integer

The ID of an agent

url_configuration_id
required
integer

The ID of the agent url configuration

OK

Media type application/json
object
id
integer format: int64
agent_id
integer format: int64
url
string
public_key
string
client_cert
string
ca_cert
string
tls_host
string
Example
{
"id": 1,
"agent_id": 1
}

Bad Request

Not Found