# Call API Example (Shell)curl-XGET"https://api.maiagent.ai/api/chatbot-text-nodes/?chatbotFile=example&cursor=example&pageSize=1"\-H"Authorization: Api-Key YOUR_API_KEY"# Please replace YOUR_API_KEY and verify the request data before execution.
constaxios=require('axios');// Set request headersconstconfig={headers:{'Authorization':'Api-Key YOUR_API_KEY'}};axios.get("https://api.maiagent.ai/api/chatbot-text-nodes/?chatbotFile=example&cursor=example&pageSize=1",config).then(response=>{console.log('Successfully retrieved response:');console.log(response.data);}).catch(error=>{console.error('An error occurred with the request:');console.error(error.response?.data||error.message);});
# API Call Example (Shell)
curl -X GET "https://api.maiagent.ai/api/chatbot-text-nodes/550e8400-e29b-41d4-a716-446655440000/" \
-H "Authorization: Api-Key YOUR_API_KEY"
# Please replace YOUR_API_KEY and verify the request data before execution.
# API Call Example (Shell)
curl -X GET "https://api.maiagent.ai/api/parsers/supported-file-types/" \
-H "Authorization: Api-Key YOUR_API_KEY"
# Please replace YOUR_API_KEY and verify the request data before execution.