Apps

Create an app (slug is immutable after first publish)

Changed on
post/v1/apps

Request

  • Base URL
    https://api.talonic.com
  • Auth
    HTTP bearer

Request body

object required
slug, string required
display_name, string required
mode, 'rules' | 'assisted' | 'external' required
description, string

One sentence about the app, shown on its card. Optional.

Response

The created app's manifest (no versions yet).

AppManifest required

An app as humans and agents both see it (docs/APPS-SPEC.md §B1.2). A hosted app's document is discovered at /.well-known/talonic-app.json first, then /manifest.json (manifest_path says which one answered); its requires[] slots are referenced elsewhere in the manifest as $requires.<alias> and bound to workspace resources at install (POST .../install bindings).

app_id, string

Stable public id (app_ prefix).

id, string uuid
slug, string
display_name, string
version, integer nullable
content_hash, string nullable
mode, 'rules' | 'assisted' | 'autonomous' | 'external'
enabled, boolean
standard, boolean

A standard app: one the platform ships whole, added from the catalog and never drafted or published. It is switched on when added, switches on and off without a version, and has no runs.

contract, object nullable
output_contract, object nullable

JSON Schema 2020-12 the decision validates against.

input_schema, object
triggers, object nullable
thresholds, object nullable
fallback, 'rules' | 'hold' | 'none' nullable
endpoints, object
surface, object

How the app's own UI may be hosted, from the ACTIVE version's manifest with the defaults applied (a manifest with no surface block reads as embed link, scopes [apps:read], context []). A draft never changes it.

required_grants, object[]

The capability claim an owner approves at install (§B13.1); disclosed BEFORE the service key is minted.

subscriptions, object[]

Outbox events the active version subscribes to, with the defaults applied.

subscriptions_endpoint, string nullable

Where events are delivered; null when the manifest subscribes to nothing.

source, 'pushed' | 'hosted'

pushed = draft + publish; hosted = fetched from manifest_url.

manifest_url, string nullable
last_fetch_at, string date-time nullable
last_fetch_error, string nullable

Null when the last hosted fetch succeeded; the config page offers Refresh instead of a draft editor while this is set.

identity, AppManifestIdentity nullable

Null when the manifest declares no name.

requires, AppRequirementSlot[]
allowed_origins, string[]

Origins the manifest's host vouches for, beyond the manifest's own origin (the implicit default when empty). A hosted manifest's subscriptions_endpoint and surface.url must lie inside this set.

Changes