Skip to main content
GET
/
folders
/
{id}
/
children
List a folder’s children
curl --request GET \
  --url https://app.generalcounsel.ai/api/external/v1/folders/{id}/children \
  --header 'Authorization: <api-key>'
{
  "items": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "name": "<string>",
      "description": "<string>",
      "path": "/My Files/Contracts",
      "parent_folder_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "folder_type": "<string>",
      "created_at": "<string>",
      "type": "folder"
    }
  ]
}

Documentation Index

Fetch the complete documentation index at: https://docs.gc.ai/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

API key for authentication. Format: gcai_xxxxxxxxx

Create API keys in the GC AI app under Settings → API.

Path Parameters

id
string<uuid>
required

The folder ID

Response

Direct children of the folder

items
object[]
required

Direct children of the folder. Subfolders first (alphabetical), then files (alphabetical).