---
title: "Create Simple Application"
method: POST
path: "/simple/applications/"
tags: ["Applications"]
---

# Create Simple Application

`POST /simple/applications/`

Create an application end-to-end.

Creates the application artifact, a default variant, and a first
committed revision whose `data` comes from the request. This is the
recommended entry point for "spin up a new application from a
template". For more control over variant and revision creation, use
the structured endpoints under `/applications/`.
See [Simple Endpoints](/reference/api-guide/simple-endpoints).

## Query parameters

- `application_id` string, uuid, nullable

## Request body

- SimpleApplicationCreateRequest — Request body for `POST /simple/applications/`. Creates the application artifact, a default variant, and a first committed revision whose `data` comes from the request. Use this for the common case of "spin up a new application from a template". See [Simple Endpoints](/reference/api-guide/simple-endpoints).
  - `application` SimpleApplicationCreate, required
    - `flags` SimpleApplicationFlags
      - `is_application` boolean
      - `is_evaluator` boolean
      - `is_snippet` boolean
      - `is_managed` boolean
      - `is_custom` boolean
      - `is_llm` boolean
      - `is_hook` boolean
      - `is_code` boolean
      - `is_match` boolean
      - `is_feedback` boolean
      - `is_agent` boolean
      - `is_skill` boolean
      - `is_chat` boolean
      - `has_url` boolean
      - `has_script` boolean
      - `has_handler` boolean
      - `is_static` boolean
    - `tags` object, nullable
    - `meta` object, nullable
    - `name` string, nullable
    - `description` string, nullable
    - `slug` string, nullable
    - `data` SimpleApplicationDataInput
      - `uri` string, nullable
      - `url` string, nullable
      - `headers` object, nullable
      - `runtime` 'python' | 'typescript' | 'javascript', nullable
      - `script` string, nullable
      - `schemas` JsonSchemasInput
        - `parameters` object, nullable
        - `inputs` object, nullable
        - `outputs` object, nullable
      - `parameters` object, nullable

## Response `200`

Successful Response

- SimpleApplicationResponse — Simple-application single-row response envelope.
  - `count` integer — `1` when the application was found, `0` otherwise.
  - `application` SimpleApplication
    - `flags` SimpleApplicationFlags
      - `is_application` boolean
      - `is_evaluator` boolean
      - `is_snippet` boolean
      - `is_managed` boolean
      - `is_custom` boolean
      - `is_llm` boolean
      - `is_hook` boolean
      - `is_code` boolean
      - `is_match` boolean
      - `is_feedback` boolean
      - `is_agent` boolean
      - `is_skill` boolean
      - `is_chat` boolean
      - `has_url` boolean
      - `has_script` boolean
      - `has_handler` boolean
      - `is_static` boolean
    - `tags` object, nullable
    - `meta` object, nullable
    - `name` string, nullable
    - `description` string, nullable
    - `created_at` string, date-time, nullable
    - `updated_at` string, date-time, nullable
    - `deleted_at` string, date-time, nullable
    - `created_by_id` string, uuid, nullable
    - `updated_by_id` string, uuid, nullable
    - `deleted_by_id` string, uuid, nullable
    - `slug` string, nullable
    - `id` string, uuid, nullable
    - `data` SimpleApplicationDataOutput
      - `uri` string, nullable
      - `url` string, nullable
      - `headers` object, nullable
      - `runtime` 'python' | 'typescript' | 'javascript', nullable
      - `script` string, nullable
      - `schemas` JsonSchemasOutput
        - `parameters` object, nullable
        - `inputs` object, nullable
        - `outputs` object, nullable
      - `parameters` object, nullable
    - `variant_id` string, uuid, nullable
    - `revision_id` string, uuid, nullable
  - `additional_context` SimpleApplicationAdditionalContext — Platform-supplied read-only context for a simple-application response.
    - `playground_build_kit` PlaygroundBuildKitContext — Read-only playground build-kit context for one inspect/fetch response.
      - `agent_template_overlay` AgentTemplateOverlay — A documented subset of the `parameters.agent` authoring shape. Carries the platform-owned tools, authoring skills, and sandbox elevation the playground layers on top of the draft for the build kit. Entries are intentionally open (platform-op configs and `@ag.embed` references), so they are typed loosely: the full `parameters.agent` authoring template has no shared Pydantic model today (it rides as free-form `data.parameters`), and the SDK's runtime `AgentTemplate` is the flattened parse with different field names, so neither can be reused 1:1 to type this overlay.
        - `tools` object[] — Platform tool configs and `@ag.embed` tool references.
        - `skills` object[] — `@ag.embed` references to authoring skills.
        - `sandbox` object, nullable — Sandbox section overlay, e.g. `{permissions: {...}}`.

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/agenta-ai/apis/agenta-api.md) · [All operations](https://skmtc.net/agenta-ai/apis/agenta-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/agenta-ai/agenta-api/revisions/d43a05d98a9b/schema)
