Phrase · Capability

Phrase Strings API Reference — Upload Batches

Phrase Strings API Reference — Upload Batches. 1 operations. Lead operation: Create upload batch. Self-contained Naftiko capability covering one Phrase business surface.

Run with Naftiko PhraseUpload Batches

What You Can Do

POST
Uploadbatchescreate — Create upload batch
/v1/projects/{project-id}/upload-batches

MCP Tools

create-upload-batch

Create upload batch

Capability Spec

strings-upload-batches.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Phrase Strings API Reference — Upload Batches
  description: 'Phrase Strings API Reference — Upload Batches. 1 operations. Lead operation: Create upload batch. Self-contained
    Naftiko capability covering one Phrase business surface.'
  tags:
  - Phrase
  - Upload Batches
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    PHRASE_API_KEY: PHRASE_API_KEY
capability:
  consumes:
  - type: http
    namespace: strings-upload-batches
    baseUri: https://api.phrase.com/v2
    description: Phrase Strings API Reference — Upload Batches business capability. Self-contained, no shared references.
    resources:
    - name: projects-project_id-upload_batches
      path: /projects/{project_id}/upload_batches
      operations:
      - name: uploadbatchescreate
        method: POST
        description: Create upload batch
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: apikey
      key: Authorization
      value: '{{env.PHRASE_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: strings-upload-batches-rest
    port: 8080
    description: REST adapter for Phrase Strings API Reference — Upload Batches. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/projects/{project-id}/upload-batches
      name: projects-project-id-upload-batches
      description: REST surface for projects-project_id-upload_batches.
      operations:
      - method: POST
        name: uploadbatchescreate
        description: Create upload batch
        call: strings-upload-batches.uploadbatchescreate
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: strings-upload-batches-mcp
    port: 9090
    transport: http
    description: MCP adapter for Phrase Strings API Reference — Upload Batches. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: create-upload-batch
      description: Create upload batch
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: strings-upload-batches.uploadbatchescreate
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.