sandbox-custom-images
sandbox_custom_images

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.

post/api/projects/{project_id}/sandbox_custom_images/{id}/build/

Request

  • Base URL: https://us.posthog.com
  • URL: https://us.posthog.com/api/projects/{project_id}/sandbox_custom_images/{id}/build/
  • Auth: one of:
    • HTTP bearer
    • HTTP bearer

Path parameters

idstring required
project_idstring required

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

Request body

spec_yamlstring nullable

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

Response

idstring uuid required
namestring required
descriptionstring required
repositorystring
privateboolean
statusstring required
versioninteger required
modal_image_namestring required
specobject
spec_yamlstring
scan_resultobject
build_logstring
errorstring required
builder_task_idstring uuid nullable
created_atstring date-time nullable
updated_atstring date-time nullable

Changes

No recorded changes to this operation across all 1 revision of this API.