EndpointsCreate product

products

Create product

Creates a Product in the Akua-Context Workspace from a published version of one of its Packages. Offers sell the Product at exactly that version. Retry with the same Idempotency-Key to receive the same Product.

POST/products
Authorizationstringheaderrequired

Bearer token for the authenticated caller.

Optional workspace/scope context for the request. Carries a single workspace wire id (ws_…) today. Only needed for broad tokens - a workspace-owned token implies its workspace.

Required string length: 1 - 53

Example: "ws_j572abc123def4"

Optional caller-supplied idempotency key. Any non-empty key up to 64 characters is accepted. Endpoint-specific documentation describes how the key is used.

Required string length: 1 - 64

Example: "create-prod-2026-05-07"

Body

application/json
namestringrequired

Required string length: 2 - 64

Example: "PostgreSQL Managed"

package_idstringrequired

A Package of the Akua-Context Workspace.

Required string length: 1 - 54

Example: "pkg_j572abc123def456"

package_versionstringrequired

The published Package version the Product offers. Offers made for the Product install exactly this version.

Required string length: 1 - 128

Pattern: ^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|[0-9A-Za-z-]*[A-Za-z-][0-9A-Za-z-]*)(?:\.(?:0|[1-9]\d*|[0-9A-Za-z-]*[A-Za-z-][0-9A-Za-z-]*))*))?(?:\+([0-9A-Za-z-]+(?:\.[0-9A-Za-z-]+)*))?$

Example: "1.2.3"

Maximum string length: 500

support_emailstring<email>

Shown to customers on Offer pages when they need help.

Maximum string length: 254

Pattern: ^[^\s@]+@[^\s@]+$

Response

application/json

Product created

idstringrequired

Required string length: 1 - 55

Example: "prod_j572abc123def456"

html_urlstring<uri>required

Absolute dashboard URL for this resource. OUTPUT_ONLY.

Maximum string length: 2048

workspace_idstringrequired

Required string length: 1 - 53

namestringrequired
descriptionstring | nullrequired
support_emailstring | nullrequired
packageobjectrequired

The Package version the Product is pinned to.

child attributes
package.idstringrequired

Required string length: 1 - 54

package.versionstringrequired
package.version_idstringrequired

Required string length: 1 - 55

statusenum<string>required

Available options: active, archived

created_atintegerrequired

Unix timestamp (seconds)

Required range: x >= 0

etagstringrequired