Retrieve a list of projects
Lists the projects of the authenticated user or team, newest first.
Parameters
teamIdstringqueryThe team identifier to perform the request on behalf of.
slugstringqueryThe team slug to perform the request on behalf of.
limitintegerqueryMaximum number of projects to return.
Code samples
TypeScript
const res = await fetch('https://api.ridgeline.run/v11/projects?teamId=&slug=&limit=', {
method: 'GET',
});
const data = await res.json();cURL
curl -X GET "https://api.ridgeline.run/v11/projects?teamId=&slug=&limit="Python
import requests
res = requests.request(
"GET",
"https://api.ridgeline.run/v11/projects?teamId=&slug=&limit=",
)
data = res.json()Responses
200 OK
Example
{
"projects": [
{
"id": "prj_8f3k2",
"name": "my-app",
"framework": "nextjs",
"createdAt": 1760000000000
}
]
}Schema
projectsobject[]Show child parameters
idstringnamestringframeworkstringcreatedAtinteger400 One of the provided values is invalid.
403 You do not have permission to access this resource.