List Agent Configs
This API returns a list of file encryption agent configurations available within the tenant.
Endpoint Details
| URL | /v1/config-agent/file-encryption-agents |
| Method | GET |
| Authorization | Bearer Token |
Request Headers
| Header | Type | Description |
|---|---|---|
| Content-Type | String | Must be application/json |
Response
Here is an example of a response when viewing a list of data:
Response
{
"data": [
{
"id": "de306957-feaf-4748-8ba8-2b1d665509c2",
"tenant_id": "5ebde17c-01a1-4394-977b-9e611250cf5d",
"agent_name": "Tes",
"user_id": "0a937c60-0ed4-4d06-870a-2e284b54287d",
"access_token_id": "f1a84190-e12c-43a2-b439-80461199e8c3",
"mode": "AgentModeDirectory",
"mount_point_protections": [
{
"policy_id": "553e852b-77d8-461c-9727-2ab342341dc7",
"path_mount_point": "/data/secure"
}
],
"created_by": "0a937c60-0ed4-4d06-870a-2e284b54287d",
"created_by_name": "Admin Aplikasi",
"updated_by": "0a937c60-0ed4-4d06-870a-2e284b54287d",
"updated_by_name": "Admin Aplikasi",
"created_at": 1785309912,
"updated_at": 1785309912
},
{
"id": "36edcbba-3aad-4c4f-aa30-4b98ad555535",
"tenant_id": "5ebde17c-01a1-4394-977b-9e611250cf5d",
"agent_name": "Dummy",
"description": "add description agent dummy",
"user_id": "0a937c60-0ed4-4d06-870a-2e284b54287d",
"access_token_id": "f1a84190-e12c-43a2-b439-80461199e8c3",
"mode": "AgentModeDirectory",
"mount_point_protections": [
{
"policy_id": "553e852b-77d8-461c-9727-2ab342341dc7",
"path_mount_point": "/data/secure"
}
],
"created_by": "0a937c60-0ed4-4d06-870a-2e284b54287d",
"created_by_name": "Admin Aplikasi",
"updated_by": "0a937c60-0ed4-4d06-870a-2e284b54287d",
"updated_by_name": "Admin Aplikasi",
"created_at": 1785309679,
"updated_at": 1785309756
},
{
"id": "0e4c6e73-7ef8-4c41-9984-ae701b07e8ac",
"tenant_id": "5ebde17c-01a1-4394-977b-9e611250cf5d",
"agent_name": "Agent-dev-fos",
"user_id": "414a45e9-f194-4a8a-9876-97abb990d4d9",
"access_token_id": "587c67be-52e0-4602-896e-3c144767b976",
"mode": "AgentModeObjectStorage",
"mount_point_protections": [
{
"policy_id": "49ba362a-dd84-456e-b5fc-2b8b435a3f64",
"path_mount_point": "your-bucket-name",
"bucket": "your-bucket-name"
}
],
"object_storage": {
"url": "https://s3.ap-southeast-1.amazonaws.com",
"access_key": "YOUR_ACCESS_KEY",
"secret_key": "YOUR_SECRET_KEY",
"region_code": "ap-southeast-1"
},
"created_by": "414a45e9-f194-4a8a-9876-97abb990d4d9",
"created_by_name": "Iqbal Adhi",
"updated_by": "414a45e9-f194-4a8a-9876-97abb990d4d9",
"updated_by_name": "Iqbal Adhi",
"created_at": 1780887874,
"updated_at": 1780992998
},
{
"id": "0c2c32ad-5253-4156-9b98-da7433680698",
"tenant_id": "5ebde17c-01a1-4394-977b-9e611250cf5d",
"agent_name": "Agent-Dev",
"user_id": "414a45e9-f194-4a8a-9876-97abb990d4d9",
"access_token_id": "587c67be-52e0-4602-896e-3c144767b976",
"mode": "AgentModeDirectory",
"mount_point_protections": [
{
"policy_id": "a2fc11d3-b4a0-471c-9afd-75c0be26acb9",
"path_mount_point": "/guard-doc-dev"
},
{
"policy_id": "b032baf2-3b14-4952-a0db-4848f2e182a6",
"path_mount_point": "/Secret-dev"
},
{
"policy_id": "a48580aa-f27a-4bd7-abb3-c2ec052bc027",
"path_mount_point": "/var/lib/mysql"
}
],
"created_by": "414a45e9-f194-4a8a-9876-97abb990d4d9",
"created_by_name": "Iqbal Adhi",
"updated_by": "414a45e9-f194-4a8a-9876-97abb990d4d9",
"updated_by_name": "Iqbal Adhi",
"created_at": 1780887749,
"updated_at": 1781678570
},
{
"id": "ed7bf20a-9656-4a40-8efd-a0e9b36a2540",
"tenant_id": "5ebde17c-01a1-4394-977b-9e611250cf5d",
"agent_name": "Agent Object 45819319",
"description": "edit",
"user_id": "414a45e9-f194-4a8a-9876-97abb990d4d9",
"access_token_id": "587c67be-52e0-4602-896e-3c144767b976",
"mode": "AgentModeObjectStorage",
"mount_point_protections": [
{
"policy_id": "2d2184aa-eb32-48e5-a60d-daf75ec22419",
"path_mount_point": "your-bucket-name",
"bucket": "your-bucket-name"
}
],
"object_storage": {
"url": "https://s3.ap-southeast-1.amazonaws.com",
"access_key": "YOUR_ACCESS_KEY",
"secret_key": "YOUR_SECRET_KEY",
"region_code": "ap-southeast-1"
},
"created_by": "414a45e9-f194-4a8a-9876-97abb990d4d9",
"created_by_name": "Iqbal Adhi",
"updated_by": "414a45e9-f194-4a8a-9876-97abb990d4d9",
"updated_by_name": "Iqbal Adhi",
"created_at": 1780045836,
"updated_at": 1780045839
}
],
"pagination": {
"total": 5,
"page": 1,
"page_size": 10,
"last_page": 1
}
}
Field Descriptions
| Field | Type | Description |
|---|---|---|
| id | UUID | Unique identifier of the agent |
| tenant_id | UUID | Identifier of the tenant that owns the agent |
| agent_name | String | Name of the agent |
| description | String | Description of the agent |
| user_id | UUID | Identifier of the user the agent is assigned to |
| access_token_id | UUID | Identifier of the access token used by the agent |
| mode | String | Operating mode of the agent |
| mount_point_protections | Array | List of mount points protected by the agent |
| policy_id | UUID | Identifier of the policy set applied to the mount point |
| path_mount_point | String | Path (or bucket) of the protected mount point |
| bucket | String | Bucket name of the protected mount point, used in object storage mode |
| object_storage | Object | Object storage configuration, present when the mode is object storage |
| created_by | UUID | Identifier of the user who created the agent |
| created_by_name | String | Display name of the user who created the agent |
| updated_by | UUID | Identifier of the user who last updated the agent |
| updated_by_name | String | Display name of the user who last updated the agent |
| created_at | Integer | Creation timestamp in Unix format |
| updated_at | Integer | Last update timestamp in Unix format |
| total | Integer | Total number of agents available |
| page | Integer | Current page number |
| page_size | Integer | Number of records returned per page |
| last_page | Integer | Total number of available pages |
info
- A valid Bearer Token is required to access this endpoint.
- Supported
modevalues areAgentModeDirectoryandAgentModeObjectStorage. - The
object_storage,bucket, anddescriptionfields may not be present depending on the agent's mode and configuration. - Unix timestamp fields can be converted to a human-readable date and time format as needed.