Qovery · Capability

Qovery API — Organization Main Calls

Qovery API — Organization Main Calls. 19 operations. Lead operation: List user organizations. Self-contained Naftiko capability covering one Qovery business surface.

Run with Naftiko QoveryOrganization Main Calls

What You Can Do

GET
Listorganization — List user organizations
/v1/organization
POST
Createorganization — Create an organization
/v1/organization
GET
Getorganization — Get organization by ID
/v1/organization/{organizationid}
PUT
Editorganization — Edit an organization
/v1/organization/{organizationid}
DELETE
Deleteorganization — Delete an organization
/v1/organization/{organizationid}
GET
Listorganizationavailableroles — List organization available roles
/v1/organization/{organizationid}/availablerole
GET
Getcontainerregistryassociatedservices — Get organization container registry associated services
/v1/organization/{organizationid}/containerregistry/{containerregistryid}/associatedservices
GET
Listorganizationcredentials — List credentials of an organization and their associated clusters
/v1/organization/{organizationid}/credentials
GET
Listenvironmentsbyorganizationid — List Environments By OrganizationId
/v1/organization/{organizationid}/environments
GET
Listorganizationgittokens — List organization git tokens
/v1/organization/{organizationid}/gittoken
POST
Creategittoken — Create a git token
/v1/organization/{organizationid}/gittoken
GET
Getorganizationgittoken — Get organization git token
/v1/organization/{organizationid}/gittoken/{gittokenid}
PUT
Editgittoken — Edit a git token
/v1/organization/{organizationid}/gittoken/{gittokenid}
DELETE
Deletegittoken — Delete a git token
/v1/organization/{organizationid}/gittoken/{gittokenid}
GET
Getgittokenassociatedservices — Get organization git token associated services
/v1/organization/{organizationid}/gittoken/{gittokenid}/associatedservices
GET
Gethelmrepositoryassociatedservices — Get organization helm repository associated services
/v1/organization/{organizationid}/helmrepository/{helmrepositoryid}/associatedservices
POST
Listtfvarsfilesfromgitrepo — List Terraform tfvars files from Git repository
/v1/organization/{organizationid}/listtfvarsfilesfromgitrepo
POST
Parseterraformvariablesfromgitrepo — Parse Terraform variables from Git repository
/v1/organization/{organizationid}/parseterraformvariablesfromgitrepo
GET
Listservicesbyorganizationid — List Services By OrganizationId
/v1/organization/{organizationid}/services

MCP Tools

list-user-organizations

List user organizations

read-only idempotent
create-organization

Create an organization

get-organization-id

Get organization by ID

read-only idempotent
edit-organization

Edit an organization

idempotent
delete-organization

Delete an organization

idempotent
list-organization-available-roles

List organization available roles

read-only idempotent
get-organization-container-registry-associated

Get organization container registry associated services

read-only idempotent
list-credentials-organization-and-their

List credentials of an organization and their associated clusters

read-only idempotent
list-environments-organizationid

List Environments By OrganizationId

read-only idempotent
list-organization-git-tokens

List organization git tokens

read-only idempotent
create-git-token

Create a git token

get-organization-git-token

Get organization git token

read-only idempotent
edit-git-token

Edit a git token

idempotent
delete-git-token

Delete a git token

idempotent
get-organization-git-token-associated

Get organization git token associated services

read-only idempotent
get-organization-helm-repository-associated

Get organization helm repository associated services

read-only idempotent
list-terraform-tfvars-files-git

List Terraform tfvars files from Git repository

read-only
parse-terraform-variables-git-repository

Parse Terraform variables from Git repository

list-services-organizationid

List Services By OrganizationId

read-only idempotent

Capability Spec

qovery-organization-main-calls.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Qovery API — Organization Main Calls
  description: 'Qovery API — Organization Main Calls. 19 operations. Lead operation: List user organizations. Self-contained
    Naftiko capability covering one Qovery business surface.'
  tags:
  - Qovery
  - Organization Main Calls
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    QOVERY_API_KEY: QOVERY_API_KEY
capability:
  consumes:
  - type: http
    namespace: qovery-organization-main-calls
    baseUri: https://api.qovery.com
    description: Qovery API — Organization Main Calls business capability. Self-contained, no shared references.
    resources:
    - name: organization
      path: /organization
      operations:
      - name: listorganization
        method: GET
        description: List user organizations
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: createorganization
        method: POST
        description: Create an organization
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: organization-organizationId
      path: /organization/{organizationId}
      operations:
      - name: getorganization
        method: GET
        description: Get organization by ID
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: editorganization
        method: PUT
        description: Edit an organization
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
      - name: deleteorganization
        method: DELETE
        description: Delete an organization
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: organization-organizationId-availableRole
      path: /organization/{organizationId}/availableRole
      operations:
      - name: listorganizationavailableroles
        method: GET
        description: List organization available roles
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: organization-organizationId-containerRegistry-containerRegistryId-associatedServ
      path: /organization/{organizationId}/containerRegistry/{containerRegistryId}/associatedServices
      operations:
      - name: getcontainerregistryassociatedservices
        method: GET
        description: Get organization container registry associated services
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: organization-organizationId-credentials
      path: /organization/{organizationId}/credentials
      operations:
      - name: listorganizationcredentials
        method: GET
        description: List credentials of an organization and their associated clusters
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: organization-organizationId-environments
      path: /organization/{organizationId}/environments
      operations:
      - name: listenvironmentsbyorganizationid
        method: GET
        description: List Environments By OrganizationId
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: organization-organizationId-gitToken
      path: /organization/{organizationId}/gitToken
      operations:
      - name: listorganizationgittokens
        method: GET
        description: List organization git tokens
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: creategittoken
        method: POST
        description: Create a git token
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: organization-organizationId-gitToken-gitTokenId
      path: /organization/{organizationId}/gitToken/{gitTokenId}
      operations:
      - name: getorganizationgittoken
        method: GET
        description: Get organization git token
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: editgittoken
        method: PUT
        description: Edit a git token
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
      - name: deletegittoken
        method: DELETE
        description: Delete a git token
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: organization-organizationId-gitToken-gitTokenId-associatedServices
      path: /organization/{organizationId}/gitToken/{gitTokenId}/associatedServices
      operations:
      - name: getgittokenassociatedservices
        method: GET
        description: Get organization git token associated services
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: organization-organizationId-helmRepository-helmRepositoryId-associatedServices
      path: /organization/{organizationId}/helmRepository/{helmRepositoryId}/associatedServices
      operations:
      - name: gethelmrepositoryassociatedservices
        method: GET
        description: Get organization helm repository associated services
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: organization-organizationId-listTfVarsFilesFromGitRepo
      path: /organization/{organizationId}/listTfVarsFilesFromGitRepo
      operations:
      - name: listtfvarsfilesfromgitrepo
        method: POST
        description: List Terraform tfvars files from Git repository
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: organization-organizationId-parseTerraformVariablesFromGitRepo
      path: /organization/{organizationId}/parseTerraformVariablesFromGitRepo
      operations:
      - name: parseterraformvariablesfromgitrepo
        method: POST
        description: Parse Terraform variables from Git repository
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: organization-organizationId-services
      path: /organization/{organizationId}/services
      operations:
      - name: listservicesbyorganizationid
        method: GET
        description: List Services By OrganizationId
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: project_id
          in: query
          type: string
        - name: environment_id
          in: query
          type: string
        - name: cluster_id
          in: query
          type: string
    authentication:
      type: bearer
      token: '{{env.QOVERY_API_KEY}}'
  exposes:
  - type: rest
    namespace: qovery-organization-main-calls-rest
    port: 8080
    description: REST adapter for Qovery API — Organization Main Calls. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/organization
      name: organization
      description: REST surface for organization.
      operations:
      - method: GET
        name: listorganization
        description: List user organizations
        call: qovery-organization-main-calls.listorganization
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createorganization
        description: Create an organization
        call: qovery-organization-main-calls.createorganization
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/organization/{organizationid}
      name: organization-organizationid
      description: REST surface for organization-organizationId.
      operations:
      - method: GET
        name: getorganization
        description: Get organization by ID
        call: qovery-organization-main-calls.getorganization
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: editorganization
        description: Edit an organization
        call: qovery-organization-main-calls.editorganization
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deleteorganization
        description: Delete an organization
        call: qovery-organization-main-calls.deleteorganization
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/organization/{organizationid}/availablerole
      name: organization-organizationid-availablerole
      description: REST surface for organization-organizationId-availableRole.
      operations:
      - method: GET
        name: listorganizationavailableroles
        description: List organization available roles
        call: qovery-organization-main-calls.listorganizationavailableroles
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/organization/{organizationid}/containerregistry/{containerregistryid}/associatedservices
      name: organization-organizationid-containerregistry-containerregistryid-associatedserv
      description: REST surface for organization-organizationId-containerRegistry-containerRegistryId-associatedServ.
      operations:
      - method: GET
        name: getcontainerregistryassociatedservices
        description: Get organization container registry associated services
        call: qovery-organization-main-calls.getcontainerregistryassociatedservices
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/organization/{organizationid}/credentials
      name: organization-organizationid-credentials
      description: REST surface for organization-organizationId-credentials.
      operations:
      - method: GET
        name: listorganizationcredentials
        description: List credentials of an organization and their associated clusters
        call: qovery-organization-main-calls.listorganizationcredentials
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/organization/{organizationid}/environments
      name: organization-organizationid-environments
      description: REST surface for organization-organizationId-environments.
      operations:
      - method: GET
        name: listenvironmentsbyorganizationid
        description: List Environments By OrganizationId
        call: qovery-organization-main-calls.listenvironmentsbyorganizationid
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/organization/{organizationid}/gittoken
      name: organization-organizationid-gittoken
      description: REST surface for organization-organizationId-gitToken.
      operations:
      - method: GET
        name: listorganizationgittokens
        description: List organization git tokens
        call: qovery-organization-main-calls.listorganizationgittokens
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: creategittoken
        description: Create a git token
        call: qovery-organization-main-calls.creategittoken
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/organization/{organizationid}/gittoken/{gittokenid}
      name: organization-organizationid-gittoken-gittokenid
      description: REST surface for organization-organizationId-gitToken-gitTokenId.
      operations:
      - method: GET
        name: getorganizationgittoken
        description: Get organization git token
        call: qovery-organization-main-calls.getorganizationgittoken
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: editgittoken
        description: Edit a git token
        call: qovery-organization-main-calls.editgittoken
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deletegittoken
        description: Delete a git token
        call: qovery-organization-main-calls.deletegittoken
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/organization/{organizationid}/gittoken/{gittokenid}/associatedservices
      name: organization-organizationid-gittoken-gittokenid-associatedservices
      description: REST surface for organization-organizationId-gitToken-gitTokenId-associatedServices.
      operations:
      - method: GET
        name: getgittokenassociatedservices
        description: Get organization git token associated services
        call: qovery-organization-main-calls.getgittokenassociatedservices
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/organization/{organizationid}/helmrepository/{helmrepositoryid}/associatedservices
      name: organization-organizationid-helmrepository-helmrepositoryid-associatedservices
      description: REST surface for organization-organizationId-helmRepository-helmRepositoryId-associatedServices.
      operations:
      - method: GET
        name: gethelmrepositoryassociatedservices
        description: Get organization helm repository associated services
        call: qovery-organization-main-calls.gethelmrepositoryassociatedservices
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/organization/{organizationid}/listtfvarsfilesfromgitrepo
      name: organization-organizationid-listtfvarsfilesfromgitrepo
      description: REST surface for organization-organizationId-listTfVarsFilesFromGitRepo.
      operations:
      - method: POST
        name: listtfvarsfilesfromgitrepo
        description: List Terraform tfvars files from Git repository
        call: qovery-organization-main-calls.listtfvarsfilesfromgitrepo
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/organization/{organizationid}/parseterraformvariablesfromgitrepo
      name: organization-organizationid-parseterraformvariablesfromgitrepo
      description: REST surface for organization-organizationId-parseTerraformVariablesFromGitRepo.
      operations:
      - method: POST
        name: parseterraformvariablesfromgitrepo
        description: Parse Terraform variables from Git repository
        call: qovery-organization-main-calls.parseterraformvariablesfromgitrepo
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/organization/{organizationid}/services
      name: organization-organizationid-services
      description: REST surface for organization-organizationId-services.
      operations:
      - method: GET
        name: listservicesbyorganizationid
        description: List Services By OrganizationId
        call: qovery-organization-main-calls.listservicesbyorganizationid
        with:
          project_id: rest.project_id
          environment_id: rest.environment_id
          cluster_id: rest.cluster_id
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: qovery-organization-main-calls-mcp
    port: 9090
    transport: http
    description: MCP adapter for Qovery API — Organization Main Calls. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: list-user-organizations
      description: List user organizations
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: qovery-organization-main-calls.listorganization
      outputParameters:
      - type: object
        mapping: $.
    - name: create-organization
      description: Create an organization
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: qovery-organization-main-calls.createorganization
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: get-organization-id
      description: Get organization by ID
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: qovery-organization-main-calls.getorganization
      outputParameters:
      - type: object
        mapping: $.
    - name: edit-organization
      description: Edit an organization
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: qovery-organization-main-calls.editorganization
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: delete-organization
      description: Delete an organization
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: qovery-organization-main-calls.deleteorganization
      outputParameters:
      - type: object
        mapping: $.
    - name: list-organization-available-roles
      description: List organization available roles
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: qovery-organization-main-calls.listorganizationavailableroles
      outputParameters:
      - type: object
        mapping: $.
    - name: get-organization-container-registry-associated
      description: Get organization container registry associated services
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: qovery-organization-main-calls.getcontainerregistryassociatedservices
      outputParameters:
      - type: object
        mapping: $.
    - name: list-credentials-organization-and-their
      description: List credentials of an organization and their associated clusters
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: qovery-organization-main-calls.listorganizationcredentials
      outputParameters:
      - type: object
        mapping: $.
    - name: list-environments-organizationid
      description: List Environments By OrganizationId
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: qovery-organization-main-calls.listenvironmentsbyorganizationid
      outputParameters:
      - type: object
        mapping: $.
    - name: list-organization-git-tokens
      description: List organization git tokens
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: qovery-organization-main-calls.listorganizationgittokens
      outputParameters:
      - type: object
        mapping: $.
    - name: create-git-token
      description: Create a git token
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: qovery-organization-main-calls.creategittoken
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: get-organization-git-token
      description: Get organization git token
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: qovery-organization-main-calls.getorganizationgittoken
      outputParameters:
      - type: object
        mapping: $.
    - name: edit-git-token
      description: Edit a git token
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: qovery-organization-main-calls.editgittoken
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: delete-git-token
      description: Delete a git token
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: qovery-organization-main-calls.deletegittoken
      outputParameters:
      - type: object
        mapping: $.
    - name: get-organization-git-token-associated
      description: Get organization git token associated services
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: qovery-organization-main-calls.getgittokenassociatedservices
      outputParameters:
      - type: object
        mapping: $.
    - name: get-organization-helm-repository-associated
      description: Get organization helm repository associated services
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: qovery-organization-main-calls.gethelmrepositoryassociatedservices
      outputParameters:
      - type: object
        mapping: $.
    - name: list-terraform-tfvars-files-git
      description: List Terraform tfvars files from Git repository
      hints:
        readOnly: true
        destructive: false
        idempotent: false
      call: qovery-organization-main-calls.listtfvarsfilesfromgitrepo
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: parse-terraform-variables-git-repository
      description: Parse Terraform variables from Git repository
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: qovery-organization-main-calls.parseterraformvariablesfromgitrepo
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: list-services-organizationid
      description: List Services By OrganizationId
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: qovery-organization-main-calls.listservicesbyorganizationid
      with:
        project_id: tools.project_id
        environment_id: tools.environment_id
        cluster_id: tools.cluster_id
      outputParameters:
      - type: object
        mapping: $.