Gitee · Agentic Access

Gitee Agentic Access

x-agentic-access generated

Gitee exposes 41 API operations that an AI agent could call, of which 14 are state-changing ‘acting’ operations. This is a recommended x-agentic-access execution contract — the scope, audience, consequence tier, short-lived token constraints, and escalation each action should carry before it is handed to an autonomous agent.

By consequence: 27 read, 13 write, and 1 physical.

Contracts are classified heuristically from the provider’s OpenAPI and refresh on every APIs.io network build; audience is bound per deployment. The model follows Curity’s Access Intelligence (apidays Munich 2026). Browse every provider’s agent contracts at agentic-access.apis.io.

Code HostingGitGit HostingVersion ControlRepositoriesPull RequestsIssue TrackingDevOpsOpen SourceChina
Operations: 41 Acting: 14 Human-in-the-loop: 0 Method: generated

By consequence

read 27 write 13 physical 1

Highest-consequence actions

The physical and safety-critical operations an agent could invoke — the ones that most warrant scoped tokens, tight TTLs, and escalation. Full per-operation contracts are in the source below.

MethodPathConsequenceHuman-in-loop
POST /repos/{owner}/{repo}/hooks/{id}/tests physical conditional

Source

Agentic Access

Raw ↑
generated: '2026-07-15'
method: generated
source: openapi/gitee-openapi.yml
description: Recommended x-agentic-access execution contracts, classified heuristically from
  the OpenAPI. A governance starting point for exposing this API to AI agents — review and bind
  audience per deployment. See research/curity/agentic-governance/.
summary:
  operations: 41
  by_action_class:
    connected: 27
    acting: 14
  by_consequence:
    read: 27
    write: 13
    physical: 1
  human_in_the_loop_required: 0
operations:
- path: /user
  method: get
  operationId: getAuthenticatedUser
  x-agentic-access:
    action-class: connected
    consequence: read
    subject: optional
    token:
      max-ttl: 3600
    audit: none
    scope:
    - projects
- path: /user/keys
  method: get
  operationId: listUserKeys
  x-agentic-access:
    action-class: connected
    consequence: read
    subject: optional
    token:
      max-ttl: 3600
    audit: none
    scope:
    - projects
- path: /user/keys
  method: post
  operationId: createUserKey
  x-agentic-access:
    action-class: acting
    consequence: write
    subject: required
    audience: null
    token:
      max-ttl: 900
    escalation:
      human-in-the-loop: conditional
      triggers:
      - abnormal
      - high-value
    audit: required
    scope:
    - projects
- path: /user/repos
  method: get
  operationId: listUserRepos
  x-agentic-access:
    action-class: connected
    consequence: read
    subject: optional
    token:
      max-ttl: 3600
    audit: none
    scope:
    - projects
- path: /user/repos
  method: post
  operationId: createUserRepo
  x-agentic-access:
    action-class: acting
    consequence: write
    subject: required
    audience: null
    token:
      max-ttl: 900
    escalation:
      human-in-the-loop: conditional
      triggers:
      - abnormal
      - high-value
    audit: required
    scope:
    - projects
- path: /repos/{owner}/{repo}
  method: get
  operationId: getRepo
  x-agentic-access:
    action-class: connected
    consequence: read
    subject: optional
    token:
      max-ttl: 3600
    audit: none
    scope:
    - projects
- path: /repos/{owner}/{repo}
  method: patch
  operationId: updateRepo
  x-agentic-access:
    action-class: acting
    consequence: write
    subject: required
    audience: null
    token:
      max-ttl: 900
    escalation:
      human-in-the-loop: conditional
      triggers:
      - abnormal
      - high-value
    audit: required
    scope:
    - projects
- path: /repos/{owner}/{repo}/branches
  method: get
  operationId: listBranches
  x-agentic-access:
    action-class: connected
    consequence: read
    subject: optional
    token:
      max-ttl: 3600
    audit: none
    scope:
    - projects
- path: /repos/{owner}/{repo}/branches
  method: post
  operationId: createBranch
  x-agentic-access:
    action-class: acting
    consequence: write
    subject: required
    audience: null
    token:
      max-ttl: 900
    escalation:
      human-in-the-loop: conditional
      triggers:
      - abnormal
      - high-value
    audit: required
    scope:
    - projects
- path: /repos/{owner}/{repo}/tags
  method: get
  operationId: listTags
  x-agentic-access:
    action-class: connected
    consequence: read
    subject: optional
    token:
      max-ttl: 3600
    audit: none
    scope:
    - projects
- path: /repos/{owner}/{repo}/commits
  method: get
  operationId: listCommits
  x-agentic-access:
    action-class: connected
    consequence: read
    subject: optional
    token:
      max-ttl: 3600
    audit: none
    scope:
    - projects
- path: /repos/{owner}/{repo}/issues
  method: get
  operationId: listRepoIssues
  x-agentic-access:
    action-class: connected
    consequence: read
    subject: optional
    token:
      max-ttl: 3600
    audit: none
    scope:
    - projects
- path: /repos/{owner}/issues
  method: post
  operationId: createIssue
  x-agentic-access:
    action-class: acting
    consequence: write
    subject: required
    audience: null
    token:
      max-ttl: 900
    escalation:
      human-in-the-loop: conditional
      triggers:
      - abnormal
      - high-value
    audit: required
    scope:
    - projects
- path: /repos/{owner}/issues/{number}
  method: patch
  operationId: updateIssue
  x-agentic-access:
    action-class: acting
    consequence: write
    subject: required
    audience: null
    token:
      max-ttl: 900
    escalation:
      human-in-the-loop: conditional
      triggers:
      - abnormal
      - high-value
    audit: required
    scope:
    - projects
- path: /repos/{owner}/{repo}/issues/{number}/comments
  method: get
  operationId: listIssueComments
  x-agentic-access:
    action-class: connected
    consequence: read
    subject: optional
    token:
      max-ttl: 3600
    audit: none
    scope:
    - projects
- path: /repos/{owner}/{repo}/issues/{number}/comments
  method: post
  operationId: createIssueComment
  x-agentic-access:
    action-class: acting
    consequence: write
    subject: required
    audience: null
    token:
      max-ttl: 900
    escalation:
      human-in-the-loop: conditional
      triggers:
      - abnormal
      - high-value
    audit: required
    scope:
    - projects
- path: /repos/{owner}/{repo}/labels
  method: get
  operationId: listRepoLabels
  x-agentic-access:
    action-class: connected
    consequence: read
    subject: optional
    token:
      max-ttl: 3600
    audit: none
    scope:
    - projects
- path: /repos/{owner}/{repo}/milestones
  method: get
  operationId: listMilestones
  x-agentic-access:
    action-class: connected
    consequence: read
    subject: optional
    token:
      max-ttl: 3600
    audit: none
    scope:
    - projects
- path: /repos/{owner}/{repo}/pulls
  method: get
  operationId: listPullRequests
  x-agentic-access:
    action-class: connected
    consequence: read
    subject: optional
    token:
      max-ttl: 3600
    audit: none
    scope:
    - projects
- path: /repos/{owner}/{repo}/pulls
  method: post
  operationId: createPullRequest
  x-agentic-access:
    action-class: acting
    consequence: write
    subject: required
    audience: null
    token:
      max-ttl: 900
    escalation:
      human-in-the-loop: conditional
      triggers:
      - abnormal
      - high-value
    audit: required
    scope:
    - projects
- path: /repos/{owner}/{repo}/pulls/{number}
  method: get
  operationId: getPullRequest
  x-agentic-access:
    action-class: connected
    consequence: read
    subject: optional
    token:
      max-ttl: 3600
    audit: none
    scope:
    - projects
- path: /repos/{owner}/{repo}/pulls/{number}/merge
  method: get
  operationId: isPullRequestMerged
  x-agentic-access:
    action-class: connected
    consequence: read
    subject: optional
    token:
      max-ttl: 3600
    audit: none
    scope:
    - projects
- path: /repos/{owner}/{repo}/pulls/{number}/merge
  method: put
  operationId: mergePullRequest
  x-agentic-access:
    action-class: acting
    consequence: write
    subject: required
    audience: null
    token:
      max-ttl: 900
    escalation:
      human-in-the-loop: conditional
      triggers:
      - abnormal
      - high-value
    audit: required
    scope:
    - projects
- path: /repos/{owner}/{repo}/pulls/{number}/files
  method: get
  operationId: listPullRequestFiles
  x-agentic-access:
    action-class: connected
    consequence: read
    subject: optional
    token:
      max-ttl: 3600
    audit: none
    scope:
    - projects
- path: /user/orgs
  method: get
  operationId: listUserOrgs
  x-agentic-access:
    action-class: connected
    consequence: read
    subject: optional
    token:
      max-ttl: 3600
    audit: none
    scope:
    - projects
- path: /orgs/{org}
  method: get
  operationId: getOrg
  x-agentic-access:
    action-class: connected
    consequence: read
    subject: optional
    token:
      max-ttl: 3600
    audit: none
    scope:
    - projects
- path: /orgs/{org}/members
  method: get
  operationId: listOrgMembers
  x-agentic-access:
    action-class: connected
    consequence: read
    subject: optional
    token:
      max-ttl: 3600
    audit: none
    scope:
    - projects
- path: /gists
  method: get
  operationId: listGists
  x-agentic-access:
    action-class: connected
    consequence: read
    subject: optional
    token:
      max-ttl: 3600
    audit: none
    scope:
    - projects
- path: /gists
  method: post
  operationId: createGist
  x-agentic-access:
    action-class: acting
    consequence: write
    subject: required
    audience: null
    token:
      max-ttl: 900
    escalation:
      human-in-the-loop: conditional
      triggers:
      - abnormal
      - high-value
    audit: required
    scope:
    - projects
- path: /gists/{id}
  method: get
  operationId: getGist
  x-agentic-access:
    action-class: connected
    consequence: read
    subject: optional
    token:
      max-ttl: 3600
    audit: none
    scope:
    - projects
- path: /gists/{id}
  method: delete
  operationId: deleteGist
  x-agentic-access:
    action-class: acting
    consequence: write
    subject: required
    audience: null
    token:
      max-ttl: 900
    escalation:
      human-in-the-loop: conditional
      triggers:
      - abnormal
      - high-value
    audit: required
    scope:
    - projects
- path: /user/enterprises
  method: get
  operationId: listUserEnterprises
  x-agentic-access:
    action-class: connected
    consequence: read
    subject: optional
    token:
      max-ttl: 3600
    audit: none
    scope:
    - projects
- path: /enterprises/{enterprise}
  method: get
  operationId: getEnterprise
  x-agentic-access:
    action-class: connected
    consequence: read
    subject: optional
    token:
      max-ttl: 3600
    audit: none
    scope:
    - projects
- path: /enterprises/{enterprise}/members
  method: get
  operationId: listEnterpriseMembers
  x-agentic-access:
    action-class: connected
    consequence: read
    subject: optional
    token:
      max-ttl: 3600
    audit: none
    scope:
    - projects
- path: /enterprises/{enterprise}/members
  method: post
  operationId: addEnterpriseMember
  x-agentic-access:
    action-class: acting
    consequence: write
    subject: required
    audience: null
    token:
      max-ttl: 900
    escalation:
      human-in-the-loop: conditional
      triggers:
      - abnormal
      - high-value
    audit: required
    scope:
    - projects
- path: /repos/{owner}/{repo}/hooks
  method: get
  operationId: listRepoHooks
  x-agentic-access:
    action-class: connected
    consequence: read
    subject: optional
    token:
      max-ttl: 3600
    audit: none
    scope:
    - projects
- path: /repos/{owner}/{repo}/hooks
  method: post
  operationId: createRepoHook
  x-agentic-access:
    action-class: acting
    consequence: write
    subject: required
    audience: null
    token:
      max-ttl: 900
    escalation:
      human-in-the-loop: conditional
      triggers:
      - abnormal
      - high-value
    audit: required
    scope:
    - projects
- path: /repos/{owner}/{repo}/hooks/{id}/tests
  method: post
  operationId: testRepoHook
  x-agentic-access:
    action-class: acting
    consequence: physical
    subject: required
    audience: null
    token:
      max-ttl: 300
      exchange: true
      purpose-required: true
    escalation:
      human-in-the-loop: conditional
      triggers:
      - abnormal
      - high-value
    audit: required
    scope:
    - projects
- path: /search/repositories
  method: get
  operationId: searchRepositories
  x-agentic-access:
    action-class: connected
    consequence: read
    subject: optional
    token:
      max-ttl: 3600
    audit: none
    scope:
    - projects
- path: /search/issues
  method: get
  operationId: searchIssues
  x-agentic-access:
    action-class: connected
    consequence: read
    subject: optional
    token:
      max-ttl: 3600
    audit: none
    scope:
    - projects
- path: /search/users
  method: get
  operationId: searchUsers
  x-agentic-access:
    action-class: connected
    consequence: read
    subject: optional
    token:
      max-ttl: 3600
    audit: none
    scope:
    - projects