# List composite slices Retrieve a paginated list of composite slices within an organization. Returns all composite slices for the specified organization. Composite slices aggregate multiple individual knowledge slices, allowing unified queries across several data sources. #### Path Parameters **`organization_id`** string required The unique identifier of the organization (format: `org_*`). #### Query Parameters **`skip`** integer optional · Defaults to `0` Number of items to skip for pagination. **`limit`** integer optional · Defaults to `20` Maximum number of items to return (1-100). ## Returns A paginated list of composite slice objects. Each object includes a `member_slice_ids` array containing the IDs of its member slices. Request ```bash cURL curl "https://api.aitronos.com/v1/organizations/org_xyz789/knowledge/composites?limit=10" \ -H "Authorization: Bearer $ACCESS_TOKEN" ``` ```python Python SDK from aitronos import Aitronos client = Aitronos(api_key="your-api-key") result = client.knowledge.list_composites( organization_id="org_xyz789", limit=10, ) print(result) ``` ```python Python import requests org_id = "org_xyz789" url = f"https://api.aitronos.com/v1/organizations/{org_id}/knowledge/composites" headers = {"Authorization": "Bearer YOUR_ACCESS_TOKEN"} params = {"limit": 10} response = requests.get(url, headers=headers, params=params) print(response.json()) ``` ```javascript JavaScript const orgId = "org_xyz789"; const response = await fetch( `https://api.aitronos.com/v1/organizations/${orgId}/knowledge/composites?limit=10`, { headers: { "Authorization": `Bearer ${accessToken}` }, } ); const data = await response.json(); console.log(data); ``` Response ```json 200 OK { "items": [ { "id": "kslice_comp789", "name": "All Engineering Knowledge", "description": "Combines backend and frontend docs", "type": "standard", "is_composite": true, "owner_type": "organization", "owner_id": "org_xyz789", "status": "active", "member_slice_ids": ["kslice_abc123", "kslice_def456"], "store_count": 0, "organization_id": "org_xyz789", "created_by": "usr_owner1", "created_at": "2025-06-15T10:00:00Z", "updated_at": "2025-06-15T10:00:00Z", "archived_at": null, "archived_by": null } ], "total": 1, "skip": 0, "limit": 10, "has_more": false } ``` ```json 401 Error { "success": false, "error": { "code": "AUTHENTICATION_REQUIRED", "message": "Authentication is required to access this resource.", "system_message": "Missing or invalid authentication", "type": "client_error", "status": 401, "details": {}, "trace_id": "abc-123-def", "timestamp": "2025-11-02T08:21:45Z" } } ``` ## Related Resources - [Create Composite](/docs/api-reference/knowledge/create-composite) - [Update Composite](/docs/api-reference/knowledge/update-composite) - [List Slices](/docs/api-reference/knowledge/list-slices)