sandbox-custom-images
sandbox_custom_images

Create a draft custom image and start its interactive image-builder agent task. The returned builder_task_id points at the conversation.

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

Request

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

Path parameters

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

namestring required

Display name for the custom image.

descriptionstring

What should go into the image; seeds the image-builder agent conversation.

repositorystring nullable

Optional 'org/repo' the builder session clones so it can verify the image brings up that repository's dependencies.

privateboolean

If true, only you can see and use this image; otherwise the whole team can.

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.