Skip to main content
Version: 3.4.0-rc.1

Service Schemas

This document defines the schemas used for service-related endpoints in the ConfidentialMind Manager API.

ServiceInfoResponse​

Response for GET /services. Returns a list of available service templates and configurations.

Properties​

PropertyTypeDescription
servicesServiceInfo[]List of available service templates

ServiceInfo Object​

PropertyTypeDescription
titlestringTitle of the service template
descriptionstringDescription of the service
typeServiceTypeType of the service (e.g., "api", "model")
templateIdstringUnique identifier for the template
coming_soonbooleanWhether the service is marked as coming soon
markdownstringMarkdown documentation for the service
deployment_imagestringDocker image used for deployment
deployment_image_versionstringVersion tag of the deployment image
chart_versionstringHelm chart version
values_filestringPath to the values file
custom_registry_urlstringURL of the custom registry (if any)
custom_chart_urlstringURL of the custom chart (if any)
view_levelstringView level permission ("view" or "admin")
overwrite_valuesobjectDefault overwrite values for the service
additionalServicesAdditionalService[]List of additional services included with this template
modelConnectorsModelConnector[]List of model connectors
connectorsConnectorsConfigConfiguration for connectors

AdditionalService Object​

PropertyTypeDescription
connectorIdstringID of the connector
templateIdstringID of the template for the additional service

ModelConnector Object​

PropertyTypeDescription
connectorIdstringID of the connector
modelTypestringType of the model

Example​

{
"services": [
{
"title": "Llama 2 Chat",
"description": "Llama 2 Chat model service",
"type": "model",
"templateId": "llama-2-chat",
"coming_soon": false,
"markdown": "# Llama 2 Chat\n...",
"deployment_image": "confidentialmind/llama-2-chat",
"deployment_image_version": "latest",
"chart_version": "0.1.0",
"values_file": "values.yaml",
"view_level": "view",
"overwrite_values": {},
"connectors": {
"connectors": []
}
}
]
}

TenantServicesResponse​

Response for GET /tenants/{tenantId}/services. Returns a list of services deployed within a specific tenant.

Properties​

PropertyTypeDescription
serviceIdstringUnique identifier for the deployed service
serviceNamestringDisplay name of the service
typeServiceTypeType of the service

Example​

[
{
"serviceId": "svc-123",
"serviceName": "My API Service",
"type": "api"
},
{
"serviceId": "svc-456",
"serviceName": "Postgres DB",
"type": "database"
}
]

ServiceGroup Object​

PropertyTypeDescription
idstringUnique identifier for the group.
scopestringThe scope of access ("view" or "admin").
namestring (optional)Display name of the group.
typestringType of the group ("subgroup", "tenant-members", "tenant-admins").
memberCountnumber (optional)Number of members in the group (only shown for admins).

JSON Example​

{
"id": "group-123",
"scope": "view",
"name": "Viewers",
"type": "subgroup",
"memberCount": 5
}

StorageClass Object​

PropertyTypeDescription
namestringName of the storage class.
provisionerstringThe provisioner for the storage class.
allowVolumeExpansionbooleanWhether volume expansion is allowed.

JSON Example​

{
"name": "standard",
"provisioner": "kubernetes.io/gce-pd",
"allowVolumeExpansion": true
}

ApiKey Object​

PropertyTypeDescription
apiKeystringThe JWT of the API key.
statestringThe state of the API key ("active" or "paused").

JSON Example​

{
"apiKey": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...",
"state": "active"
}