Skip to main content
POST
Resolve Config
Use this API to resolve optimal extraction strategies and execution strategy for an agent based on its instructions. The engine analyzes the (optional rawInstructions plus the processed instructions) and returns:
  • A recommended set of contextGathering.strategies
  • A recommended executionStrategy (ai, service, service+ai, or stagehand-agent)
  • Reasoning for each recommendation
Use this as a starting point when creating a new agent; the response can be passed straight into Create Agent under the contextGathering and execution blocks.

Endpoint

POST https://api.velt.dev/v2/agents/config/resolve

Headers

x-velt-api-key
string
required
Your API key.
x-velt-auth-token
string
required

Body

Params

data
object
required

Example Requests

1. Resolve a static analysis agent

2. Resolve an interactive agent

Response

Success Response

Failure Response

Errors: INVALID_ARGUMENT (missing or empty instructions).