Skip to main content
Create a new application

Authorizations

Authorization
string
header
required

Builder authentication and authorization

x-sutro-api-client
string
header
required

A unique identifier for the API Client making a request

Path Parameters

projectId
string<uuid>
required

Body

application/json

Creates an application in a project.

For SLang workflows, create an empty application first with the minimal body { "scode": {} }, then upload the SLang source with PUT /applications/{applicationId}/slang.

scode
SCode representation of an Application · object
required

The application's SCode definition

name
string

Optional display name for the application

Response

The newly created application

An application

id
string<uuid>
required

Unique identifier for the application

scode
SCode representation of an Application · object
required

The application's SCode definition

projectId
string<uuid>
required

The project this application belongs to

status
object
required
isActive
boolean
required

Whether the application is currently active for billing/runtime purposes

name
string

The name of the application

serverVersion
string

The current saved server version (semver)

lastPublishedAt
string<date-time>

When the application was last published

lastUnpublishedAt
string<date-time>

When the application was last unpublished