Skip to content
FeedbackDashboard

Retrieve project

get/v0/projects/{project}

Retrieve a project by name.

Path ParametersExpand Collapse
project: optional string
ReturnsExpand Collapse
Project = object { config_repo, display_name, object, 3 more }

A project is a collection of SDKs generated from the same set of config files.

config_repo: string
display_name: string
object: "project"
org: string
slug: string
targets: array of Target
Accepts one of the following:
"node"
"typescript"
"python"
"go"
"java"
"kotlin"
"ruby"
"terraform"
"cli"
"php"
"csharp"
Retrieve project
curl https://api.stainless.com/v0/projects/$PROJECT \
    -H "Authorization: Bearer $STAINLESS_API_KEY"
{
  "config_repo": "config_repo",
  "display_name": "display_name",
  "object": "project",
  "org": "org",
  "slug": "slug",
  "targets": [
    "node"
  ]
}
Returns Examples
{
  "config_repo": "config_repo",
  "display_name": "display_name",
  "object": "project",
  "org": "org",
  "slug": "slug",
  "targets": [
    "node"
  ]
}