Object Delivery

Overview

When you create a workspace with the Obj_Delivery product ID, Delivery Manager seeds every new environment version with a pre-populated group of settings. These settings are the foundational layer of your configuration: they sit at the top of the default rule set and apply to every incoming request unless a rule lower in the tree overrides them.

The values are tuned for Object Delivery's profile — many small objects cached close to the user, with a hard ceiling on object size. The template is small: nine settings, most of which are declarations about your content rather than switches.

This page explains the JSON syntax of that template, what each setting does, why it ships with the value it does, and which values you must change before your first activation.

📘

Object Delivery is Obj_Delivery

Obj_Delivery is the product ID for Object Delivery in the Delivery Manager API. List products returns it for every contract that's entitled to it. Don't confuse it with Obj_Caching (Object Caching), which is a different product.

Where the defaults come from

Two operations matter:

OperationMethod and endpointWhat you get
Get product definitionGET /products/Obj_DeliverynewEnvironmentVersionTemplate — the exact object new environment versions start from — plus settingsCategories, behaviorDefinitions, validationRules, and latestRuleFormat
Create an environment versionPOST /workspaces/{workspaceName}/environments/{environmentName}/versionsThe version the template was applied to

Read the template before you write your first environment version. It's the only place the shipped values are expressed in full, and it's versioned: catalogVersion and latestRuleFormat in the same response tell you which catalog produced them.

❗️

Two different "defaults" exist — don't confuse them

behaviorDefinitions[<behavior>].options[*].defaultVal is the behavior schema default: the value a behavior falls back to anywhere in a rule tree. newEnvironmentVersionTemplate is the Object Delivery product template: what your environment version is actually created with. The product template overrides the schema default for cache key handling. When this page says "ships as," it means the product template. Reference pages under Behaviors describe the schema, not the product template.

Syntax

The settings object

Default settings live in the defaultRuleSet.defaultSettings array of an environment version. Each entry is a behavior object with two members:

{
  "name": "restrictObjectCaching",
  "options": {
    "maximumSize": "100MB"
  }
}
  • name — the behavior's API name, camelCase. It's the same name the Behaviors reference uses.
  • options — the behavior's options. Option availability is often conditional: an option only belongs in the object when its parent option has the right value. Each behavior's reference page states those dependencies in its Requires column.

Array order carries no meaning. Two entries with the same name aren't allowed in defaultSettings.

Template behaviors

Two of the nine settings end in Template — setOriginTemplate and deploymentNetworkTemplate. These are composite behaviors: one object standing in for what a classic property expressed as several separate behaviors. The rest of the template uses individual behaviors directly.

Template behaviors are valid only in defaultSettings. Don't put them in rules[] or in a custom rule set — use the equivalent individual behaviors there.

defaultSettingsEnabled

defaultRuleSet.defaultSettingsEnabled controls whether the product's optimized group of features applies to the version at all:

{
  "defaultRuleSet": {
    "defaultSettingsEnabled": true,
    "defaultSettings": [ ... ],
    "rules": [ ... ]
  }
}

Keep it true unless you have a specific reason to build a configuration from bare behaviors. Setting it to false discards the baseline described on this page, and you then own every value in it — including the five that validation requires.

Changing a default value

Use a read-modify-write cycle against the version itself:

  1. GET /products/Obj_Delivery once, to see the shipped template and the catalog version it came from.
  2. POST .../versions to create the version, or GET .../versions/{version} to read the one you have.
  3. Modify the defaultSettings entries you care about.
  4. PUT /workspaces/{workspaceName}/environments/{environmentName}/versions/{version} with the defaultSettings array in full.

Sending the complete array is the safe pattern: it's explicit about every value, it's diffable in source control, and it behaves identically whether you're creating or updating a version.

You can edit a version until it's activated. After activation, create a new version.

📘

The UI writes to the same place

Changes made on the Settings tab are synchronized with the Default settings rule under the Default rule set, which is the defaultRuleSet.defaultSettings array this page describes.

What you must change before activating

SettingShips asWhat you need to do
originCharacteristicsNot in the templateBlocks activation. validationRules requires it in the default rule, but the template doesn't seed it. Add it with your origin's authentication method and geography.
enhancedDebug.debugKey""Generate a 64-byte hex string and set it. An empty mandatory key is what most first versions fail on.
origins[].options{}Set your origin's hostname and any authentication options. The template only names the origin (main).
cpCodeenableDefaultContentProviderCode: trueFine for a first test. To report or bill this traffic separately, pin an explicit CP code.
contentCharacteristicsAll UNKNOWNNot a blocker, but the edit with the most delivery impact. Every UNKNOWN is a hint Akamai doesn't have.
🚧

originCharacteristics is required but not seeded

Object Delivery's validationRules lists originCharacteristics among the behaviors the default rule must configure, and the shipped template doesn't include it. An otherwise untouched version therefore can't be activated. Use Get validation resources to confirm what your version needs before you try.

Settings categories

settingsCategories in the product definition groups the settings for display. The grouping is presentational — it doesn't affect evaluation — but it's what the UI's category pages are named after.

Object Delivery has four categories. There's no failover and no payload-minimization group in the default settings.

categoryNameBehaviorsAPI documentationUI documentation
originsetOriginTemplateOriginOrigin
reporting_loggingcpCode, contentCharacteristics, enhancedDebugReporting and loggingReporting & Logging
accelerate_delivery_offload_origincacheKeyQueryParams, dynamicThroughtputOptimization, restrictObjectCaching, http3Accelerate Delivery & Offload OriginAccelerate Delivery & Offload Origin
access_control_securitydeploymentNetworkTemplateAccess Control & SecurityAccess Control & Security

Validation

validationRules in the product definition states what Object Delivery requires of any environment version:

{
  "validation": {
    "required_features": {
      "default_rule": [
        "origin",
        "cpCode",
        "restrictObjectCaching",
        "originCharacteristics",
        "contentCharacteristics"
      ]
    }
  }
}
  • default_rule — five behaviors must be configured in your default settings. The template satisfies four of them (setOriginTemplate, cpCode, restrictObjectCaching, contentCharacteristics); originCharacteristics is yours to add.
  • restrictObjectCaching is required, not optional. It's what makes a configuration an Object Delivery configuration. Removing it to lift the size ceiling invalidates the version.
  • No any_rule requirement. Caching doesn't have to be configured anywhere in the tree.

Validation runs on activation, not on POST or PUT, so a version can be saved and still be unactivatable.

Overriding a default for some requests

Default settings apply to every request. To change behavior for a subset, don't edit the default settings — add a rule. Rule configuration evaluates top down and the bottom-most match wins:

{
  "defaultRuleSet": {
    "defaultSettingsEnabled": true,
    "defaultSettings": [ ... ],
    "rules": [
      {
        "name": "Long TTL for fingerprinted assets",
        "description": "Content-addressed objects never change under the same URL",
        "criteria": [
          {
            "name": "path",
            "options": {
              "values": ["/static/*"]
            }
          }
        ],
        "behaviors": [
          {
            "name": "caching",
            "options": {
              "behavior": "MAX_AGE",
              "ttl": "30d"
            }
          }
        ],
        "tags": ["caching"]
      }
    ]
  }
}

For logic you want to share or version separately, use a custom rule set and position it with ruleSetOrder. See Rule configuration logic for precedence and nesting.

What's not in the default settings

The catalog carries far more behaviors than the nine the template seeds. Everything else your contract entitles is available through standalone behaviors and match criteria — it's just not pre-configured, and you add it to a rule rather than to defaultSettings.

Check behaviorDefinitions in the product definition for the full Object Delivery catalog and the behavior versions your rule format supports.

Coming from an Object Delivery property

If you're porting a PAPI configuration, two things change.

Shape. A classic property arrived as pre-added child rules under the Default Rule, each holding individual behaviors. Here, one flat defaultSettings array holds them, with setOriginTemplate and deploymentNetworkTemplate standing in for what used to be several behaviors each.

Values. cacheKeyQueryParams ships as IGNORE_ALL, an override of the behavior's own INCLUDE_ALL_PRESERVE_ORDER default. Diff your property's default rule against the template before you assume anything carried over.