Skip to main content
POST
/
api
/
agents
/
execute
Typescript (SDK)
import { RaijinLabsLucidAi } from "raijin-labs-lucid-ai";

const raijinLabsLucidAi = new RaijinLabsLucidAi();

async function run() {
  const result = await raijinLabsLucidAi.agents.executeAgentFlowspec({
    flowspec: {
      "key": "<value>",
      "key1": "<value>",
      "key2": "<value>",
    },
    context: {
      tenantId: "<id>",
    },
  });

  console.log(result);
}

run();
{
  "success": true,
  "result": {}
}

Body

application/json
flowspec
object
required
context
object
required
executor
enum<string>
Available options:
n8n,
langgraph

Response

OK

success
boolean
required
result
object