Skip to main content
GET
/
v1
/
folders
/
{id}
Get a folder
curl --request GET \
  --url http://localhost:3000/v1/folders/{id} \
  --header 'Authorization: <api-key>'
{
  "id": "<string>",
  "name": "<string>",
  "parentId": "<string>",
  "createdAt": "2023-11-07T05:31:56Z",
  "updatedAt": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

API Key (sk...)

Path Parameters

id
string
required

Folder ID

Response

Folder retrieved successfully

id
string

Unique identifier for the folder

name
string

Name of the folder

parentId
string | null

ID of the parent folder, if any

createdAt
string<date-time>

Timestamp when the folder was created

updatedAt
string<date-time>

Timestamp when the folder was last updated