Skip to content
  • Auto
  • Light
  • Dark

List

List projects in an organization, from oldest to newest
get/v0/projects

List projects in an organization, from oldest to newest

Query Parameters
cursorstring
optional

Pagination cursor from a previous response

limitnumber
optional

Maximum number of projects to return, defaults to 10 (maximum: 100)

exclusiveMinimum0
maximum100
orgstring
optional
Returns
dataarray of config_repostringdisplay_namestringobjectenumorgstringslugstringtargetsarray of TargetProject
has_moreboolean
next_cursorstring
optional
curl https://api.stainless.com/v0/projects \
    -H "Authorization: Bearer $STAINLESS_API_KEY"
200 Example
{
  "data": [
    {
      "config_repo": "config_repo",
      "display_name": "display_name",
      "object": "project",
      "org": "org",
      "slug": "slug",
      "targets": [
        "node"
      ]
    }
  ],
  "has_more": true,
  "next_cursor": "next_cursor"
}