Label Studio · Capability

API Reference — subpackage_exportStorage.subpackage_exportStorage/gcsSa

API Reference — subpackage_exportStorage.subpackage_exportStorage/gcsSa. 7 operations. Lead operation: ✨ Get all GCS SA export storages. Self-contained Naftiko capability covering one Label Studio business surface.

Run with Naftiko Label Studiosubpackage_exportStorage.subpackage_exportStorage/gcsSa

What You Can Do

GET
List — ✨ Get all GCS SA export storages
/v1/api/storages/export/gcs-sa
POST
Create — ✨ Create GCS export storage with SA Impersonation
/v1/api/storages/export/gcs-sa
POST
Validate — ✨ Validate GCS SA export storage
/v1/api/storages/export/gcs-sa/validate
GET
Get — ✨ Get GCS SA export storage
/v1/api/storages/export/gcs-sa/{id}
DELETE
Delete — ✨ Delete GCS SA export storage
/v1/api/storages/export/gcs-sa/{id}
PATCH
Update — ✨ Update GCS SA export storage
/v1/api/storages/export/gcs-sa/{id}
POST
Sync — ✨ Sync GCS SA export storage
/v1/api/storages/export/gcs-sa/{id}/sync

MCP Tools

get-all-gcs-sa-export

✨ Get all GCS SA export storages

read-only idempotent
create-gcs-export-storage-sa

✨ Create GCS export storage with SA Impersonation

validate-gcs-sa-export-storage

✨ Validate GCS SA export storage

read-only
get-gcs-sa-export-storage

✨ Get GCS SA export storage

read-only idempotent
delete-gcs-sa-export-storage

✨ Delete GCS SA export storage

idempotent
update-gcs-sa-export-storage

✨ Update GCS SA export storage

idempotent
sync-gcs-sa-export-storage

✨ Sync GCS SA export storage

Capability Spec

label-studio-subpackage-exportstorage-subpackage-exportstorage-gcssa.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: API Reference — subpackage_exportStorage.subpackage_exportStorage/gcsSa
  description: 'API Reference — subpackage_exportStorage.subpackage_exportStorage/gcsSa. 7 operations. Lead operation: ✨ Get
    all GCS SA export storages. Self-contained Naftiko capability covering one Label Studio business surface.'
  tags:
  - Label Studio
  - subpackage_exportStorage.subpackage_exportStorage/gcsSa
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    LABEL_STUDIO_API_KEY: LABEL_STUDIO_API_KEY
capability:
  consumes:
  - type: http
    namespace: label-studio-subpackage-exportstorage-subpackage-exportstorage-gcssa
    baseUri: http://localhost:8000
    description: API Reference — subpackage_exportStorage.subpackage_exportStorage/gcsSa business capability. Self-contained,
      no shared references.
    resources:
    - name: api-storages-export-gcs_sa
      path: /api/storages/export/gcs_sa
      operations:
      - name: list
        method: GET
        description: ✨ Get all GCS SA export storages
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: ordering
          in: query
          type: string
          description: Which field to use when ordering the results.
        - name: project
          in: query
          type: integer
          description: Project ID
          required: true
        - name: Authorization
          in: header
          type: string
          description: 'The token (or API key) must be passed as a request header. You can find your user token on the User
            Account page in Label Studio. Example: <br><pre><code class='
          required: true
      - name: create
        method: POST
        description: ✨ Create GCS export storage with SA Impersonation
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Authorization
          in: header
          type: string
          description: 'The token (or API key) must be passed as a request header. You can find your user token on the User
            Account page in Label Studio. Example: <br><pre><code class='
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: api-storages-export-gcs_sa-validate
      path: /api/storages/export/gcs_sa/validate
      operations:
      - name: validate
        method: POST
        description: ✨ Validate GCS SA export storage
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Authorization
          in: header
          type: string
          description: 'The token (or API key) must be passed as a request header. You can find your user token on the User
            Account page in Label Studio. Example: <br><pre><code class='
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: api-storages-export-gcs_sa-id
      path: /api/storages/export/gcs_sa/{id}
      operations:
      - name: get
        method: GET
        description: ✨ Get GCS SA export storage
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: integer
          required: true
        - name: Authorization
          in: header
          type: string
          description: 'The token (or API key) must be passed as a request header. You can find your user token on the User
            Account page in Label Studio. Example: <br><pre><code class='
          required: true
      - name: delete
        method: DELETE
        description: ✨ Delete GCS SA export storage
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: integer
          required: true
        - name: Authorization
          in: header
          type: string
          description: 'The token (or API key) must be passed as a request header. You can find your user token on the User
            Account page in Label Studio. Example: <br><pre><code class='
          required: true
      - name: update
        method: PATCH
        description: ✨ Update GCS SA export storage
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: integer
          required: true
        - name: Authorization
          in: header
          type: string
          description: 'The token (or API key) must be passed as a request header. You can find your user token on the User
            Account page in Label Studio. Example: <br><pre><code class='
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: api-storages-export-gcs_sa-id-sync
      path: /api/storages/export/gcs_sa/{id}/sync
      operations:
      - name: sync
        method: POST
        description: ✨ Sync GCS SA export storage
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: integer
          required: true
        - name: Authorization
          in: header
          type: string
          description: 'The token (or API key) must be passed as a request header. You can find your user token on the User
            Account page in Label Studio. Example: <br><pre><code class='
          required: true
    authentication:
      type: apikey
      key: Authorization
      value: '{{env.LABEL_STUDIO_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: label-studio-subpackage-exportstorage-subpackage-exportstorage-gcssa-rest
    port: 8080
    description: REST adapter for API Reference — subpackage_exportStorage.subpackage_exportStorage/gcsSa. One Spectral-compliant
      resource per consumed operation, prefixed with /v1.
    resources:
    - path: /v1/api/storages/export/gcs-sa
      name: api-storages-export-gcs-sa
      description: REST surface for api-storages-export-gcs_sa.
      operations:
      - method: GET
        name: list
        description: ✨ Get all GCS SA export storages
        call: label-studio-subpackage-exportstorage-subpackage-exportstorage-gcssa.list
        with:
          ordering: rest.ordering
          project: rest.project
          Authorization: rest.Authorization
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: create
        description: ✨ Create GCS export storage with SA Impersonation
        call: label-studio-subpackage-exportstorage-subpackage-exportstorage-gcssa.create
        with:
          Authorization: rest.Authorization
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/api/storages/export/gcs-sa/validate
      name: api-storages-export-gcs-sa-validate
      description: REST surface for api-storages-export-gcs_sa-validate.
      operations:
      - method: POST
        name: validate
        description: ✨ Validate GCS SA export storage
        call: label-studio-subpackage-exportstorage-subpackage-exportstorage-gcssa.validate
        with:
          Authorization: rest.Authorization
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/api/storages/export/gcs-sa/{id}
      name: api-storages-export-gcs-sa-id
      description: REST surface for api-storages-export-gcs_sa-id.
      operations:
      - method: GET
        name: get
        description: ✨ Get GCS SA export storage
        call: label-studio-subpackage-exportstorage-subpackage-exportstorage-gcssa.get
        with:
          id: rest.id
          Authorization: rest.Authorization
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: delete
        description: ✨ Delete GCS SA export storage
        call: label-studio-subpackage-exportstorage-subpackage-exportstorage-gcssa.delete
        with:
          id: rest.id
          Authorization: rest.Authorization
        outputParameters:
        - type: object
          mapping: $.
      - method: PATCH
        name: update
        description: ✨ Update GCS SA export storage
        call: label-studio-subpackage-exportstorage-subpackage-exportstorage-gcssa.update
        with:
          id: rest.id
          Authorization: rest.Authorization
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/api/storages/export/gcs-sa/{id}/sync
      name: api-storages-export-gcs-sa-id-sync
      description: REST surface for api-storages-export-gcs_sa-id-sync.
      operations:
      - method: POST
        name: sync
        description: ✨ Sync GCS SA export storage
        call: label-studio-subpackage-exportstorage-subpackage-exportstorage-gcssa.sync
        with:
          id: rest.id
          Authorization: rest.Authorization
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: label-studio-subpackage-exportstorage-subpackage-exportstorage-gcssa-mcp
    port: 9090
    transport: http
    description: MCP adapter for API Reference — subpackage_exportStorage.subpackage_exportStorage/gcsSa. One tool per consumed
      operation, routed inline through this capability's consumes block.
    tools:
    - name: get-all-gcs-sa-export
      description: ✨ Get all GCS SA export storages
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: label-studio-subpackage-exportstorage-subpackage-exportstorage-gcssa.list
      with:
        ordering: tools.ordering
        project: tools.project
        Authorization: tools.Authorization
      outputParameters:
      - type: object
        mapping: $.
    - name: create-gcs-export-storage-sa
      description: ✨ Create GCS export storage with SA Impersonation
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: label-studio-subpackage-exportstorage-subpackage-exportstorage-gcssa.create
      with:
        Authorization: tools.Authorization
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: validate-gcs-sa-export-storage
      description: ✨ Validate GCS SA export storage
      hints:
        readOnly: true
        destructive: false
        idempotent: false
      call: label-studio-subpackage-exportstorage-subpackage-exportstorage-gcssa.validate
      with:
        Authorization: tools.Authorization
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: get-gcs-sa-export-storage
      description: ✨ Get GCS SA export storage
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: label-studio-subpackage-exportstorage-subpackage-exportstorage-gcssa.get
      with:
        id: tools.id
        Authorization: tools.Authorization
      outputParameters:
      - type: object
        mapping: $.
    - name: delete-gcs-sa-export-storage
      description: ✨ Delete GCS SA export storage
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: label-studio-subpackage-exportstorage-subpackage-exportstorage-gcssa.delete
      with:
        id: tools.id
        Authorization: tools.Authorization
      outputParameters:
      - type: object
        mapping: $.
    - name: update-gcs-sa-export-storage
      description: ✨ Update GCS SA export storage
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: label-studio-subpackage-exportstorage-subpackage-exportstorage-gcssa.update
      with:
        id: tools.id
        Authorization: tools.Authorization
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: sync-gcs-sa-export-storage
      description: ✨ Sync GCS SA export storage
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: label-studio-subpackage-exportstorage-subpackage-exportstorage-gcssa.sync
      with:
        id: tools.id
        Authorization: tools.Authorization
      outputParameters:
      - type: object
        mapping: $.