Deploy a new AI agent on the Shinzo Platform.
| Field | Type | Required | Description |
|---|---|---|---|
name | string | Yes | Agent name (1-100 characters) |
description | string | No | Agent description (max 500 characters) |
pvc_size | string | No | Persistent volume size (e.g., 2Gi) |
anthropic_api_key | string | Yes | Anthropic API key for the agent |
configuration | object | No | Agent configuration options |
initial_files | array | No | Files to create in agent workspace |
| Field | Type | Default | Description |
|---|---|---|---|
timeout_seconds | number | 3600 | Task timeout in seconds |
mcp_servers | object | - | MCP server configurations |
memory_config | object | - | Memory configuration |
webhooks | object | - | Webhook URLs for notifications |
| Field | Type | Default | Description |
|---|---|---|---|
type | string | hierarchical | Memory type (hierarchical or flat) |
max_size_mb | number | 1024 | Maximum memory size in MB |
persistence | string | persistent | Memory persistence (ephemeral or persistent) |
| Field | Type | Description |
|---|---|---|
task_complete | string | URL called when a task completes |
task_failed | string | URL called when a task fails |
task_awaiting_input | string | URL called when a task needs input |
agent_error | string | URL called on agent error |
| Field | Type | Required | Description |
|---|---|---|---|
path | string | Yes | File path in workspace |
content | string | Yes | File content |
encoding | string | No | Content encoding (utf-8 or base64, default: utf-8) |
| Field | Type | Description |
|---|---|---|
uuid | string | Unique agent identifier |
name | string | Agent name |
status | string | Agent status (active) |
endpoint_url | string | Agent’s API endpoint |
container_id | string | Kubernetes pod identifier |
platform_api_key | string | Auto-generated API key for Spotlight analytics |
created_at | string | Creation timestamp |
| Code | Description |
|---|---|
201 | Agent created successfully |
400 | Invalid request (validation error) |
401 | Invalid authentication |
403 | AI Agents feature not enabled |
| Resource | Request | Limit |
|---|---|---|
| CPU | 250m | 1000m |
| Memory | 512Mi | 2Gi |