GET
/organization/projects/{project_id}/hosted_tool_permissionsRetrieve hosted tool permissions for a project
Retrieves the hosted tool permission settings for a project. Use project_id to identify the project whose permissions you want to inspect. The response includes an enabled state for each hosted tool.
project_idstringrequired
The ID of the project.
200Returns the project's permission state for file search, web search, image generation, MCP, and code interpreter, including whether each tool is enabled.
file_searchobjectrequired
Permission state for a single hosted tool on a project.
web_searchobjectrequired
Permission state for a single hosted tool on a project.
image_generationobjectrequired
Permission state for a single hosted tool on a project.
mcpobjectrequired
Permission state for a single hosted tool on a project.
code_interpreterobjectrequired
Permission state for a single hosted tool on a project.
400Returned when the project ID is invalid.
errorobjectrequired
403Returned when the caller does not have permission to perform this operation.
errorobjectrequired
Details about the permission error.
404Returned when the project was not found.
errorobjectrequired
429Returned when the management request rate is exceeded.
errorobjectrequired
Error handling
A 400 is returned when the project ID is invalid. A 403 is returned when the caller lacks permission, a 404 when the project is not found, and a 429 when the management request rate is exceeded. The project_id path parameter must identify the project whose permissions you want to retrieve.