Skip to main content
GET
/
local-folders
/
{local_folder_id}
/
ls
List directory contents
curl --request GET \
  --url https://apigcp.trynia.ai/v2/local-folders/{local_folder_id}/ls \
  --header 'Authorization: Bearer <token>'
{
  "path": "<string>",
  "entries": [
    {
      "name": "<string>",
      "type": "file",
      "size": 123
    }
  ]
}

Authorizations

Authorization
string
header
required

API key must be provided in the Authorization header

Path Parameters

local_folder_id
string
required

Local folder ID

Query Parameters

path
string
default:/

Directory path to list

Response

Directory listing

path
string
entries
object[]