Endpoint: POST /v2/agent

This endpoint is used to create a new agent within the system. This request requires configuration details for the agent and returns a unique ID for the newly created agent.

Parameters

env_id
string
required

The ID of the environment in which the agent will operate. This links the agent to a specific environment configuration.

system_prompt
string
required

The initial system prompt or instruction that sets the behavior or context for the agent. This prompt guides the agent’s responses and interactions.

name
string
required

The name of the Agent.

agent_description
string
required

A description of the agent’s purpose or functionality. This provides additional context and details about the agent’s role and capabilities.

Response Parameters

agent_id
string

Unique identifier of the created agent.