contexts

Delete an uploaded context (bytes removed; irreversible)

Delete an uploaded context: the stored bytes are removed and no download url is ever minted for it again. These are bytes YOU uploaded, in your own workspace - no other tenant's upload is reachable from here. Use this when an upload should not sit out its ~30-day lifecycle - the wrong folder, bytes you are not licensed to store with us, a session you are cleaning up. IRREVERSIBLE; re-uploading means create_context again. Refuses while a non-terminal job still needs the bytes (the refusal names the jobs - cancel_job them or let them finish). Idempotent: deleting twice succeeds. get_context then answers {status: "deleted", deleted_at} and gains bytes_deleted_at once the store confirms removal, so you can verify the purge rather than take our word for it. SCOPE, stated plainly: this deletes the uploaded context ONLY. Images already built from it are separate objects and are NOT deleted here (the registry has no delete verb today), job build/run logs and artifacts live out their own 30-day lifecycle, and the audit record of the upload and this deletion is retained.

delete/preview/contexts/{id}

Request

  • Base URL: https://autoresearch.sfcompute.com
  • URL: https://autoresearch.sfcompute.com/preview/contexts/{id}
  • Auth: HTTP bearer

Path parameters

idstring required

Context id from create_context (e.g. "ctx-5rq8d").

Query parameters

workspacestring

Act in this workspace (its slug). Omitted: the token's bound workspace, then the organization's default. Never ambient - there is no switch-workspace mutation on this door.

Response

The capability's JSON result.

objectstring

The resource type, when the result is one resource.

Changes

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