Invoke By Id

Beta

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.

Headers

X-API-KEYstringRequired

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

Successful Response

resultmap from strings to any

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

Errors