---
updatedAt: 2026-06-15T13:01:23.000Z
agentTools:
  projectIndex: https://developers.airsaas.io/llms.txt
---

# List all project roles

Returns a paginated list of all **Project roles** of the workspace.

# OpenAPI definition

```json
{
  "openapi": "3.0.3",
  "info": {
    "title": "API Endpoints",
    "version": "1.0 (v1)",
    "description": "API to access AirSaas resources"
  },
  "paths": {
    "/v1/project_roles/": {
      "get": {
        "operationId": "project_roles_list",
        "description": "Returns a paginated list of all **Project roles** of the workspace.",
        "summary": "List all project roles",
        "parameters": [
          {
            "in": "query",
            "name": "ordering",
            "schema": {
              "type": "string"
            },
            "description": "Which field to use when ordering the results. Available options: `name`, `created_at`. Ascending order by default, use a `-` before the name of the field to have a descending order (ex: `ordering=-name`). Defaults to `name`."
          },
          {
            "name": "page",
            "required": false,
            "in": "query",
            "description": "A page number within the paginated result set.",
            "schema": {
              "type": "integer"
            }
          },
          {
            "name": "page_size",
            "required": false,
            "in": "query",
            "description": "Number of results to return per page.",
            "schema": {
              "type": "integer"
            }
          }
        ],
        "tags": [
          "Project Roles"
        ],
        "security": [
          {
            "apiKeyAuth": []
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PaginatedProjectRoleDocumentationResponseList"
                },
                "examples": {
                  "Example1": {
                    "value": {
                      "count": 123,
                      "next": "https://api.airsaas.io/accounts/?page=4",
                      "previous": "https://api.airsaas.io/accounts/?page=2",
                      "results": [
                        {
                          "id": "eaf9bcb5-942d-4bac-b342-bf90b918c517",
                          "name": "Project Manager",
                          "description": "Project Manager role short description",
                          "icon": "user"
                        }
                      ]
                    },
                    "summary": "OK"
                  }
                }
              }
            },
            "description": ""
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "PaginatedProjectRoleDocumentationResponseList": {
        "type": "object",
        "required": [
          "count",
          "results"
        ],
        "properties": {
          "count": {
            "type": "integer",
            "example": 123
          },
          "next": {
            "type": "string",
            "nullable": true,
            "format": "uri",
            "example": "https://api.airsaas.io/accounts/?page=4"
          },
          "previous": {
            "type": "string",
            "nullable": true,
            "format": "uri",
            "example": "https://api.airsaas.io/accounts/?page=2"
          },
          "results": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ProjectRoleDocumentationResponse"
            }
          }
        }
      },
      "ProjectRoleDocumentationResponse": {
        "type": "object",
        "description": "Used for documentation generation with Spectacular, to be able to display\nall fields as non required on Readme.com for responses",
        "properties": {
          "id": {
            "type": "string",
            "readOnly": true
          },
          "name": {
            "type": "string",
            "readOnly": true,
            "maxLength": 64
          },
          "description": {
            "type": "string",
            "readOnly": true,
            "nullable": true,
            "maxLength": 2048
          },
          "icon": {
            "type": "string",
            "readOnly": true,
            "nullable": true,
            "maxLength": 64
          }
        }
      }
    },
    "securitySchemes": {
      "apiKeyAuth": {
        "type": "apiKey",
        "in": "header",
        "name": "Authorization",
        "description": "Token-based authentication with required prefix \"Api-Key\""
      }
    }
  },
  "x-readme": {
    "samples-languages": [
      "curl",
      "node",
      "python"
    ]
  },
  "servers": [
    {
      "url": "https://api.airsaas.io"
    }
  ]
}
```