Returns one project.
Parameters
idOrNamestringpathrequiredThe project's id or name.
teamIdstringqueryThe team identifier to perform the request on behalf of.
slugstringqueryThe team slug to perform the request on behalf of.
Code samples
TypeScript
const res = await fetch('https://api.ridgeline.run/v11/projects/{idOrName}?teamId=&slug=', {
method: 'GET',
});
const data = await res.json();cURL
curl -X GET "https://api.ridgeline.run/v11/projects/{idOrName}?teamId=&slug="Python
import requests
res = requests.request(
"GET",
"https://api.ridgeline.run/v11/projects/{idOrName}?teamId=&slug=",
)
data = res.json()Responses
200 OK
Example
{
"id": "prj_8f3k2",
"name": "my-app",
"framework": "nextjs",
"createdAt": 1760000000000
}Schema
idstringnamestringframeworkstringcreatedAtinteger400 One of the provided values is invalid.
403 You do not have permission to access this resource.