Home / Servers / OpenAI API / update_project_data_retention
Update project data retention
An MCP tool from the OpenAI API server, hosted on mcp.hjlabs.in.
Update project data retention Updates project data retention controls. [POST /organization/projects/{project_id}/data_retention]
Name on the gateway: openai_api__update_project_data_retention · may change things.
Parameters
| Name | Type | Description |
|---|---|---|
project_id required | string | The ID of the project to update. |
retention_type required | organization_default | none | zero_data_retention | modified_abuse_monitoring | enhanced_zero_data_retention | enhanced_modified_abuse_monitoring | The desired project data retention type. |
How to call it
Through the Smart Gateway, any client can run it by name with call_tool, or let the gateway find it with search_tools:
{
"name": "openai_api__update_project_data_retention",
"arguments": {
"project_id": "…",
"retention_type": "…"
}
}Or connect the OpenAI API server directly, which lists 371 tools including this one:
claude mcp add --transport http hj-openai-api https://mcp.hjlabs.in/mcp/openai-api \
--header "Authorization: Bearer YOUR_API_KEY"Try asking
Use the update project data retention tool with project_id set to ….