AI
POST
/executefetch("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}", },});
x-secret-key
stringRequiredYour thirdweb secret key for authentication.
Example:
YOUR_THIRDWEB_SECRET_KEY
message
stringRequiredThe message to be processed.
Example:
Hello
stream
booleanWhether to stream the response or not
Example:
false
session_id
stringThe session ID to associate with the message. If not provided, a new session will be created.
Example:
3fa85f64-5717-4562-b3fc-2c963f66afa6
context
{
chainIds: string[] | null;
walletAddress: string | null;
}Provide additional context information along with the message