Roles
List project roles
Changed onLists the roles configured for a project.
get/projects/{project_id}/roles
Request
- Base URLhttps://api.openai.com/v1
- URLhttps://api.openai.com/v1/projects/{project_id}/roles
- AuthHTTP bearer
Path parameters
project_idstring required
The ID of the project to inspect.
Query parameters
limitinteger
A limit on the number of roles to return. Defaults to 1000.
afterstring
Cursor for pagination. Provide the value from the previous response's next field to continue listing roles.
order'asc' | 'desc'
Sort order for the returned roles.
Response
Project roles listed successfully.
Changes
- info
added the optional property
//////to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status
- info
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info