{ "opencollection": "1.0.0", "info": { "name": "OpenAI Assistants Project groups API", "version": "2.0.0" }, "request": { "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "items": [ { "info": { "name": "Project groups", "type": "folder" }, "items": [ { "info": { "name": "Lists the groups that have access to a project.", "type": "http" }, "http": { "method": "GET", "url": "https://api.openai.com/v1/organization/projects/:project_id/groups", "params": [ { "name": "project_id", "value": "", "type": "path", "description": "The ID of the project to inspect." }, { "name": "limit", "value": "", "type": "query", "description": "A limit on the number of project groups to return. Defaults to 20." }, { "name": "after", "value": "", "type": "query", "description": "Cursor for pagination. Provide the ID of the last group from the previous response to fetch the next page." }, { "name": "order", "value": "", "type": "query", "description": "Sort order for the returned groups." } ] }, "docs": "Lists the groups that have access to a project." }, { "info": { "name": "Grants a group access to a project.", "type": "http" }, "http": { "method": "POST", "url": "https://api.openai.com/v1/organization/projects/:project_id/groups", "params": [ { "name": "project_id", "value": "", "type": "path", "description": "The ID of the project to update." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Grants a group access to a project." }, { "info": { "name": "Revokes a group's access to a project.", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.openai.com/v1/organization/projects/:project_id/groups/:group_id", "params": [ { "name": "project_id", "value": "", "type": "path", "description": "The ID of the project to update." }, { "name": "group_id", "value": "", "type": "path", "description": "The ID of the group to remove from the project." } ] }, "docs": "Revokes a group's access to a project." } ] } ], "bundled": true }