provider sandbox-custom-imagessandbox_custom_images POST /api/projects/{project_id}/sandbox_custom_images/{id}/build/
@utdk/posthog /api/projects/{project_id}/sandbox_custom_images/{id}/build/
sandbox_custom_images_build_create
Persist the image spec (from the request body or the builder agent's sandbox), run the security scan, and on pass build and publish the image.
id path required
string
project_id path required
Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.
string

Try it

Authentication
Configure credentials for PostHog API
sandboxCustomImagesBuildCreate
POST/api/projects/{project_id}/sandbox_custom_images/{id}/build/
Persist the image spec (from the request body or the builder agent's sandbox), run the security scan, and on pass build and publish the image.

Parameters

required
required

Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.

Input

Image spec YAML to build. When omitted, the spec is read from the builder agent's live sandbox.

Configure credentials above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import posthog from '@utdk/posthog';

await posthog.sandboxCustomImagesBuildCreate()