Skip to content
Try Gitea Cloud ☁️ for 30 days → Accelerate your Development & Deploys!
This is the documentation of 1.24.7, which is no longer the latest release. See the latest release.

Lists all artifacts for a repository run

GET
/repos/{owner}/{repo}/actions/runs/{run}/artifacts
curl --request GET \
--url https://gitea.com/api/v1/repos/example/example/actions/runs/1/artifacts \
--header 'Authorization: Basic <credentials>'
owner
required
string

Name of the owner

repo
required
string

Name of the repository

run
required
integer

Runid of the workflow run

name
string

Name of the artifact

ArtifactsList

Media typeapplication/json

ActionArtifactsResponse returns ActionArtifacts

object
artifacts
Array<object>

ActionArtifact represents a ActionArtifact

object
archive_download_url
string
created_at
string format: date-time
expired
boolean
expires_at
string format: date-time
id
integer format: int64
name
string
size_in_bytes
integer format: int64
updated_at
string format: date-time
url
string
workflow_run

ActionWorkflowRun represents a WorkflowRun

object
head_sha
string
id
integer format: int64
repository_id
integer format: int64
total_count
integer format: int64
Examplegenerated
{
"artifacts": [
{
"archive_download_url": "example",
"created_at": "2026-04-15T12:00:00Z",
"expired": true,
"expires_at": "2026-04-15T12:00:00Z",
"id": 1,
"name": "example",
"size_in_bytes": 1,
"updated_at": "2026-04-15T12:00:00Z",
"url": "example",
"workflow_run": {
"head_sha": "example",
"id": 1,
"repository_id": 1
}
}
],
"total_count": 1
}

APIError is error format response

Media typeapplication/json
message
string
url
string

APINotFound is a not found empty response

Media typeapplication/json