Skip to main content
GET
Download Image Context
The current context is the full build context of the last successful build, with .env* files removed. It is also the base for commits. Needs the images:read scope when called with an API key.
string
required
The image ID.
string
If the image belongs to a workspace, the workspace’s ID. Required for workspace members acting on an image they don’t own.

Response

object

Error Responses

string
The error code indicating the reason for the failure. Possible values:
  • API_KEY_SCOPE_DENIED: The API key does not have the required scope (403).
  • IMAGE_NOT_FOUND: The image does not exist or you cannot access it (404).
  • INTERNAL_SERVER_ERROR: Unexpected failure (500).
Last modified on October 25, 2026