v5

latestSwagger 2.0MIT2026-08-03485217850.7 KB
issue

Search for issues across the repositories that the user has access to

get/repos/issues/search

Query parameters

state'open' | 'closed' | 'all'

State of the issue

labelsstring

Comma-separated list of label names. Fetch only issues that have any of these labels. Non existent labels are discarded.

milestonesstring

Comma-separated list of milestone names. Fetch only issues that have any of these milestones. Non existent milestones are discarded.

qstring

Search string

type'issues' | 'pulls'

Filter by issue type

sincestring date-time

Only show issues updated after the given time (RFC 3339 format)

beforestring date-time

Only show issues updated before the given time (RFC 3339 format)

assignedboolean

Filter issues or pulls assigned to the authenticated user

createdboolean

Filter issues or pulls created by the authenticated user

mentionedboolean

Filter issues or pulls mentioning the authenticated user

review_requestedboolean

Filter pull requests where the authenticated user's review was requested

reviewedboolean

Filter pull requests reviewed by the authenticated user

ownerstring

Filter by repository owner

created_bystring

Only show items which were created by the given user

teamstring

Filter by team (requires organization owner parameter)

pageinteger

Page number of results to return (1-based)

limitinteger

Number of items per page

Response

IssueList

bodystring
closed_atstring date-time
commentsinteger
content_versioninteger

The version of the issue content for optimistic locking

created_atstring date-time
due_datestring date-time
html_urlstring
idinteger
is_lockedboolean
numberinteger
original_authorstring
original_author_idinteger
pin_orderinteger
refstring
state'open' | 'closed'
time_estimateinteger
titlestring
updated_atstring date-time
urlstring

Example response

[
  {
    "labels": [
      {
        "color": "00aabb"
      }
    ]
  }
]