Skip to main content
GET
/
api
/
v1
/
workspace
/
{workspaceId}
/
secret-snapshots
cURL
curl --request GET \
  --url https://us.infisical.com/api/v1/workspace/{workspaceId}/secret-snapshots \
  --header 'Authorization: Bearer <token>'
{
  "secretSnapshots": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "envId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "folderId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "parentFolderId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "createdAt": "2023-11-07T05:31:56Z",
      "updatedAt": "2023-11-07T05:31:56Z"
    }
  ]
}

Authorizations

Authorization
string
header
required

Path Parameters

workspaceId
string
required

Query Parameters

environment
string
required
path
string
default:/
offset
number
default:0
limit
number
default:20

Response

secretSnapshots
object[]
required