---
title: "Provision Eliza app"
method: POST
path: "/api/v1/cvms/provision/eliza"
tags: ["CVMs"]
---

# Provision Eliza app

`POST /api/v1/cvms/provision/eliza`

Validates Eliza configuration and caches it for 14 days. Returns compose_hash and KMS info for on-chain registration.

## Request body

- ProvisionElizaRequest
  - `name` string, required — The name of the tapp.
  - `characterfile` string, required — The characterfile to use for the a16z/eliza.
  - `env_keys` string[], required — The environment variables to use for the a16z/eliza.
  - `teepod_id` integer, nullable — The Teepod ID to use for the a16z/eliza. If not provided, it will auto select an available one.
  - `image` string, nullable — The image to use for the a16z/eliza. If not provided, it will use the latest image.
  - `kms_id` string, nullable — The KMS ID to use.

## Response `200`

Provision data with compose_hash for creation

- unknown

## Other responses

- `400` — Invalid configuration
- `401` — Authentication required
- `422` — Validation Error

---

[API](https://skmtc.net/phala/apis/phala-cloud-api.md) · [All operations](https://skmtc.net/phala/apis/phala-cloud-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/phala/phala-cloud-api/versions/83c6ae62e860/schema)
