Folders

Get folders

get/api/v2/folders

Request

  • Base URL
    https://us.infisical.com
  • URL
    https://us.infisical.com/api/v2/folders
  • Auth
    HTTP bearer

Query parameters

projectIdstring required

The ID of the project to list folders from.

environmentstring required

The slug of the environment to list folders from.

lastSecretModifiedstring date-time

The timestamp used to filter folders with secrets modified after the specified date. The format for this timestamp is ISO 8601 (e.g. 2025-04-01T09:41:45-04:00)

pathstring required

The path to list folders from.

boolean
OR
string

Whether or not to fetch all folders from the specified base path, and all of its subdirectories.

Response

Default Response

Changes

No recorded changes to this operation across all 65 revisions of this API.