Retrieve an agent token
GET
/api/v4/projects/{id}/cluster_agents/{agent_id}/tokens/{token_id}
Retrieves a specified agent token. You must have the Developer, Maintainer, or Owner role to use this endpoint. Returns a 404 if the agent token has been revoked.
Authorizations
Section titled “ Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “ Path Parameters ”Responses
Section titled “ Responses ”OK
Media type application/json
object
id
integer format: int64
name
string
description
string
agent_id
integer format: int64
status
string
created_at
string format: date-time
created_by_user_id
integer format: int64
last_used_at
string format: date-time
Example
{ "id": 1, "agent_id": 1, "created_by_user_id": 1}Bad Request
Not Found