v1

latestOpenAPI 3.0.3MIT2026-07-1411163326.7 KB
Project

List all environment variables

Returns four 'x' characters, in addition to the last four ASCII characters of the value, consistent with the display of environment variable values on the CircleCI website.

get/project/{project-slug}/envvar

Path parameters

project-slugstring required

Project slug in the form vcs-slug/org-name/repo-name. The / characters may be URL-escaped. For projects that use GitLab or GitHub App, use circleci as the vcs-slug, replace org-name with the organization ID (found in Organization Settings), and replace repo-name with the project ID (found in Project Settings).

Response

A sequence of environment variables.

next_page_tokenstring required

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

Example response

{
  "items": [
    {
      "name": "foo",
      "value": "xxxx1234",
      "created-at": "#joda/inst 2023-04-14T21:20:14+0000"
    }
  ]
}