Register a model after uploading
Confirms a model upload and creates the metadata record. The file must already exist at the storage_key.
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
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
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.
"019abc12-4567-7890-abcd-ef1234567891"
Body
Confirm model upload and register metadata. Call after uploading to the presigned URL.
Human-readable name for the model.
1 - 255"SDXL Base 1.0"
Type/subdirectory of the model (e.g. checkpoints, loras, vae). Corresponds to a ComfyUI models subdirectory.
1 - 50"checkpoints"
S3 object key returned from the presign endpoint.
"models/019abc12-4567/019def34-5678"
File size in bytes.
6800000000
SHA-256 hex digest of the file (prefixed with sha256:).
"sha256:a1b2c3d4..."
Relative path inside ComfyUI models directory. Must not contain .., backslashes, or be absolute.
^(?!/)(?!.*\.\.)(?!.*\\)[\w./ -]+$"models/checkpoints/sdxl_base_1.0.safetensors"
Response
Model created
UUID of the created or updated resource.
"019abc12-3456-7890-abcd-ef1234567890"
