POST
/
api
/
organizations
/
{organizationId}
/
transfer-learning
/
{transferLearningId}
Update transfer learning block
curl --request POST \
  --url https://studio.edgeimpulse.com/v1/api/organizations/{organizationId}/transfer-learning/{transferLearningId} \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "name": "<string>",
  "dockerContainer": "<string>",
  "description": "<string>",
  "operatesOn": "object_detection",
  "objectDetectionLastLayer": "mobilenet-ssd",
  "implementationVersion": 123,
  "isPublic": true,
  "isPublicForDevices": [
    "<string>"
  ],
  "publicProjectTierAvailability": "enterprise-only",
  "repositoryUrl": "<string>",
  "parameters": [
    {}
  ],
  "imageInputScaling": "0..1",
  "indRequiresGpu": true,
  "displayCategory": "classical",
  "customModelVariants": [
    {
      "key": "<string>",
      "name": "<string>",
      "inferencingEntrypoint": "<string>",
      "profilingEntrypoint": "<string>",
      "modelFiles": [
        {
          "id": "<string>",
          "name": "<string>",
          "type": "binary",
          "description": "<string>"
        }
      ]
    }
  ],
  "indBlockNoLongerAvailable": true,
  "blockNoLongerAvailableReason": "<string>",
  "sourceCodeDownloadStaffOnly": true
}'
{
  "success": true,
  "error": "<string>"
}

Authorizations

x-api-key
string
header
required

Path Parameters

organizationId
integer
required

Organization ID

transferLearningId
integer
required

Transfer learning ID

Body

application/json
name
string
dockerContainer
string
description
string
operatesOn
enum<string>
Available options:
object_detection,
audio,
image,
regression,
other
objectDetectionLastLayer
enum<string>
Available options:
mobilenet-ssd,
fomo,
yolov2-akida,
yolov5,
yolov5v5-drpai,
yolox,
yolov7,
yolo-pro,
tao-retinanet,
tao-ssd,
tao-yolov3,
tao-yolov4,
yolov11,
yolov11-abs
implementationVersion
integer
isPublic
boolean

Whether this block is publicly available to Edge Impulse users (if false, then only for members of the owning organization)

isPublicForDevices
string[]

If isPublic is true, the list of devices (from latencyDevices) for which this model can be shown.

publicProjectTierAvailability
enum<string>

For public blocks, this indicates the project tiers for which this block is available.

Available options:
enterprise-only,
pro-or-enterprise,
all-projects
repositoryUrl
string

URL to the source code of this custom learn block.

parameters
object[]
imageInputScaling
enum<string>

Normalization that is applied to images. If this is not set then 0..1 is used. "0..1" gives you non-normalized pixels between 0 and 1. "-1..1" gives you non-normalized pixels between -1 and 1. "0..255" gives you non-normalized pixels between 0 and 255. "-128..127" gives you non-normalized pixels between -128 and 127. "torch" first scales pixels between 0 and 1, then applies normalization using the ImageNet dataset (same as torchvision.transforms.Normalize()). "bgr-subtract-imagenet-mean" scales to 0..255, reorders pixels to BGR, and subtracts the ImageNet mean from each channel.

Available options:
0..1,
-1..1,
-128..127,
0..255,
torch,
bgr-subtract-imagenet-mean
indRequiresGpu
boolean

If set, requires this block to be scheduled on GPU.

displayCategory
enum<string>

Category to display this block in the UI.

Available options:
classical,
tao,
developer-preview
customModelVariants
object[]

List of custom model variants produced when this block is trained. This is experimental and may change in the future.

indBlockNoLongerAvailable
boolean

If set, then this block is no longer available for training; and blockNoLongerAvailableReason should be set.

blockNoLongerAvailableReason
string

In Markdown format. Should be set if indBlockNoLongerAvailable is true, contains migration information for existing users of this block.

sourceCodeDownloadStaffOnly
boolean

Whether the source code is only available for staff users.

Response

200 - application/json

OK

success
boolean
required

Whether the operation succeeded

error
string

Optional error description (set if 'success' was false)