{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"Sets retention settings for checks, workflow runs, commit statuses, artifacts, and logs for an organization.\n\nChecks include check suites, check runs, and check annotations. These settings also apply to checks and commit statuses created by third-party integrations, and are not limited to data created by GitHub Actions.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope or the \"Actions policies\" fine-grained permission to use this endpoint.","properties":{"path":{"type":"object","properties":{"org":{"type":"string","description":"The organization name. The name is not case sensitive."}},"required":["org"],"additionalProperties":false},"body":{"$ref":"#/definitions/actions-artifact-and-log-retention","examples":[{"days":100}]}},"required":["path","body"],"additionalProperties":false,"definitions":{"actions-artifact-and-log-retention":{"type":"object","properties":{"days":{"type":"integer","description":"The number of days to retain checks, workflow runs, commit statuses, artifacts, and logs"}},"required":["days"]}}},"name":"Set artifact and log retention settings for an organization","id":"github.actions.set-artifact-and-log-retention-settings-organization","example":{"path":{"org":"example"},"body":{"days":1}},"maxRequests":1,"summary":false}}