{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"Sets retention settings for checks, workflow runs, commit statuses, artifacts, and logs for a repository.\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 `repo` scope to use this endpoint.","properties":{"path":{"type":"object","properties":{"owner":{"type":"string","description":"The account owner of the repository. The name is not case sensitive."},"repo":{"type":"string","description":"The name of the repository without the `.git` extension. The name is not case sensitive."}},"required":["owner","repo"],"additionalProperties":false},"body":{"$ref":"#/definitions/actions-artifact-and-log-retention","examples":[{"days":90}]}},"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 a repository","id":"github.actions.set-artifact-and-log-retention-settings-repository","example":{"path":{"owner":"octocat","repo":"hello-world"},"body":{"days":1}},"maxRequests":1,"summary":false}}