provider file_system POST /api/projects/{project_id}/file_system/count_by_path/
@utdk/posthog /api/projects/{project_id}/file_system/count_by_path/
file_system_count_by_path_create
Get count of all files in a folder.
project_id path required
Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.
string

Try it

Authentication
Configure credentials for PostHog API
fileSystemCountByPathCreate
POST/api/projects/{project_id}/file_system/count_by_path/
Get count of all files in a folder.

Parameters

required

Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.

Input

required
required
required
required
required
required

Resolved access level the user has for the object this entry references ('none' means the user can't open it). Null when access controls don't apply to the entry type.

Configure credentials above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import posthog from '@utdk/posthog';

await posthog.fileSystemCountByPathCreate()