GET /courses
Retrieve a list of all available courses in the Mentor3.ai platform, including their titles, descriptions, difficulty levels, and enrollment counts. This endpoint supports filtering by subject area and sorting by popularity to help learners discover relevant content efficiently.
curl -X GET "https://api.mentor3.ai/v1/courses?limit=42" \
-H "Content-Type: application/json"
import requests
import json
url = "https://api.mentor3.ai/v1/courses?limit=42"
headers = {
"Content-Type": "application/json"
}
response = requests.get(url, headers=headers)
print(response.json())
const response = await fetch("https://api.mentor3.ai/v1/courses?limit=42", {
method: "GET",
headers: {
"Content-Type": "application/json"
}
});
const data = await response.json();
console.log(data);
package main
import (
"fmt"
"net/http"
"bytes"
)
func main() {
req, err := http.NewRequest("GET", "https://api.mentor3.ai/v1/courses?limit=42", nil)
if err != nil {
panic(err)
}
req.Header.Set("Content-Type", "application/json")
client := &http.Client{}
resp, err := client.Do(req)
if err != nil {
panic(err)
}
defer resp.Body.Close()
fmt.Println("Response Status:", resp.Status)
}
require 'net/http'
require 'json'
uri = URI('https://api.mentor3.ai/v1/courses?limit=42')
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = true
request = Net::HTTP::Get.new(uri)
request['Content-Type'] = 'application/json'
response = http.request(request)
puts response.body
["null"]
{}
/courses
The maximum number of courses to return in a single request, with a maximum allowed value of 100 to ensure optimal performance and prevent excessive data transfer.
Request Preview
Response
Response will appear here after sending the request
Query Parameters
The maximum number of courses to return in a single request, with a maximum allowed value of 100 to ensure optimal performance and prevent excessive data transfer.
Responses
A successful response containing a paginated list of courses with detailed metadata including learning objectives, prerequisites, and estimated completion times for each course.
Last updated 4 days ago