Invoke By Id
BetaComing 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_id
The ID of the custom agent to invoke. Create custom agents in spaces.
Headers
X-API-KEY
Request
This endpoint expects an object.
config
Configuration for the custom agent. See the agent’s documentation for specific configuration options.
messages
The messages to send to the custom agent
Response
Successful Response
result
The agent’s response. Format depends on the specific agent implementation.