---
title: "Create Agent App"
method: POST
path: "/api/agents/{agent_id}/apps"
tags: ["agent-apps"]
---

# Create Agent App

`POST /api/agents/{agent_id}/apps`

## Request

- Base URL: `https://api.tintin-x.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.tintin-x.com/api/agents/{agent_id}/apps`
- Auth: HTTP bearer

Create an App from an agent in build mode or engineer type.

The App is scoped to the agent's program. Auth: JWT or X-Internal-Key
(agents use internal auth via api_client).

## Path parameters

- `agent_id` string, uuid, required

## Request body

- AgentAppCreateRequest
  - `name` string, required
  - `description` string, nullable
  - `html_content` string, required
  - `source` string, nullable

## Response `201`

Successful Response

- CanvasResponse
  - `id` string, uuid, required
  - `program_id` string, uuid, required
  - `created_by` string, uuid, required
  - `created_by_agent` string, uuid, nullable
  - `name` string, required
  - `description` string, nullable, required
  - `created_at` string, date-time, required
  - `html_url` string, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/tintin-x/apis/tintin-api.md) · [All operations](https://skmtc.dev/tintin-x/apis/tintin-api/llms.txt) · [OpenAPI document](https://skmtc.dev/tintin-x/apis/tintin-api/revisions/8839a8d0a66c?raw)
