cluster_agents
Retrieve details on an agent
Retrieves details on a specified agent. You must have the Developer, Maintainer, or Owner role to use this endpoint.
get/api/v4/projects/{id}/cluster_agents/{agent_id}
Request
- Base URLhttps://gitlab.com
- Authnone declared
Path parameters
idstring required
The ID or URL-encoded path of the project
agent_idinteger required
The ID of an agent
Response
Retrieve details on an agent
Example response
{
"id": 1,
"config_project": {
"id": 1,
"description": "desc",
"name": "project1",
"name_with_namespace": "John Doe / project1",
"path": "project1",
"path_with_namespace": "namespace1/project1",
"created_at": "2020-05-07T04:27:17.016Z"
},
"created_by_user_id": 1
}Changes
No recorded changes to this operation across all 5 revisions of this API.