Skip to main content
Prisma Documentation Docs

Search documentation

Type to search this documentation.

Get list of projects

GET/v1/projectsGet list of projects

Returns the list of projects the token has access to.

Parameters

cursornull | stringquery

Cursor for pagination

limitnumberquery

Limit for pagination

default 100

logicalIdstringquery

Responses

200Returns the list of projects.application/json
object
dataarray of objectrequired
Show child attributes
Show array items
createdAtstring · date-timerequired
defaultRegionnull | stringrequired
idstringrequired
logicalIdnull | stringrequired
namestringrequired
typestringrequired

const "project"

urlstring · urirequired
workspaceobjectrequired
Show child attributes
idstringrequired
namestringrequired
urlstring · urirequired
paginationobjectrequired
Show child attributes
hasMorebooleanrequired

Whether there are more items to paginate

nextCursornull | stringrequired

Next cursor to continue pagination

Example response
{
  "data": [
    {
      "createdAt": "2026-06-09T00:00:00Z",
      "defaultRegion": "string",
      "id": "string",
      "logicalId": "string",
      "name": "string",
      "type": "project",
      "url": "https://example.com",
      "workspace": {
        "id": "string",
        "name": "string",
        "url": "https://example.com"
      }
    }
  ],
  "pagination": {
    "hasMore": true,
    "nextCursor": "string"
  }
}
401Missing or invalid authorization token.application/json
object
errorobjectrequired
Show child attributes
codestringrequired
hintstring
messagestringrequired
Example response
{
  "error": {
    "code": "string",
    "hint": "string",
    "message": "string"
  }
}
Documentation menu