sandbox-templates

Fetch a sandbox by id

get/sandbox-templates/{templateId}

Request

  • Base URL: https://api.letsship.ai/v1
  • URL: https://api.letsship.ai/v1/sandbox-templates/{templateId}
  • Auth: none declared

Path parameters

templateIdstring required

Response

Sandbox

idstring required
orgIdstring required
namestring required
kind'org' | 'repo' required

org: defined in the console or API. repo: defined by a project's .ship/sandbox.Dockerfile; read-only here, edited in the repository.

projectIdstring nullable required
starterIdstring nullable required
dockerfilestring required
instanceType'lite' | 'basic' | 'standard-1' | 'standard-2' | 'standard-3' | 'standard-4' required
activeVersionIdstring nullable required
activeVersioninteger nullable required
runningCountinteger required
createdAtinteger required
updatedAtinteger required

Example response

{
  "size": {
    "vcpu": 2,
    "memoryMib": 8192,
    "diskMb": 16000
  }
}

Changes

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