Actions40
- Audit Log Actions
- Dynamic Secret Actions
- Environment Actions
- Folder Actions
- Identity Actions
- Project Actions
- Secret Actions
- Secret Import Actions
- Secret Tag Actions
Folder → Create
AI-generatedSummary
Create a folder in an Infisical project and environment
Inputs
- name (required) — Folder name
- projectId (required) — Project to operate on, selected from list or provided as ID
- environment (required) — Environment slug (e.g., dev, staging, prod) where the folder will be created
- path — Parent folder path; defaults to root ('/')
- additionalFields — Optionally add fields such as description
- requestOptions — Optional request settings like batching, timeout, proxy, SSL bypass
- ignoreUnauthorizedCerts — Whether to accept invalid SSL certificates
- proxy — HTTP proxy URL, optionally with authentication
- timeout — Request timeout in milliseconds
Output shape
The created folder object returned by Infisical
Includes folderId, path, and any additional fields defined in the request; may contain pagination or error envelope depending on requestOptions.
Examples
Example 1: Create a folder named 'Documentation' in the 'dev' environment of project 'my-project'
name: Documentation, projectId: my-project, environment: dev, path: /
Example 2: Create a subfolder 'Reports' under an existing folder '/Finance' with batching enabled
name: Reports, projectId: my-project, environment: prod, path: /Finance, requestOptions: {"batching":{"batchSize":100}}
Example 3: Create a folder with description and custom timeout
name: ReleaseNotes, projectId: my-project, environment: staging, path: /Release, additionalFields: {"description":"Quarterly release notes"}, timeout: 15000