GitHub · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for GitHub v3 REST Codespaces API

49 actions 49 updates phrasing extends openapi/github-codespaces-api-openapi.yml
Generated by API Evangelist Written by API Evangelist tooling for GitHub's API. It is a proposal applied on top of the contract, not a document GitHub publishes.
View Overlay File View on GitHub Overlay Specification

What the actions change

x-apievangelist-phrasing

Targets 49 · first 16 shown; the file carries all of them

$.info
$.paths['/orgs/{org}/codespaces'].get
$.paths['/orgs/{org}/codespaces/access'].put
$.paths['/orgs/{org}/codespaces/access/selected_users'].post
$.paths['/orgs/{org}/codespaces/access/selected_users'].delete
$.paths['/orgs/{org}/codespaces/secrets'].get
$.paths['/orgs/{org}/codespaces/secrets/public-key'].get
$.paths['/orgs/{org}/codespaces/secrets/{secret_name}'].get
$.paths['/orgs/{org}/codespaces/secrets/{secret_name}'].put
$.paths['/orgs/{org}/codespaces/secrets/{secret_name}'].delete
$.paths['/orgs/{org}/codespaces/secrets/{secret_name}/repositories'].get
$.paths['/orgs/{org}/codespaces/secrets/{secret_name}/repositories'].put
$.paths['/orgs/{org}/codespaces/secrets/{secret_name}/repositories/{repository_id}'].put
$.paths['/orgs/{org}/codespaces/secrets/{secret_name}/repositories/{repository_id}'].delete
$.paths['/orgs/{org}/members/{username}/codespaces'].get
$.paths['/orgs/{org}/members/{username}/codespaces/{codespace_name}'].delete

OpenAPI Overlay

Raw ↑
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
  title: API Evangelist conversational phrasing for GitHub v3 REST Codespaces API
  version: 1.0.0
extends: openapi/github-codespaces-api-openapi.yml
actions:
- target: $.info
  update:
    x-apievangelist-phrasing:
      method: generated
      generated: '2026-11-23'
      generator: build-phrasing.py
      label: Generated by API Evangelist
      operations: 48
- target: $.paths['/orgs/{org}/codespaces'].get
  update:
    x-apievangelist-phrasing:
      intent: List codespaces in an organization
      effect: read
      questions:
      - Which codespaces does my organization have provisioned?
      - Can I page through all codespaces across every repo in an org?
      instructions:
      - text: List codespaces for organization {org}.
        slots:
          org: path.org
      - text: Show page {page} of codespaces in {org}, {per_page} per page.
        slots:
          page: query.page
          org: path.org
          per_page: query.per_page
      method: generated
      generated: '2026-11-23'
- target: $.paths['/orgs/{org}/codespaces/access'].put
  update:
    x-apievangelist-phrasing:
      intent: Set codespaces access for an organization
      effect: write
      questions:
      - How do I let only selected members use codespaces in my organization?
      - Can I turn off codespaces for everyone in an organization?
      instructions:
      - text: Set codespaces visibility in {org} to {visibility}.
        slots:
          org: path.org
          visibility: requestBody.visibility
      - text: Make codespaces in {org} available only to {selected_usernames}.
        slots:
          org: path.org
          selected_usernames: requestBody.selected_usernames
      method: generated
      generated: '2026-11-23'
- target: $.paths['/orgs/{org}/codespaces/access/selected_users'].post
  update:
    x-apievangelist-phrasing:
      intent: Grant codespaces billing to selected users
      effect: write
      questions:
      - How do I bill codespaces for specific organization members?
      - Can I add users to the codespaces billing list?
      instructions:
      - text: Add {selected_usernames} to codespaces billing in {org}.
        slots:
          org: path.org
          selected_usernames: requestBody.selected_usernames
      - text: Grant codespaces access to {selected_usernames} in organization {org}.
        slots:
          org: path.org
          selected_usernames: requestBody.selected_usernames
      method: generated
      generated: '2026-11-23'
- target: $.paths['/orgs/{org}/codespaces/access/selected_users'].delete
  update:
    x-apievangelist-phrasing:
      intent: Remove users from codespaces billing
      effect: destructive
      questions:
      - How do I stop billing codespaces for certain users?
      - Can I take users off the codespaces billing list?
      instructions:
      - text: Remove {selected_usernames} from codespaces billing in {org}.
        slots:
          org: path.org
          selected_usernames: requestBody.selected_usernames
      - text: Stop billing codespaces for {selected_usernames} in organization {org}.
        slots:
          org: path.org
          selected_usernames: requestBody.selected_usernames
      method: generated
      generated: '2026-11-23'
- target: $.paths['/orgs/{org}/codespaces/secrets'].get
  update:
    x-apievangelist-phrasing:
      intent: List organization codespaces secrets
      effect: read
      questions:
      - What codespaces secrets are defined at the organization level?
      - Can I see which repositories a codespaces secret is visible to?
      instructions:
      - text: List organization codespaces secrets in {org}.
        slots:
          org: path.org
      - text: Show codespaces secrets in {org} with visibility {per_page} per page.
        slots:
          org: path.org
          per_page: query.per_page
      method: generated
      generated: '2026-11-23'
- target: $.paths['/orgs/{org}/codespaces/secrets/public-key'].get
  update:
    x-apievangelist-phrasing:
      intent: Get the organization codespaces public key
      effect: read
      questions:
      - Where do I get the public key to encrypt a codespaces secret?
      - What key do I use to encrypt a codespaces secret for my organization?
      instructions:
      - text: Get the codespaces public key for organization {org}.
        slots:
          org: path.org
      - text: Fetch the public key used to encrypt codespaces secrets in {org}.
        slots:
          org: path.org
      method: generated
      generated: '2026-11-23'
- target: $.paths['/orgs/{org}/codespaces/secrets/{secret_name}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get an organization codespaces secret
      effect: read
      questions:
      - Can I read an organization codespaces secret without its value?
      - What visibility does a codespaces secret have?
      instructions:
      - text: Get codespaces secret {secret_name} in organization {org}.
        slots:
          org: path.org
          secret_name: path.secret_name
      - text: Show the visibility of codespaces secret {secret_name} in {org}.
        slots:
          org: path.org
          secret_name: path.secret_name
      method: generated
      generated: '2026-11-23'
- target: $.paths['/orgs/{org}/codespaces/secrets/{secret_name}'].put
  update:
    x-apievangelist-phrasing:
      intent: Create or update an organization codespaces secret
      effect: write
      questions:
      - How do I store an encrypted secret for codespaces in my organization?
      - Can I limit which repositories see a codespaces secret?
      instructions:
      - text: Create codespaces secret {secret_name} in {org} with visibility {visibility}.
        slots:
          org: path.org
          secret_name: path.secret_name
          visibility: requestBody.visibility
      - text: Set encrypted value {encrypted_value} for codespaces secret {secret_name} in {org}, visibility {visibility}.
        slots:
          org: path.org
          secret_name: path.secret_name
          encrypted_value: requestBody.encrypted_value
          visibility: requestBody.visibility
      method: generated
      generated: '2026-11-23'
- target: $.paths['/orgs/{org}/codespaces/secrets/{secret_name}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete an organization codespaces secret
      effect: destructive
      questions:
      - How do I remove a codespaces secret from my organization?
      - Can I delete a codespaces secret by name?
      instructions:
      - text: Delete codespaces secret {secret_name} from organization {org}.
        slots:
          org: path.org
          secret_name: path.secret_name
      - text: Remove the codespaces secret {secret_name} in {org}.
        slots:
          org: path.org
          secret_name: path.secret_name
      method: generated
      generated: '2026-11-23'
- target: $.paths['/orgs/{org}/codespaces/secrets/{secret_name}/repositories'].get
  update:
    x-apievangelist-phrasing:
      intent: List repositories with a codespaces secret
      effect: read
      questions:
      - Which repositories have access to a codespaces secret?
      - Can I see the selected-repository list for a codespaces secret?
      instructions:
      - text: List repositories with codespaces secret {secret_name} in {org}.
        slots:
          org: path.org
          secret_name: path.secret_name
      - text: Show the selected-repository list for codespaces secret {secret_name} in {org}.
        slots:
          org: path.org
          secret_name: path.secret_name
      method: generated
      generated: '2026-11-23'
- target: $.paths['/orgs/{org}/codespaces/secrets/{secret_name}/repositories'].put
  update:
    x-apievangelist-phrasing:
      intent: Replace repositories with a codespaces secret
      effect: write
      questions:
      - How do I replace the repository list for a codespaces secret?
      - Can I set the selected repositories for a codespaces secret?
      instructions:
      - text: Set codespaces secret {secret_name} in {org} to only selected repositories {selected_repository_ids}.
        slots:
          org: path.org
          secret_name: path.secret_name
          selected_repository_ids: requestBody.selected_repository_ids
      - text: Replace the repository list for codespaces secret {secret_name} in {org} with {selected_repository_ids}.
        slots:
          org: path.org
          secret_name: path.secret_name
          selected_repository_ids: requestBody.selected_repository_ids
      method: generated
      generated: '2026-11-23'
- target: $.paths['/orgs/{org}/codespaces/secrets/{secret_name}/repositories/{repository_id}'].put
  update:
    x-apievangelist-phrasing:
      intent: Add a repository to a codespaces secret
      effect: write
      questions:
      - How do I let one more repository use a codespaces secret?
      - Can I add a single repository to a codespaces secret?
      instructions:
      - text: Add repository {repository_id} to codespaces secret {secret_name} in {org}.
        slots:
          org: path.org
          secret_name: path.secret_name
          repository_id: path.repository_id
      - text: Grant codespaces secret {secret_name} in {org} to repository {repository_id}.
        slots:
          org: path.org
          secret_name: path.secret_name
          repository_id: path.repository_id
      method: generated
      generated: '2026-11-23'
- target: $.paths['/orgs/{org}/codespaces/secrets/{secret_name}/repositories/{repository_id}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Remove a repository from a codespaces secret
      effect: destructive
      questions:
      - How do I revoke a repository's access to a codespaces secret?
      - Can I take one repository off a codespaces secret?
      instructions:
      - text: Remove repository {repository_id} from codespaces secret {secret_name} in {org}.
        slots:
          org: path.org
          secret_name: path.secret_name
          repository_id: path.repository_id
      - text: Revoke codespaces secret {secret_name} in {org} for repository {repository_id}.
        slots:
          org: path.org
          secret_name: path.secret_name
          repository_id: path.repository_id
      method: generated
      generated: '2026-11-23'
- target: $.paths['/orgs/{org}/members/{username}/codespaces'].get
  update:
    x-apievangelist-phrasing:
      intent: List a user's codespaces in an organization
      effect: read
      questions:
      - Which codespaces does a specific organization member have?
      - Can I list one user's codespaces across the organization?
      instructions:
      - text: List codespaces for {username} in organization {org}.
        slots:
          org: path.org
          username: path.username
      - text: Show organization {org} codespaces belonging to {username}.
        slots:
          org: path.org
          username: path.username
      method: generated
      generated: '2026-11-23'
- target: $.paths['/orgs/{org}/members/{username}/codespaces/{codespace_name}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete a user's codespace from an organization
      effect: destructive
      questions:
      - How do I delete a user's codespace from my organization?
      - Can I remove a codespace a member owns in the organization?
      instructions:
      - text: Delete codespace {codespace_name} from {username} in organization {org}.
        slots:
          org: path.org
          username: path.username
          codespace_name: path.codespace_name
      - text: Remove organization {org} codespace {codespace_name} owned by {username}.
        slots:
          org: path.org
          username: path.username
          codespace_name: path.codespace_name
      method: generated
      generated: '2026-11-23'
- target: $.paths['/orgs/{org}/members/{username}/codespaces/{codespace_name}/stop'].post
  update:
    x-apievangelist-phrasing:
      intent: Stop a user's codespace in an organization
      effect: write
      questions:
      - How do I stop a user's codespace in my organization?
      - Can I stop a codespace for an organization member?
      instructions:
      - text: Stop codespace {codespace_name} for {username} in organization {org}.
        slots:
          org: path.org
          username: path.username
          codespace_name: path.codespace_name
      - text: Stop the organization {org} codespace {codespace_name} belonging to {username}.
        slots:
          org: path.org
          username: path.username
          codespace_name: path.codespace_name
      method: generated
      generated: '2026-11-23'
- target: $.paths['/repos/{owner}/{repo}/codespaces'].get
  update:
    x-apievangelist-phrasing:
      intent: List codespaces in a repository
      effect: read
      questions:
      - Which codespaces exist in a repository I own?
      - Can I list the codespaces in a repository for the authenticated user?
      instructions:
      - text: List codespaces in repository {owner}/{repo}.
        slots:
          owner: path.owner
          repo: path.repo
      - text: Show codespaces in {owner}/{repo} for the authenticated user.
        slots:
          owner: path.owner
          repo: path.repo
      method: generated
      generated: '2026-11-23'
- target: $.paths['/repos/{owner}/{repo}/codespaces'].post
  update:
    x-apievangelist-phrasing:
      intent: Create a codespace in a repository
      effect: write
      questions:
      - How do I create a codespace in a repository I own?
      - Can I choose the machine type and idle timeout when creating a codespace?
      instructions:
      - text: Create a codespace in repository {owner}/{repo}.
        slots:
          owner: path.owner
          repo: path.repo
      - text: Create a codespace in {owner}/{repo} on branch {ref} with machine {machine}.
        slots:
          owner: path.owner
          repo: path.repo
          ref: requestBody.ref
          machine: requestBody.machine
      method: generated
      generated: '2026-11-23'
- target: $.paths['/repos/{owner}/{repo}/codespaces/devcontainers'].get
  update:
    x-apievangelist-phrasing:
      intent: List devcontainer configurations in a repository
      effect: read
      questions:
      - Which devcontainer.json files exist in a repository?
      - Can I list the devcontainer configurations for a repository?
      instructions:
      - text: List devcontainer configurations in repository {owner}/{repo}.
        slots:
          owner: path.owner
          repo: path.repo
      - text: Show the devcontainer.json files in {owner}/{repo} for the authenticated user.
        slots:
          owner: path.owner
          repo: path.repo
      method: generated
      generated: '2026-11-23'
- target: $.paths['/repos/{owner}/{repo}/codespaces/machines'].get
  update:
    x-apievangelist-phrasing:
      intent: List available machine types for a repository
      effect: read
      questions:
      - What machine types are available for a repository?
      - Can I check machine availability for a branch before creating a codespace?
      instructions:
      - text: List available machine types for repository {owner}/{repo}.
        slots:
          owner: path.owner
          repo: path.repo
      - text: Show machine types for {owner}/{repo} on branch {ref}.
        slots:
          owner: path.owner
          repo: path.repo
          ref: query.ref
      method: generated
      generated: '2026-11-23'
- target: $.paths['/repos/{owner}/{repo}/codespaces/new'].get
  update:
    x-apievangelist-phrasing:
      intent: Get default codespace attributes for a repo
      effect: read
      questions:
      - What default attributes does a codespace get in a repository?
      - Can I check codespace defaults for a branch before creating one?
      instructions:
      - text: Get the default codespace attributes for {owner}/{repo}.
        slots:
          owner: path.owner
          repo: path.repo
      - text: Show codespace defaults for {owner}/{repo} on branch {ref}.
        slots:
          owner: path.owner
          repo: path.repo
          ref: query.ref
      method: generated
      generated: '2026-11-23'
- target: $.paths['/repos/{owner}/{repo}/codespaces/permissions_check'].get
  update:
    x-apievangelist-phrasing:
      intent: Check if devcontainer permissions are accepted
      effect: read
      questions:
      - Has the user accepted the permissions a devcontainer wants?
      - Can I verify a devcontainer's permissions before creating a codespace?
      instructions:
      - text: Check whether devcontainer permissions in {owner}/{repo} on {ref} are accepted.
        slots:
          owner: path.owner
          repo: path.repo
          ref: query.ref
      - text: Verify the permissions of {devcontainer_path} in {owner}/{repo} at {ref}.
        slots:
          devcontainer_path: query.devcontainer_path
          owner: path.owner
          repo: path.repo
          ref: query.ref
      method: generated
      generated: '2026-11-23'
- target: $.paths['/repos/{owner}/{repo}/codespaces/secrets'].get
  update:
    x-apievangelist-phrasing:
      intent: List repository codespace secrets
      effect: read
      questions:
      - Which secrets are available to codespaces in a repository?
      - Can I see a repository's codespace secrets without their values?
      instructions:
      - text: List the codespace secrets in {owner}/{repo}.
        slots:
          owner: path.owner
          repo: path.repo
      - text: Show repository codespace secrets for {owner}/{repo} on page {page}.
        slots:
          owner: path.owner
          repo: path.repo
          page: query.page
      method: generated
      generated: '2026-11-23'
- target: $.paths['/repos/{owner}/{repo}/codespaces/secrets/public-key'].get
  update:
    x-apievangelist-phrasing:
      intent: Get the public key for codespaces secrets
      effect: read
      questions:
      - Where do I get the public key to encrypt a codespace secret?
      - How do I decrypt a codespace secret with the public key?
      instructions:
      - text: Get the codespace public key for repo {owner}/{repo}.
        slots:
          owner: path.owner
          repo: path.repo
      - text: Fetch the public key so I can encrypt a secret for {owner}/{repo}.
        slots:
          owner: path.owner
          repo: path.repo
      method: generated
      generated: '2026-11-23'
- target: $.paths['/repos/{owner}/{repo}/codespaces/secrets/{secret_name}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a repository codespace secret
      effect: read
      questions:
      - Can I read a single codespace secret in a repository?
      - What is the encrypted value of a repository codespace secret?
      instructions:
      - text: Get the codespace secret {secret_name} in {owner}/{repo}.
        slots:
          secret_name: path.secret_name
          owner: path.owner
          repo: path.repo
      - text: Show the encrypted value of {secret_name} in {owner}/{repo}.
        slots:
          secret_name: path.secret_name
          owner: path.owner
          repo: path.repo
      method: generated
      generated: '2026-11-23'
- target: $.paths['/repos/{owner}/{repo}/codespaces/secrets/{secret_name}'].put
  update:
    x-apievangelist-phrasing:
      intent: Create or update a repository codespace secret
      effect: write
      questions:
      - How do I set a codespace secret in a repository?
      - Can I encrypt a secret with a key and save it for a repo's codespaces?
      instructions:
      - text: Create codespace secret {secret_name} in {owner}/{repo} with value {encrypted_value} and key {key_id}.
        slots:
          secret_name: path.secret_name
          owner: path.owner
          repo: path.repo
          encrypted_value: requestBody.encrypted_value
          key_id: requestBody.key_id
      - text: Set the {secret_name} codespace secret in {owner}/{repo}.
        slots:
          secret_name: path.secret_name
          owner: path.owner
          repo: path.repo
      method: generated
      generated: '2026-11-23'
- target: $.paths['/repos/{owner}/{repo}/codespaces/secrets/{secret_name}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete a repository codespace secret
      effect: destructive
      questions:
      - Can I remove a codespace secret from a repository?
      - What happens to codespaces when a repo codespace secret is deleted?
      instructions:
      - text: Delete the codespace secret {secret_name} from {owner}/{repo}.
        slots:
          secret_name: path.secret_name
          owner: path.owner
          repo: path.repo
      - text: Remove {secret_name} as a codespace secret in {owner}/{repo}.
        slots:
          secret_name: path.secret_name
          owner: path.owner
          repo: path.repo
      method: generated
      generated: '2026-11-23'
- target: $.paths['/repos/{owner}/{repo}/pulls/{pull_number}/codespaces'].post
  update:
    x-apievangelist-phrasing:
      intent: Create a codespace from a pull request
      effect: write
      questions:
      - Can I spin up a codespace from a pull request?
      - Is it possible to choose a location when creating a codespace on a PR?
      instructions:
      - text: Create a codespace for pull request {pull_number} in {owner}/{repo}.
        slots:
          pull_number: path.pull_number
          owner: path.owner
          repo: path.repo
      - text: Create a codespace for {pull_number} on {owner}/{repo} in location {location}.
        slots:
          pull_number: path.pull_number
          owner: path.owner
          repo: path.repo
          location: requestBody.location
      method: generated
      generated: '2026-11-23'
- target: $.paths['/user/codespaces'].get
  update:
    x-apievangelist-phrasing:
      intent: List my codespaces
      effect: read
      questions:
      - Which codespaces do I own?
      - Can I list only the codespaces in one repository?
      instructions:
      - text: List my codespaces.
      - text: Show my codespaces in repository {repository_id}.
        slots:
          repository_id: query.repository_id
      method: generated
      generated: '2026-11-23'
- target: $.paths['/user/codespaces'].post
  update:
    x-apievangelist-phrasing:
      intent: Create a codespace for the authenticated user
      effect: write
      questions:
      - How do I create a new codespace for myself?
      - Can I create a codespace from a repository or a pull request?
      instructions:
      - text: Create a codespace for the authenticated user.
      - text: Create a codespace for me from a repository or pull request.
      method: generated
      generated: '2026-11-23'
- target: $.paths['/user/codespaces/secrets'].get
  update:
    x-apievangelist-phrasing:
      intent: List my codespace secrets
      effect: read
      questions:
      - Which codespace secrets are available to my codespaces?
      - Can I see my user-level codespace secrets without their values?
      instructions:
      - text: List my codespace secrets.
      - text: Show my codespace secrets on page {page}.
        slots:
          page: query.page
      method: generated
      generated: '2026-11-23'
- target: $.paths['/user/codespaces/secrets/public-key'].get
  update:
    x-apievangelist-phrasing:
      intent: Get my codespace public key
      effect: read
      questions:
      - Where do I get the public key to encrypt a codespace secret for my codespaces?
      - What public key do I use to encrypt a codespace secret?
      instructions:
      - text: Get my codespace public key.
      - text: Fetch the public key for encrypting codespace secrets.
      method: generated
      generated: '2026-11-23'
- target: $.paths['/user/codespaces/secrets/{secret_name}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a codespace secret for the authenticated user
      effect: read
      questions:
      - Can I read a single codespace secret I own?
      - What is the encrypted value of my codespace secret?
      instructions:
      - text: Get my codespace secret {secret_name}.
        slots:
          secret_name: path.secret_name
      - text: Show the encrypted value of codespace secret {secret_name}.
        slots:
          secret_name: path.secret_name
      method: generated
      generated: '2026-11-23'
- target: $.paths['/user/codespaces/secrets/{secret_name}'].put
  update:
    x-apievangelist-phrasing:
      intent: Create or update a codespace secret
      effect: write
      questions:
      - How do I store a secret for my codespaces?
      - What do I need to encrypt a codespace secret?
      instructions:
      - text: Create codespace secret {secret_name} with values {encrypted_value} and key {key_id}.
        slots:
          secret_name: path.secret_name
          encrypted_value: requestBody.encrypted_value
          key_id: requestBody.key_id
      - text: Store codespace secret {secret_name} using key {key_id}.
        slots:
          secret_name: path.secret_name
          key_id: requestBody.key_id
      method: generated
      generated: '2026-11-23'
- target: $.paths['/user/codespaces/secrets/{secret_name}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete a codespace secret for the user
      effect: destructive
      questions:
      - Can I remove a codespace secret from my codespaces?
      - What happens to codespaces when my codespace secret is deleted?
      instructions:
      - text: Delete my codespace secret {secret_name}.
        slots:
          secret_name: path.secret_name
      - text: Remove codespace secret {secret_name} from my codespaces.
        slots:
          secret_name: path.secret_name
      method: generated
      generated: '2026-11-23'
- target: $.paths['/user/codespaces/secrets/{secret_name}/repositories'].get
  update:
    x-apievangelist-phrasing:
      intent: List repositories using a user codespace secret
      effect: read
      questions:
      - Which repositories use a particular codespace secret of mine?
      - Can I see the selected repositories for a user codespace secret?
      instructions:
      - text: List the repositories using my codespace secret {secret_name}.
        slots:
          secret_name: path.secret_name
      - text: Show which repositories have access to codespace secret {secret_name}.
        slots:
          secret_name: path.secret_name
      method: generated
      generated: '2026-11-23'
- target: $.paths['/user/codespaces/secrets/{secret_name}/repositories'].put
  update:
    x-apievangelist-phrasing:
      intent: Set repositories using a user codespace secret
      effect: write
      questions:
      - How do I choose which repositories can use a codespace secret of mine?
      - Can I replace the selected repositories for a user codespace secret?
      instructions:
      - text: Set the repositories using my codespace secret {secret_name} to {selected_repository_ids}.
        slots:
          secret_name: path.secret_name
          selected_repository_ids: requestBody.selected_repository_ids
      - text: Replace the selected repositories for codespace secret {secret_name}.
        slots:
          secret_name: path.secret_name
      method: generated
      generated: '2026-11-23'
- target: $.paths['/user/codespaces/secrets/{secret_name}/repositories/{repository_id}'].put
  update:
    x-apievangelist-phrasing:
      intent: Add a repository to a user codespace secret
      effect: write
      questions:
      - Can I grant one more repository access to a codespace secret of mine?
      - How do I add a single repository to a user codespace secret?
      instructions:
      - text: Add repository {repository_id} to my codespace secret {secret_name}.
        slots:
          repository_id: path.repository_id
          secret_name: path.secret_name
      - text: Grant codespace secret {secret_name} to repository {repository_id}.
        slots:
          secret_name: path.secret_name
          repository_id: path.repository_id
      method: generated
      generated: '2026-11-23'
- target: $.paths['/user/codespaces/secrets/{secret_name}/repositories/{repository_id}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Remove a repository from a user codespace secret
      effect: destructive
      questions:
      - Can I revoke a repository's access to a codespace secret of mine?
      - How do I remove one repository from a user codespace secret?
      instructions:
      - text: Remove repository {repository_id} from my codespace secret {secret_name}.
        slots:
          repository_id: path.repository_id
          secret_name: path.secret_name
      - text: Revoke codespace secret {secret_name} from repository {repository_id}.
        slots:
          secret_name: path.secret_name
          repository_id: path.repository_id
      method: generated
      generated: '2026-11-23'
- target: $.paths['/user/codespaces/{codespace_name}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get one of my codespaces
      effect: read
      questions:
      - What are the details of a codespace I own?
      - Can I look up a single codespace by name?
      instructions:
      - text: Get my codespace {codespace_name}.
        slots:
          codespace_name: path.codespace_name
      - text: Show the details of codespace {codespace_name}.
        slots:
          codespace_name: path.codespace_name
      method: generated
      generated: '2026-11-23'
- target: $.paths['/user/codespaces/{codespace_name}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete a codespace
      effect: destructive
      questions:
      - How do I delete a codespace I no longer use?
      - Can I remove a codespace by name?
      instructions:
      - text: Delete codespace {codespace_name}.
        slots:
          codespace_name: path.codespace_name
      - text: Remove the codespace {codespace_name} I stopped.
        slots:
          codespace_name: path.codespace_name
      method: generated
      generated: '2026-11-23'
- target: $.paths['/user/codespaces/{codespace_name}'].patch
  update:
    x-apievangelist-phrasing:
      intent: Change a codespace's machine type or name
      effect: write
      questions:
      - Can I change the machine type my codespace runs on?
      - How do I rename a codespace?
      instructions:
      - text: Change codespace {codespace_name} to machine type {machine}.
        slots:
          codespace_name: path.codespace_name
          machine: requestBody.machine
      - text: Rename codespace {codespace_name} to {display_name}.
        slots:
          codespace_name: path.codespace_name
          display_name: requestBody.display_name
      method: generated
      generated: '2026-11-23'
- target: $.paths['/user/codespaces/{codespace_name}/exports'].post
  update:
    x-apievangelist-phrasing:
      intent: Export a codespace
      effect: write
      questions:
      - How do I export my codespace to a repository?
      - Where do I get the export URL for a codespace?
      instructions:
      - text: Export codespace {codespace_name}.
        slots:
          codespace_name: path.codespace_name
      - text: Start an export of codespace {codespace_name} and show the export ID.
        slots:
          codespace_name: path.codespace_name
      method: generated
      generated: '2026-11-23'
- target: $.paths['/user/codespaces/{codespace_name}/exports/{export_id}'].get
  update:
    x-apievangelist-phrasing:
      intent: Check a codespace export
      effect: read
      questions:
      - Has my codespace export finished?
      - What's the status of a codespace export?
      instructions:
      - text: Get export {export_id} of codespace {codespace_name}.
        slots:
          export_id: path.export_id
          codespace_name: path.codespace_name
      - text: Check the status of codespace {codespace_name} export {export_id}.
        slots:
          codespace_name: path.codespace_name
          export_id: path.export_id
      method: generated
      generated: '2026-11-23'


# --- truncated at 32 KB (34 KB total) ---
# Full source: https://artifacts.apis.io/github/overlays/github-codespaces-api-phrasing-overlay.yaml

Work with this as data

Every overlay here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for openapi overlays

4 MCP tools reach this
  • find_overlaysBrowse and filter every overlay in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This overlay
curl "https://apis.io/api/v1/overlays/github-codespaces-api-phrasing-overlay"
All openapi overlays
curl "https://apis.io/api/v1/overlays?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.