{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/cockroach-labs/main/json-schema/cockroach-labs-list-folders-response-schema.json", "title": "ListFoldersResponse", "description": "Paginated list of folders.", "x-generated": "2026-10-04", "x-method": "derived", "x-generator": "derive-json-schema.py", "x-source": "openapi/cockroach-labs-folders-api-openapi.yml#/components/schemas/ListFoldersResponse", "type": "object", "properties": { "folders": { "type": "array", "description": "Array of folder objects.", "items": { "$ref": "#/$defs/Folder" } }, "pagination": { "$ref": "#/$defs/PaginationResponse" } }, "$defs": { "Folder": { "type": "object", "description": "Represents a folder used to organize clusters and resources within a CockroachDB Cloud organization.", "properties": { "resource_id": { "type": "string", "description": "Unique identifier of the folder." }, "name": { "type": "string", "description": "Human-readable name of the folder." }, "parent_id": { "type": "string", "description": "ID of the parent folder, if any." }, "path": { "type": "string", "description": "Full path to the folder." } } }, "PaginationResponse": { "type": "object", "description": "Pagination metadata included in list responses.", "properties": { "next": { "type": "string", "description": "Token or cursor for retrieving the next page of results." }, "last": { "type": "string", "description": "Token or cursor for the last page of results." }, "time": { "type": "string", "format": "date-time", "description": "Server time at which the paginated query was executed." } } } } }