List API Agent Drive items

API documentation for List API Agent Drive items

GET
/api/v1/api-agents/{agentId}/drive/items

Authorization

bearerAuth
AuthorizationBearer <token>

API key authentication.

In: header

Path Parameters

agentId*string

Query Parameters

parentPath?string

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://loading/api/v1/api/v1/api-agents/string/drive/items"
[
  {
    "id": "string",
    "agentId": "string",
    "parentId": "string",
    "name": "string",
    "type": "file",
    "mimeType": "string",
    "size": 0,
    "storageKey": "string",
    "createdAt": "string",
    "updatedAt": "string"
  }
]
{
  "defined": true,
  "code": "BAD_REQUEST",
  "status": 400,
  "message": "Bad Request",
  "data": {
    "error": "string"
  }
}
{
  "defined": true,
  "code": "UNAUTHORIZED",
  "status": 401,
  "message": "Unauthorized",
  "data": {
    "error": "string"
  }
}
{
  "defined": true,
  "code": "FORBIDDEN",
  "status": 403,
  "message": "Forbidden",
  "data": {
    "error": "string"
  }
}
{
  "defined": true,
  "code": "NOT_FOUND",
  "status": 404,
  "message": "Not Found",
  "data": {
    "error": "string"
  }
}