Create AI chat app template

POST/v1/servers/templates/ai-chat-app

Provision an AI chat app stack including web app, auth, database, and agent runtime resources.

How to call this endpoint

Every ACP API request uses bearer authentication. The examples here show the actual request path, auth header, and body shape that the platform expects.

Path, query, and header parameters

These parameters control which ACP object the endpoint acts on and how the request is processed.

Path parameters
None.
Query parameters
None.

Body schema

Content type: application/json · Required

FieldTypeRequiredDescription
namestringYesHuman-readable name.
titlestringNoDisplay title.
descriptionstringNoHuman-readable description.
projectIdstringNoProject ID.
regionstringNo
locationstringNo
authModepublic | privateNo
agentIdstringYesAgent ID.
environmentIdstringYesComputer ID.
executionModesync | asyncNo
streamingEnabledbooleanNo
maxRuntimeSecondsintegerNo

What the API returns

Each response code below includes the documented payload shape for the ACP API.

201Template stack createdapplication/json
FieldTypeRequiredDescription
templatestringNo
webAppobjectNo
webApp.idstringNoUnique identifier.
webApp.userIdstringNoUser ID.
webApp.projectIdstringNoProject ID.
webApp.namestringNoHuman-readable name.
webApp.descriptionstringNoHuman-readable description.
webApp.kindweb_app | function | auth | agent_runtimeNo
webApp.sourceTypestringNo
webApp.sourceEnvironmentIdstringNo
webApp.sourcePathstringNoWorkspace-relative file path.
webApp.regionstringNo
webApp.runtimestringNo
webApp.authModepublic | privateNo
webApp.serviceUrlstringNo
webApp.customDomainstringNo
webApp.cloudRunServiceNamestringNo
webApp.imageUrlstringNo
webApp.statusdraft | deploying | deployed | failed | inactiveNoCurrent lifecycle status.
webApp.lastDeployedAtstringNo
webApp.metadataobjectNoFree-form metadata object.
webApp.createdAtstringNoISO 8601 timestamp.
webApp.updatedAtstringNoISO 8601 timestamp.
authobjectNo
auth.idstringNoUnique identifier.
auth.userIdstringNoUser ID.
auth.projectIdstringNoProject ID.
auth.namestringNoHuman-readable name.
auth.descriptionstringNoHuman-readable description.
auth.kindweb_app | function | auth | agent_runtimeNo
auth.sourceTypestringNo
auth.sourceEnvironmentIdstringNo
auth.sourcePathstringNoWorkspace-relative file path.
auth.regionstringNo
auth.runtimestringNo
auth.authModepublic | privateNo
auth.serviceUrlstringNo
auth.customDomainstringNo
auth.cloudRunServiceNamestringNo
auth.imageUrlstringNo
auth.statusdraft | deploying | deployed | failed | inactiveNoCurrent lifecycle status.
auth.lastDeployedAtstringNo
auth.metadataobjectNoFree-form metadata object.
auth.createdAtstringNoISO 8601 timestamp.
auth.updatedAtstringNoISO 8601 timestamp.
databaseobjectNo
database.idstringNoUnique identifier.
database.namestringNoHuman-readable name.
database.locationstringNo
database.statusstringNoCurrent lifecycle status.
agentRuntimeobjectNo
agentRuntime.idstringNoUnique identifier.
agentRuntime.userIdstringNoUser ID.
agentRuntime.projectIdstringNoProject ID.
agentRuntime.namestringNoHuman-readable name.
agentRuntime.descriptionstringNoHuman-readable description.
agentRuntime.kindweb_app | function | auth | agent_runtimeNo
agentRuntime.sourceTypestringNo
agentRuntime.sourceEnvironmentIdstringNo
agentRuntime.sourcePathstringNoWorkspace-relative file path.
agentRuntime.regionstringNo
agentRuntime.runtimestringNo
agentRuntime.authModepublic | privateNo
agentRuntime.serviceUrlstringNo
agentRuntime.customDomainstringNo
agentRuntime.cloudRunServiceNamestringNo
agentRuntime.imageUrlstringNo
agentRuntime.statusdraft | deploying | deployed | failed | inactiveNoCurrent lifecycle status.
agentRuntime.lastDeployedAtstringNo
agentRuntime.metadataobjectNoFree-form metadata object.
agentRuntime.createdAtstringNoISO 8601 timestamp.
agentRuntime.updatedAtstringNoISO 8601 timestamp.
collectionsobject[]No
filesobject[]No
Create AI chat app template
Loading...
Response 201
Loading...
See the ACP quickstart and SDK flow