Skip to main content
POST
/
nodes
/
presign
Request a presigned upload URL for a custom node package
curl --request POST \
  --url https://core.cyberun.cloud/api/v1/nodes/presign \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "file_name": "ComfyUI-Impact-Pack.zip",
  "file_size": 15000000,
  "package_name": "ComfyUI-Impact-Pack"
}
'
{
  "upload_url": "<string>",
  "storage_key": "<string>",
  "upload_headers": {}
}

Documentation Index

Fetch the complete documentation index at: https://docs.cyberun.cloud/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

User session JWT (Bearer ). Must be paired with the X-Team-ID request header on team-scoped endpoints so the server knows which team's resources to operate on.

Headers

X-Team-ID
string<uuid>

UUID of the team to scope the request to. Used by dual-auth endpoints (runtime + scoped management):

  • JWT callers MUST send it — a user may belong to multiple teams and the runtime cannot otherwise know which one to operate on. Missing header → 400.
  • Credential callers (sk-, dk-) can omit it because the team is derived from the credential row itself. Any value sent is ignored.
Example:

"019abc12-4567-7890-abcd-ef1234567891"

Body

application/json

Request a presigned S3 PUT URL to upload a custom node package.

file_name
string
required

Original filename of the zip archive.

Example:

"ComfyUI-Impact-Pack.zip"

file_size
integer<int64>
required

File size in bytes.

Example:

15000000

package_name
string
required

Directory name under custom_nodes/ (unique per team). Alphanumeric, hyphens, underscores, dots only.

Required string length: 1 - 100
Pattern: ^[a-zA-Z0-9][a-zA-Z0-9._-]{0,99}$
Example:

"ComfyUI-Impact-Pack"

Response

Presigned upload URL generated

upload_url
string
required

S3 PUT URL for uploading the node package. Include all upload_headers in the request.

storage_key
string
required

S3 object key to reference when confirming the upload.

upload_headers
object
required

Required HTTP headers for the PUT upload (signed into the URL).