Agent Operations

Test an Agent with YAML configuration

Changed on

Test an agent by providing a YAML configuration (as a file or string) along with a message. The agent processes the message and returns a response without creating a persistent agent.

post/v1/agents/test

Request

Request body multipart/form-data

yaml_filestring binary nullable

YAML file to test the agent.

yaml_stringstring nullable

YAML string to test the agent.

agent_historystring

List of prior messages; defaults to empty list.

thread_idstring nullable

Unique identifier for the chat session.

hitl_decision'approve' | 'edit' | 'reject' nullable

Human-in-the-loop decision.

Response

Successful Response

responseobject[] required

Changes

    • breaking

      the /// response's property type changed from integer to number for status

    • breaking

      the / response's property type changed from integer to number for status

    • info

      request property list-of-types was widened by adding types null to media type multipart/form-data