curl --request GET \
--url https://api.ctrl-hub.com/v3/orgs/{org_id}/iam/service-accounts/{service_account_id}/logs \
--header 'X-Session-Token: <api-key>'{
"data": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"type": "<string>",
"attributes": {
"actor": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"type": "<string>"
},
"duration": 123,
"request": {
"time": "2023-11-07T05:31:56Z",
"headers": {},
"body": "<string>",
"path": "<string>",
"query": {},
"raw_query": "<string>",
"method": "<string>",
"content_length": 123
},
"response": {
"time": "2023-11-07T05:31:56Z",
"body": "<string>",
"headers": {},
"status": 123
}
},
"relationships": {
"actor": {
"data": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
},
"service_account": {
"data": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"type": "<string>"
}
}
}
}
],
"meta": {
"pagination": {
"counts": {
"pages": 123,
"resources": 123
},
"current_page": 123,
"offsets": {
"next": 123,
"previous": 123
},
"requested": {
"limit": 123,
"offset": 123
}
},
"features": {
"include": {
"options": [
"<string>"
]
}
}
},
"jsonapi": {
"version": "<string>"
}
}List the logs for a service account.
curl --request GET \
--url https://api.ctrl-hub.com/v3/orgs/{org_id}/iam/service-accounts/{service_account_id}/logs \
--header 'X-Session-Token: <api-key>'{
"data": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"type": "<string>",
"attributes": {
"actor": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"type": "<string>"
},
"duration": 123,
"request": {
"time": "2023-11-07T05:31:56Z",
"headers": {},
"body": "<string>",
"path": "<string>",
"query": {},
"raw_query": "<string>",
"method": "<string>",
"content_length": 123
},
"response": {
"time": "2023-11-07T05:31:56Z",
"body": "<string>",
"headers": {},
"status": 123
}
},
"relationships": {
"actor": {
"data": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
},
"service_account": {
"data": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"type": "<string>"
}
}
}
}
],
"meta": {
"pagination": {
"counts": {
"pages": 123,
"resources": 123
},
"current_page": 123,
"offsets": {
"next": 123,
"previous": 123
},
"requested": {
"limit": 123,
"offset": 123
}
},
"features": {
"include": {
"options": [
"<string>"
]
}
}
},
"jsonapi": {
"version": "<string>"
}
}Documentation Index
Fetch the complete documentation index at: https://docs.ctrl-hub.com/llms.txt
Use this file to discover all available pages before exploring further.
Session token for authentication.
The unique identifier for the organisation.
The unique identifier for the service account.
Limit the number of resources returned by the API
x >= 1Offset the resources returned by the API
x >= 0