Strategies

Strategies define high-level plans—like DeFi trading or data analytics—that guide agents to achieve specific goals. They encapsulate goals, parameters, and logic for optimized decision-making.

List strategies

get

Retrieve a list of available strategies for agents, including DeFi trading, data analytics, or other specialized tasks.

Responses
chevron-right
200

List of strategies retrieved successfully.

application/json
get
/strategies

Create a new strategy

post

Add a new strategy that can be linked to one or more agents.

Body
titlestringRequired
descriptionstringOptional
Responses
post
/strategies

Fetch strategy by ID

get

Retrieve details of a specific strategy, including its parameters and associated agents.

Path parameters
idstringRequired

The unique identifier of the strategy.

Responses
chevron-right
200

Strategy details retrieved successfully.

application/json
get
/strategies/{id}

Update a strategy

patch

Modify the parameters or description of an existing strategy.

Path parameters
idstringRequired

The unique identifier of the strategy.

Body
titlestringOptional
descriptionstringOptional
Responses
chevron-right
200

Strategy updated successfully.

application/json
patch
/strategies/{id}

Delete a strategy

delete

Remove a strategy by its unique identifier.

Path parameters
idstringRequired

The unique identifier of the strategy.

Responses
delete
/strategies/{id}

No content

Last updated