Pin the org to a specific successful build
Snapshot Setup (Organization)
Pin the org to a specific successful build
Pin a successful build (less than 7 days old).
Translates the SDK’s 400 errors into 409 (per spec: “409 if the build is not succeeded, or older than 7 days”).
POST
Pin the org to a specific successful build
Documentation Index
Fetch the complete documentation index at: https://docs.devin.ai/llms.txt
Use this file to discover all available pages before exploring further.
Permissions
Requires a service user with theManageOrgSnapshots permission at the organization level.
Behavior
Pins the organization to a specific successful build. New sessions will use this pinned snapshot until it is unpinned.Authorizations
Service User credential (prefix: cog_)
Path Parameters
Body
application/json
POST /builds/{id}/pin body. Empty per spec.
Response
Successful Response
Public Build resource shape — opaque "did this succeed yet?" view.
Per spec, no platform/snapshot/per-job introspection is exposed. Future
additions (triggered_by_repo, build metadata, etc.) are additive.
Available options:
pending, running, succeeded, failed, cancelled Available options:
manual, auto 