v1

latestOpenAPI 3.0.3MIT2026-07-1411163326.7 KB
Context

List contexts

List all contexts for an owner.

get/context

Query parameters

owner-idstring uuid

The unique ID of the owner of the context. This is the organization ID. Specify either owner/organization ID or the owner/organization slug. Find the organization ID and slug in the CircleCI web app (Organization Settings > Overview). Owner/organization slug is not supported for CircleCI server.

owner-slugstring

A string that represents an organization. This is the organization slug. Specify either this or organization/owner ID. Find the organization ID and slug in the CircleCI web app (Organization Settings > Overview). Owner/organization slug is not supported for CircleCI server.

owner-type'account' | 'organization'

The type of the owner. Defaults to "organization". Use "account" if you are using CircleCI server.

page-tokenstring

A token to specify which page of results to fetch.

Response

A paginated list of contexts

next_page_tokenstring nullable required

A token to pass as a page-token query parameter to return the next page of results.

Example response

{
  "items": [
    {
      "created_at": "2015-09-21T17:29:21.042Z"
    }
  ]
}