Invoke By Id

Beta
POST
/api/v0/agents/:agent_id/invoke

Coming soon!

Invoke a custom agent created in spaces.

Custom agents can be created and configured in spaces to perform specialized tasks. Refer to the specific agent’s documentation for details on configuration options and expected responses.

Path parameters

agent_idstringRequired

The ID of the custom agent to invoke. Create custom agents in spaces.

Request

This endpoint expects an object.
configmap from strings to anyRequired

Configuration for the custom agent. See the agent’s documentation for specific configuration options.

messageslist of maps from strings to anyRequired

The messages to send to the custom agent

Response

This endpoint returns an object.
resultmap from strings to any

The agent’s response. Format depends on the specific agent implementation.

Built with