Lists artifacts for a specified digital employee.
Operation description
Lists artifacts for a specified digital employee.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
starops:ListArtifacts |
list |
*DigitalEmployee
|
None | None |
Request syntax
GET /digitalEmployee/{name}/artifacts HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| name |
string |
Yes |
The name of the digital employee. |
test |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| artifactPath |
string |
Yes |
The path from which to list artifacts. If you specify a directory path, this operation lists all files and subdirectories within it. If you omit this parameter, the operation lists artifacts from the root directory. |
missions/mission-xxx/artifacts/2026-05/05-01/ |
| maxResults |
integer |
No |
The maximum number of artifacts to return per page. If omitted, a default value is used. |
10 |
| nextToken |
string |
No |
The pagination token used to retrieve the next page of results. This value is obtained from the response of a previous request. |
xxx |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response object. |
||
| requestId |
string |
The ID of the request. |
8FDE2569-626B-5176-9844-28877A***** |
| artifacts |
array<object> |
A list of artifacts. |
[{"path":"reports/summary.pdf","size":1024,"lastModified":"2026-05-25T08:00:00Z","isDirectory":false}] |
|
object |
An object representing a single artifact. |
||
| path |
string |
The relative path of the artifact. |
missions/mission-xxx/artifacts/2026-05/05-01/xxxx.md |
| size |
integer |
The size of the artifact in bytes. |
21950 |
| lastModified |
string |
The last modification time of the artifact, in ISO 8601 format. |
2026-04-30T16:03:54Z |
| isDirectory |
boolean |
Indicates whether the path points to a directory. A value of |
false |
| nextToken |
string |
The token for retrieving the next page of results. This field is empty when there are no more results. |
xxx |
| maxResults |
integer |
The maximum number of entries returned on each page. |
10 |
Examples
Success response
JSON format
{
"requestId": "8FDE2569-626B-5176-9844-28877A*****\n",
"artifacts": [
{
"path": "missions/mission-xxx/artifacts/2026-05/05-01/xxxx.md",
"size": 21950,
"lastModified": "2026-04-30T16:03:54Z",
"isDirectory": false
}
],
"nextToken": "xxx",
"maxResults": 10
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.