Skip to content

AppStartRequest

The body of an app start: its inputs, plus optional model keys, model overrides and web settings. Changing a run’s inputs takes the same body, and reads only inputs.

Kind: an object, used in requests.

FieldTypeRequiredDescription
inputsNameValuePair[]yesA value for every input the app declares (the parameters of its main), by name. Every declared input is required; a name the app doesn’t declare is ignored. Constraints: required (empty or whitespace-only strings are rejected).
credentialsInteractionProcessCredentialRequest[] | nullModel keys for this run, in the order they are tried. Every interaction the app starts uses them before your tenant’s model keys. Null or empty: only your tenant’s keys are used.
allowMaitentoFallbackboolean | nullWhether an interaction this app starts may use Maitento’s own key for a provider once no key of yours for it is left. Null means no.
credentialStackstring | nullThe credential stack the run uses, by id or name, and every interaction and code pipeline it starts. Its credentials serve every model call, in the stack’s order, and Maitento’s own keys are never used. Leave it out to use the app’s own stack, then the namespace’s default, then your tenant’s. Can’t be combined with credentials.
aiModelOverridesAiModelOverrideRequestInput[] | nullModel overrides for named agents, applied to every interaction this app starts. Null or empty: agents use the models their definitions name.
webDownloadPartitionIduuid | nullThe temporary knowledge base (partition) that pages fetched by the web tools of every interaction and code pipeline this app starts are kept in, passed on to the apps it starts. Ignored unless it is one of your temporary knowledge bases. Null: each run uses its namespace’s default, then the tenant’s.
webAccessOverridesWebAccessOverrideInput[] | nullWeb tool overrides (on or off, for all agents or one by name) applied to every interaction this app starts.
{
"inputs": [
{
"name": "...",
"value": "..."
}
],
"credentials": [
{
"provider": "...",
"apiKey": "...",
"baseUrl": "...",
"modelNameOverrides": {
"key": "..."
},
"credentialId": "...",
"isOwnLicense": false,
"priority": 0
}
],
"allowMaitentoFallback": false,
"credentialStack": "...",
"aiModelOverrides": [
{
"agentName": "...",
"modelName": "...",
"customModel": {},
"purpose": "Agent"
}
],
"webDownloadPartitionId": "3f2b8c1e-5d4a-4e6b-9c7d-2a1b0c9d8e7f",
"webAccessOverrides": [
{
"agentName": "...",
"search": false,
"fetch": false
}
]
}
  • appRuns.updateInputs (PUT /apps/processes/by-id/{id}/inputs)
  • apps.start (PUT /apps/by-id/{id}/versions/{versionNumber}/start)
  • apps.start (PUT /namespaces/{namespaceName}/apps/by-name/{name}/versions/latest/start)