Overview

Endpoint: POST /v2/environment

This endpoint allows you to create a new environment for your agent. An environment contains configurations, features, and tools that define the operational scope of the agent, including the use of external APIs and large language models (LLMs).

Parameters

name
string
required

The name of the environment.

features
object
required

List of environment modules and configurations.

tools
string
required

List of tools integrated into the environment.

llm_config
object
required

Configuration for the large language model

Response Parameters

env_id
string

Identifier for the associated environment.