AI

Request

fetch("https://nebula-api.thirdweb.com/execute", {
method: "POST",
headers: {
"x-secret-key": "<your-project-secret-key>",
},
body: {
message: "Hello",
stream: false,
session_id: "3fa85f64-5717-4562-b3fc-2c963f66afa6",
context:
"{\n chainIds: string[] | null;\n walletAddress: string | null;\n}",
},
});

Response

{
"message": "string",
"actions": [
{
"session_id": "string",
"request_id": "string",
"type": "init",
"source": "string",
"data": "string"
}
],
"session_id": "string",
"request_id": "string"
}