Skip to content
GitmoapAPIBeta
Schema

PipelinePolicy

pipelines — how pipelines treat code an agent wrote. Ordered: untrusted is stricter than trusted.

Shape

  • agent_codeAgentCodeTrustuntrustedtrustedoptionalWhether a run of code an agent wrote, or a run an agent started, gets the repository's connections, secrets, cloud roles and build cache.

Example

Synthesized example
{
"agent_code": "untrusted"
}

Graph

Used inside
Contains

No named schema inside.

Used by

Sent by 0 operations

No operation takes it as a request body.

Returned by 0 operations

No operation returns it directly.