Skip to main content
POST
/
v3beta1
/
organizations
/
{org_id}
/
snapshot-setup
/
builds
Trigger a manual build
curl --request POST \
  --url https://api.devin.ai/v3beta1/organizations/{org_id}/snapshot-setup/builds \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{}'
{
  "build_id": "<string>",
  "completed_at": 123,
  "created_at": 123,
  "pinned": true,
  "started_at": 123,
  "status": "pending",
  "trigger": "manual",
  "triggered_by_user_id": "<string>",
  "updated_at": 123
}

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 the ManageOrgSnapshots permission at the organization level.

Behavior

Triggers a manual snapshot build for the organization. The build is asynchronous — poll the build status endpoint to track progress.

Authorizations

Authorization
string
header
required

Service User credential (prefix: cog_)

Body

application/json

POST /builds body. Empty per spec; reserved for future fields.

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.

build_id
string
required
completed_at
integer | null
required
created_at
integer
required
pinned
boolean
required
started_at
integer | null
required
status
enum<string>
required
Available options:
pending,
running,
succeeded,
failed,
cancelled
trigger
enum<string> | null
required
Available options:
manual,
auto
triggered_by_user_id
string | null
required
updated_at
integer
required