{ "opencollection": "1.0.0", "info": { "name": "Telnyx Access Tokens Clusters API", "version": "2.0.0" }, "request": { "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "items": [ { "info": { "name": "Clusters", "type": "folder" }, "items": [ { "info": { "name": "List all clusters", "type": "http" }, "http": { "method": "GET", "url": "https://api.telnyx.com/v2/ai/clusters", "params": [ { "name": "page", "value": "", "type": "query", "description": "Consolidated page parameter (deepObject style). Originally: page[number], page[size]" } ] }, "docs": "List all clusters" }, { "info": { "name": "Compute new clusters", "type": "http" }, "http": { "method": "POST", "url": "https://api.telnyx.com/v2/ai/clusters", "body": { "type": "json", "data": "{}" } }, "docs": "Starts a background task to compute how the data in an [embedded storage bucket](https://developers.telnyx.com/api-reference/embeddings/embed-documents) is clustered. This helps identify common themes and patterns in the data." }, { "info": { "name": "Fetch a cluster", "type": "http" }, "http": { "method": "GET", "url": "https://api.telnyx.com/v2/ai/clusters/:task_id", "params": [ { "name": "task_id", "value": "", "type": "path" }, { "name": "top_n_nodes", "value": "", "type": "query", "description": "The number of nodes in the cluster to return in the response. Nodes will be sorted by their centrality within the cluster." }, { "name": "show_subclusters", "value": "", "type": "query", "description": "Whether or not to include subclusters and their nodes in the response." } ] }, "docs": "Fetch a cluster" }, { "info": { "name": "Delete a cluster", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.telnyx.com/v2/ai/clusters/:task_id", "params": [ { "name": "task_id", "value": "", "type": "path" } ] }, "docs": "Delete a cluster" }, { "info": { "name": "Fetch a cluster visualization", "type": "http" }, "http": { "method": "GET", "url": "https://api.telnyx.com/v2/ai/clusters/:task_id/graph", "params": [ { "name": "task_id", "value": "", "type": "path" }, { "name": "cluster_id", "value": "", "type": "query" } ] }, "docs": "Fetch a cluster visualization" } ] } ], "bundled": true }