issues

Get an issue artifact

Changed on

Returns an artifact attached to an issue by its per-issue artifact number, along with its version history ordered from newest to oldest.

get/repos/{owner}/{repo}/issues/{issue_number}/artifacts/{artifact_number}

Request

  • Base URL
    https://api.github.com
  • URL
    https://api.github.com/repos/{owner}/{repo}/issues/{issue_number}/artifacts/{artifact_number}
  • Auth
    none declared

Path parameters

ownerstring required

The account owner of the repository. The name is not case sensitive.

repostring required

The name of the repository without the .git extension. The name is not case sensitive.

issue_numberinteger required

The number that identifies the issue.

artifact_numberinteger required

The artifact number within the issue.

Response

The requested artifact.

OR

Example response

{
  "id": 42,
  "html_url": "https://github.com/octocat/Hello-World/issues/1347/artifacts/1",
  "number": 1,
  "type": "plan",
  "name": "Implementation plan",
  "body": "## Plan\n\nBuild the feature in two phases.",
  "body_html": "<h2>Plan</h2>\n<p>Build the feature in two phases.</p>",
  "description": "Build the feature in two phases.",
  "creator": {
    "login": "octocat",
    "id": 1
  },
  "updated_by_actor": {
    "login": "monalisa",
    "id": 2
  },
  "created_at": "2026-09-21T15:00:00Z",
  "updated_at": "2026-09-21T15:30:00Z"
}

Changes

    • info

      the response property / became required for the status

    • info

      the response property // became required for the status

    • info

      endpoint added