Wizlay

Clusters

Learn about Wizlay clusters and how they manage your API integrations

What are Clusters?

Clusters are isolated environments that handle your API requests and custom actions. Each cluster has its own configuration, endpoints, and access controls.

Custom Actions

Configure custom API actions within your cluster to handle specific tasks and integrate with external services based on conversation context.

Clusters

Cluster is the isolated environment for Actions API endpoint. You can create unlimites cluster on the organization on the PRO and scale plan.

Cluster Configuration Example

Cluster Details

Field
Description
cluster_id
A unique identifier required for all API calls to your cluster
endpoint
The URL endpoint where you send your message object for Wizlay processing
content
The whole conversation messages array you talk with any LLM.

Example API Request

curl -X POST \
  'https://api.wizlay.com/v1/clusters?id=YOUR_CLUSTER_ID' \
  -H 'Authorization: Bearer YOUR_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{
    "content": {
        "messages": [
            {
                "role": "system",
                "content": "You are a helpful assistant."
            },
            {
                "role": "user",
                "content": "How are you?"
            }
        ]
    }
}'

Note: You can find your API key in the profile settings