Available Actions
chatcompleteembed
Input Schema
{
"type": "object",
"required": [
"messages"
],
"properties": {
"model": {
"type": "string"
},
"messages": {
"type": "array"
},
"temperature": {
"type": "number"
}
}
}Output Schema
{
"type": "object",
"properties": {
"usage": {
"type": "object"
},
"content": {
"type": "string"
}
}
}Quick Start
API Endpoint
POST /api/execute/openai-gptcURL Example
curl -X POST \
https://api.nulayers.com/execute/openai-gpt \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"action": "chat"}'