apicheats.dev Cheat sheet Raw .md
POST

Try POST /agents/environments/templates — OpenAI API

OpenAI playground

Create an agent environment template

Credentials

Kept in this tab only. Requests go through apicheats.dev's same-origin proxy straight to api.openai.com; the proxy stores and logs nothing about them.

Body application/json

10 body fields
  • packages · optional · object — Packages to install in the environment. Defaults to empty package lists.
  • setup_commands · optional · object[] — Ordered, confidential setup commands. Command bodies are never returned.
  • network · optional · object — Network access policy for the environment. If omitted, the API version determines whether network access is enabled or disabled.
  • desktop · optional · object — Desktop provisioning. Omission or null inherits the template setting, or defaults to disabled.
  • env · optional · object — Environment variables made available to the agent.
  • capability_directories · optional · string[] — Directories that contain capabilities exposed to the agent. Defaults to an empty list.
  • skills · optional · object[] — Skills referenced by ID or provided as inline ZIP archives. Defaults to an empty list.
  • plugins · optional · object[] — Plugins provided as inline ZIP archives. Defaults to an empty list.
  • files · optional · object[] — Files available before the agent starts. Defaults to an empty list.
  • name · optional · string — An optional human-readable display name for the template.