Skip to content

CodePipelineProcess

A run of a code pipeline: its status, the repositories it works on, and each phase and step as it goes.

Kind: an object, used in responses.

Every field is present in a response; empty ones are null.

FieldTypeDescription
pipelineVersionReferenceThe code pipeline and the version of it the run uses.
statusCodePipelineProcessStatusWhere the run is.
failureDetailsstring | nullWhy the run failed. Null unless it did.
failureReasonstring | nullThe kind of failure, when the run failed because of its coding tool or model provider: "Auth" (a key or sign-in was rejected), "RateLimit", "Quota" (a usage limit is used up), "Transient" (a temporary provider error), "Terminal" (an error retrying won’t fix), "EndpointModelNotFound" (no credential’s endpoint serves the model) or "Endpoint" (an endpoint answered “not found”). Null when the run hasn’t failed, or failed some other way (a git push, for example): check status to tell which.
inputsNameValuePair[]The values the run was started with, by input name.
agentOverridesCodePipelineProcessAgentOverride[] | nullThe engines and models the run uses in place of its agents’ defaults.
additionalAgentsCodePipelineAgent[] | nullAgents added for this run only, alongside the pipeline’s own. A restart keeps them.
reviewPanelCodePipelineReviewPanel| nullThe run’s review panel. Null when it has none. A restart keeps it.
maxParallelStepsinteger | nullFor this run, how many of a phase’s steps may run at once, in place of the pipeline’s maxParallelSteps. Null: the pipeline’s value. Between 1 and 16.
credentialsCodePipelineProcessCredentials[]The credentials the run was given for its engines. Keys and tokens are never returned.
credentialStackCredentialStackSnapshot| nullThe credential stack the run uses, as it stood when the run started (no secrets: keys are read live). When set, the engines use only this stack. Null: the run uses the credentials it was given.
credentialFailuresCodePipelineCredentialFailure[] | nullFailures of your own credentials during the current attempt. Null or empty when there were none.
reposCodePipelineProcessRepo[]The git repositories the run works on. Their credentials are never returned.
vfsMountsCodePipelineProcessVfsMount[] | nullThe file systems mounted for the run’s agents.
systemPromptOverridestring | nullAn extra system prompt for this run, applied on top of the pipeline’s and agents’ prompts.
inputFileIdsuuid[] | nullUploaded files the run copies into the agents’ files/ folder before it starts.
phasesCodePipelinePhaseExecution[]Each phase of the run, with its steps, as it goes. Hooks can add phases while the run is going.
additionalStepsCodePipelineProcessAdditionalSteps[] | nullSteps added to the pipeline’s phases for this run only.
injectedPhasesCodePipelinePhaseDefinition[] | nullPhases that hooks added to the run, beyond the pipeline’s own.
injectedPhaseCountinteger | nullHow many phases hooks have added to the run so far, counted against the pipeline’s maxInjectedPhases.
variablesNameValuePair[] | nullThe run’s variables: step results stored by outputVariableName, and values set by hooks. Step prompts read them as %%name%%.
resumeFromProcessIduuid | nullFor a restarted run, the run it was restarted from. Null for a run started any other way.
resumeVfsIduuid | nullNot currently used.
resumeContinuationPromptstring | nullThe prompt a resume-with-prompt sent to the agent. The step that failed or was interrupted carries on in the same session with this prompt instead of its own. Cleared once the agent has it.
dateStarteddatetime | nullWhen a worker first started the run, in UTC. A resume doesn’t change it.
dateEndeddatetime | nullWhen the run ended, in UTC. Null while it is going, and cleared when it is resumed.
executionTimetimespanThe total time the run has spent working, across every attempt and resume. Time waiting for a worker or for an answer isn’t counted. While the run is Running, add the time since dateRunnerClaimed.
dateReQueuedUtcdatetime | nullWhen the run was last sent back to wait for a worker, in UTC: by a resume, or by answering its last question. Null if that has never happened.
waitingForLaneSinceUtcdatetime | nullWhen the run started waiting for a lane, in UTC; null when it isn’t waiting. A waiting run is in status New, and GET /processes/{type}/{id}/lane says why it waits. Set by Maitento.
parentProcessIduuid | nullThe app run that started this run from its code. Null when no app run started it. A restart keeps it.
parentProcessTypeProcessType| nullWhat kind of run parentProcessId is. Null exactly when that is null.
rootProcessIduuid | nullFor a run started by an app, the id of the run at the top of its tree, shared by every run started for the same piece of work, so you can group them without following parent links. Null when no app run started it. A restart keeps it.
triggeredByAutomatedActionIduuid | nullThe automation that started this run (on a schedule, a message or by hand). Null when it was started any other way. A restart keeps it.
triggeredByAutomatedActionNamestring | nullThe automation’s name when it started this run. Null exactly when triggeredByAutomatedActionId is.
retentionLeaseActiveboolean | nullTrue while a retention lease keeps this run: its own, or one inherited from a retained run that started it. A retained run is never deleted when the tenant’s retention period ends. Null or false: not retained.
retentionLeaseAppliedAtUtcdatetime | nullWhen the lease was taken, in UTC. For an inherited lease, when the ancestor’s lease was taken.
retentionLeaseAppliedByUserIduuid | nullThe id of the user who took the lease.
retentionLeaseAppliedByUserNamestring | nullThe name of the user who took the lease, as it was when they took it.
retentionLeaseNotestring | nullWhy it is retained, as the person who retained it wrote it (optional, at most 500 characters).
retentionLeaseInheritedFromProcessIduuid | nullNull when the lease is this run’s own. Otherwise the id of the ancestor run whose lease keeps this one; releasing that run’s lease releases this one too.
hostnamestring | nullThe name of the worker machine running the run, for diagnostics.
dateRunnerPingdatetime | nullWhen the worker running the run last reported that it is alive, in UTC.
dateRunnerClaimeddatetime | nullWhen a worker last picked the run up, in UTC: the start of its current stretch of work. While the run is Running, its time so far is executionTime plus the time since this.
packageInstallsCodePipelinePackageInstall[] | nullThe packages the agents installed during the run.
outputFilesPartitionIduuid | nullThe knowledge base (partition) that files the agents write to output_files/ are uploaded to. Null: output files aren’t uploaded.
outputFilesCodePipelineOutputFile[] | nullThe files uploaded from output_files/ so far.
autoRebasebooleanWhether the run rebases each work branch onto its source branch when they have diverged, with an agent resolving any conflicts.
rebaseAgentstring | nullThe agent that resolves rebase conflicts. Null: Maitento picks one by engine.
maxCheckLoopsinteger | nullFor this run, the most rounds of a step’s runChallengeLoop check, in place of the pipeline’s maxCheckLoops. Null: the pipeline’s value. Capped at 8.
maxFixIterationsinteger | nullFor this run, the most review-and-fix rounds, in place of the pipeline’s maxFixIterations. Null: the pipeline’s value. Capped at 5.
allowWebToolsboolean | nullFor this run, whether every agent gets Maitento’s web tools. Null: each agent’s and the pipeline’s own allowWebTools.
webDownloadPartitionIduuid | nullThe temporary knowledge base (partition) the run’s web fetches are kept in, chosen when the run starts. Null: no agent of the run may fetch from the web.
stepMaxtimespan | nullFor this run, the longest every step may run, in place of each step’s own durationAutoTermination.
stepActivitytimespan | nullFor this run, how long every step may go without activity, in place of each step’s own durationActivityTimeout.
phaseMaxtimespan | nullFor this run, each phase’s durationAutoTermination.
phaseActivitytimespan | nullFor this run, each phase’s durationActivityTimeout.
processMaxtimespan | nullFor this run, the pipeline’s durationAutoTermination.
processActivitytimespan | nullFor this run, the pipeline’s durationActivityTimeout.
hooktimespan | nullFor this run, the longest one hook may run, in place of the pipeline’s hookDurationLimit.
diffRefCodePipelineChildRef| nullA reference to the run’s diff, file by file. Null until the run has produced one.
diffRawRefCodePipelineChildRef| nullA reference to the run’s diff as unified diff text. Null until the run has produced one.
toolUseCountinteger | nullHow many tool calls the run’s agents have made so far.
contextEntryCountinteger | nullHow many transcript entries (the agents’ text and thinking) the run has so far.
payloadBytesinteger | nullThe total size, in bytes, of the run’s tool calls, transcript entries and diffs.
revisionHighWaterinteger | nullThe highest revision of any of the run’s tool calls, transcript entries or diffs. If it hasn’t changed since you last fetched them, none of them has.
resolvedCommitShastring | nullThe resolvedCommitSha of the run’s first repository, copied here for convenience. Null for a run without repositories.
priorCommitShastring | nullAn earlier commit to diff from. A run’s diff normally compares the work branch with the source branch; with this set, or a run input named priorCommitSha, it shows only what changed since that commit.
userCreatedByIduuidThe id of the user who created it. A call made with an API key is recorded as the key’s user.
tenantIduuidThe id of the tenant it belongs to.
iduuidThe unique id. Use it in by-id routes and wherever another object refers to this one.
dateCreateddatetimeWhen it was created, in UTC.
dateUpdateddatetimeWhen it was last changed, in UTC.
{
"pipeline": {
"id": "3f2b8c1e-5d4a-4e6b-9c7d-2a1b0c9d8e7f",
"version": 0
},
"status": "New",
"failureDetails": "...",
"failureReason": "...",
"inputs": [
{
"name": "...",
"value": "..."
}
],
"agentOverrides": [
{
"agentName": "...",
"engine": "Claude",
"model": "..."
}
],
"additionalAgents": [
{
"name": "...",
"defaultEngine": "Claude",
"role": "Architect",
"tags": [],
"defaultModel": "...",
"systemPrompts": [],
"enginePrompts": [],
"systemPromptMode": "Additional",
"externalOperationsMcp": [],
"externalOperationsOpenApi": [],
"allowWebTools": false
}
],
"reviewPanel": {
"phaseName": "...",
"recheckPolicy": "AllMembers",
"members": [
{}
]
},
"maxParallelSteps": 0,
"credentials": [
{
"type": "apiKey"
}
],
"credentialStack": {
"stackId": "3f2b8c1e-5d4a-4e6b-9c7d-2a1b0c9d8e7f",
"stackName": "...",
"stackVersion": 0,
"source": "Start",
"resolvedAtUtc": "2026-10-26T12:00:00.0000000Z",
"entries": [
{}
],
"passesToChildren": false
},
"credentialFailures": [
{
"credentialId": "...",
"reason": "...",
"detail": "...",
"dateUtc": "2026-10-26T12:00:00.0000000Z",
"retryAfterSeconds": 0
}
],
"repos": [
{
"type": "http"
}
],
"vfsMounts": [
{
"name": "...",
"vfsId": "3f2b8c1e-5d4a-4e6b-9c7d-2a1b0c9d8e7f",
"mode": "ReadOnly",
"context": "..."
}
],
"systemPromptOverride": "...",
"inputFileIds": [
"3f2b8c1e-5d4a-4e6b-9c7d-2a1b0c9d8e7f"
],
"phases": [
{
"phaseName": "...",
"status": "NotStarted",
"dateStart": "2026-10-26T12:00:00.0000000Z",
"dateEnd": "2026-10-26T12:00:00.0000000Z",
"steps": [],
"failureDetails": "...",
"hookPreOutput": "...",
"hookPostOutput": "..."
}
],
"additionalSteps": [
{
"phaseName": "...",
"steps": []
}
],
"injectedPhases": [
{
"name": "...",
"dependsOn": [],
"steps": [],
"preHook": "...",
"postHook": "...",
"onFailHook": "...",
"durationWarning": "00:05:00",
"durationAutoTermination": "00:05:00",
"durationActivityTimeout": "00:05:00"
}
],
"injectedPhaseCount": 0,
"variables": [
{
"name": "...",
"value": "..."
}
],
"resumeFromProcessId": "3f2b8c1e-5d4a-4e6b-9c7d-2a1b0c9d8e7f",
"resumeVfsId": "3f2b8c1e-5d4a-4e6b-9c7d-2a1b0c9d8e7f",
"resumeContinuationPrompt": "...",
"dateStarted": "2026-10-26T12:00:00.0000000Z",
"dateEnded": "2026-10-26T12:00:00.0000000Z",
"executionTime": "00:05:00",
"dateReQueuedUtc": "2026-10-26T12:00:00.0000000Z",
"waitingForLaneSinceUtc": "2026-10-26T12:00:00.0000000Z",
"parentProcessId": "3f2b8c1e-5d4a-4e6b-9c7d-2a1b0c9d8e7f",
"parentProcessType": "App",
"rootProcessId": "3f2b8c1e-5d4a-4e6b-9c7d-2a1b0c9d8e7f",
"triggeredByAutomatedActionId": "3f2b8c1e-5d4a-4e6b-9c7d-2a1b0c9d8e7f",
"triggeredByAutomatedActionName": "...",
"retentionLeaseActive": false,
"retentionLeaseAppliedAtUtc": "2026-10-26T12:00:00.0000000Z",
"retentionLeaseAppliedByUserId": "3f2b8c1e-5d4a-4e6b-9c7d-2a1b0c9d8e7f",
"retentionLeaseAppliedByUserName": "...",
"retentionLeaseNote": "...",
"retentionLeaseInheritedFromProcessId": "3f2b8c1e-5d4a-4e6b-9c7d-2a1b0c9d8e7f",
"hostname": "...",
"dateRunnerPing": "2026-10-26T12:00:00.0000000Z",
"dateRunnerClaimed": "2026-10-26T12:00:00.0000000Z",
"packageInstalls": [
{
"agentName": "...",
"packageManager": "...",
"packageName": "...",
"dateRequested": "2026-10-26T12:00:00.0000000Z",
"dateCompleted": "2026-10-26T12:00:00.0000000Z",
"wasSuccessful": false
}
],
"outputFilesPartitionId": "3f2b8c1e-5d4a-4e6b-9c7d-2a1b0c9d8e7f",
"outputFiles": [
{
"id": "3f2b8c1e-5d4a-4e6b-9c7d-2a1b0c9d8e7f",
"fileName": "...",
"checksum": "...",
"size": 0,
"version": 0,
"dateLastUploadedUtc": "2026-10-26T12:00:00.0000000Z"
}
],
"autoRebase": false,
"rebaseAgent": "...",
"maxCheckLoops": 0,
"maxFixIterations": 0,
"allowWebTools": false,
"webDownloadPartitionId": "3f2b8c1e-5d4a-4e6b-9c7d-2a1b0c9d8e7f",
"stepMax": "00:05:00",
"stepActivity": "00:05:00",
"phaseMax": "00:05:00",
"phaseActivity": "00:05:00",
"processMax": "00:05:00",
"processActivity": "00:05:00",
"hook": "00:05:00",
"diffRef": {
"id": "3f2b8c1e-5d4a-4e6b-9c7d-2a1b0c9d8e7f",
"rev": 0
},
"diffRawRef": {
"id": "3f2b8c1e-5d4a-4e6b-9c7d-2a1b0c9d8e7f",
"rev": 0
},
"toolUseCount": 0,
"contextEntryCount": 0,
"payloadBytes": 0,
"revisionHighWater": 0,
"resolvedCommitSha": "...",
"priorCommitSha": "...",
"userCreatedById": "3f2b8c1e-5d4a-4e6b-9c7d-2a1b0c9d8e7f",
"tenantId": "3f2b8c1e-5d4a-4e6b-9c7d-2a1b0c9d8e7f",
"id": "3f2b8c1e-5d4a-4e6b-9c7d-2a1b0c9d8e7f",
"dateCreated": "2026-10-26T12:00:00.0000000Z",
"dateUpdated": "2026-10-26T12:00:00.0000000Z"
}