latestOpenAPI 3.0.3MITraw.githubusercontent.com2026-08-141,22096812.2 MB

312a80145102

actions

Get artifact and log retention settings for an organization

Gets artifact and log retention settings for an organization.

OAuth app tokens and personal access tokens (classic) need the admin:org scope or the "Actions policies" fine-grained permission to use this endpoint.

get/orgs/{org}/actions/permissions/artifact-and-log-retention

Path parameters

orgstring required

The organization name. The name is not case sensitive.

Response

Response

daysinteger required

The number of days artifacts and logs are retained

maximum_allowed_daysinteger required

The maximum number of days that can be configured