Skip to main content
POST
/
v3beta1
/
enterprise
/
snapshot-setup
/
blueprints
/
{blueprint_id}
/
files
Upload an enterprise blueprint file
curl --request POST \
  --url https://api.devin.ai/v3beta1/enterprise/snapshot-setup/blueprints/{blueprint_id}/files \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: multipart/form-data' \
  --form file='@example-file'
{
  "blueprint_id": "<string>",
  "created_at": 123,
  "env_var_name": "<string>",
  "file_id": "<string>",
  "name": "<string>",
  "size_bytes": 123,
  "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 ManageAccountSnapshots permission at the enterprise level.

Behavior

Uploads a file to the enterprise blueprint. Files are referenced in the blueprint YAML and made available during snapshot builds.

Authorizations

Authorization
string
header
required

Service User credential (prefix: cog_)

Path Parameters

blueprint_id
string
required

Query Parameters

name
string
required

Body

multipart/form-data
file
file
required

Response

Successful Response

Public BlueprintFile resource shape.

blueprint_id
string
required
created_at
integer
required
env_var_name
string
required
file_id
string
required
name
string
required
size_bytes
integer
required
updated_at
integer
required