Zum Hauptinhalt springen
POST
/
v3beta1
/
organizations
/
{org_id}
/
snapshot-setup
/
builds
Einen manuellen Build auslösen
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.

Berechtigungen

Erfordert einen Service-Benutzer mit der Berechtigung ManageOrgSnapshots auf Ebene der Organisation.

Verhalten

Löst einen manuellen Snapshot-Build für die Organisation aus. Der Build ist asynchron — pollen Sie den Build-Status-Endpunkt, um den Fortschritt nachzuverfolgen.

Autorisierungen

Authorization
string
header
erforderlich

Servicebenutzer-Anmeldedaten (Präfix: cog_)

Body

application/json

POST /builds-Body. Gemäß Spezifikation leer; für zukünftige Felder reserviert.

Antwort

Erfolgreiche Antwort

Öffentliches Ressourcenformat für Build — eine opake Sicht auf „war dies schon erfolgreich?“.

Laut Spezifikation wird keine Introspektion auf Plattform-/Snapshot-/Job-Ebene offengelegt. Künftige Erweiterungen (triggered_by_repo, Build-Metadaten usw.) sind additiv.

build_id
string
erforderlich
completed_at
integer | null
erforderlich
created_at
integer
erforderlich
pinned
boolean
erforderlich
started_at
integer | null
erforderlich
status
enum<string>
erforderlich
Verfügbare Optionen:
pending,
running,
succeeded,
failed,
cancelled
trigger
enum<string> | null
erforderlich
Verfügbare Optionen:
manual,
auto
triggered_by_user_id
string | null
erforderlich
updated_at
integer
erforderlich