Infisical icon

Infisical

Manage secrets and related resources in Infisical

Actions40

Folder → Get

AI-generated

Summary

Retrieve a folder by ID

Inputs

  • folderId (required) — The ID (or name, for delete) of the folder
  • requestOptions — Options for controlling the HTTP request such as batching, SSL verification, proxy, and timeout
  • allowUnauthorizedCerts — Whether to accept the response even if SSL certificate validation is not possible
  • proxy — HTTP proxy to use. If authentication is required it can be defined as follow: http://username:password@myproxy:3128
  • timeout — Time in ms to wait for the server to send response headers before aborting the request

Output shape

a single folder object

The response contains the folder details returned by Infisical, typically including id, name, path, description, and other metadata; no pagination is involved.

Examples

Example 1: Get a folder by its ID

folderId: '3c90c3cc-0d44-4b50-8888-8dd25736052a'

Example 2: Retrieve a folder with batching enabled

folderId: 'my-folder'; requestOptions: { batching: { batchSize: 100, batchInterval: 500 } }

Links

Discussion