Genbase
ApiAgent

Execute Profile

POST
/chat/{module_id}/execute

Authorization

AuthorizationRequiredBearer <token>

JWT Token for authenticated users (obtained via /auth/jwt/login).

In: header

Request Body

application/jsonRequired
profileRequiredstring
inputRequiredstring
session_idstring
Default: "00000000-0000-0000-0000-000000000000"Format: "uuid"

Path Parameters

module_idRequiredstring

Module ID

curl -X POST "http://localhost:8000/chat/string/execute" \
  -H "Authorization: Bearer <token>" \
  -H "Content-Type: application/json" \
  -d '{
    "profile": "string",
    "input": "string",
    "session_id": "00000000-0000-0000-0000-000000000000"
  }'

Successful Response

{
  "response": "string",
  "results": [
    {}
  ]
}