> ## Documentation Index
> Fetch the complete documentation index at: https://help.lobyco.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Post v1 jobs jobid batch

> Upload your data file for an existing job. Supports CSV, JSONL.



## OpenAPI

````yaml openapi/dataimport-v1.json POST /v1/Jobs/{jobId}/batch
openapi: 3.0.1
info:
  title: DataImport.Api
  version: v1
servers:
  - url: https://{host}/dataimport
    description: Your Lobyco environment
    variables:
      host:
        default: your-environment.lobyco.net
        description: >-
          The API host for your Lobyco environment. Replace it with the host you
          were given — this placeholder does not resolve.
security:
  - Bearer: []
paths:
  /v1/Jobs/{jobId}/batch:
    post:
      tags:
        - Service2Service
      description: Upload your data file for an existing job. Supports CSV, JSONL.
      parameters:
        - name: jobId
          in: path
          required: true
          schema:
            type: string
      requestBody:
        content:
          multipart/form-data:
            schema:
              type: object
              properties:
                file:
                  type: string
                  format: binary
            encoding:
              file:
                style: form
      responses:
        '202':
          description: Accepted
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/ImportJobStateResponse'
            application/json:
              schema:
                $ref: '#/components/schemas/ImportJobStateResponse'
            text/json:
              schema:
                $ref: '#/components/schemas/ImportJobStateResponse'
        '400':
          description: Bad Request
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/WebServiceError'
            application/json:
              schema:
                $ref: '#/components/schemas/WebServiceError'
            text/json:
              schema:
                $ref: '#/components/schemas/WebServiceError'
        '404':
          description: Not Found
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/WebServiceError'
            application/json:
              schema:
                $ref: '#/components/schemas/WebServiceError'
            text/json:
              schema:
                $ref: '#/components/schemas/WebServiceError'
components:
  schemas:
    ImportJobStateResponse:
      type: object
      properties:
        jobId:
          type: string
          nullable: true
        status:
          $ref: '#/components/schemas/ImportJobState'
      additionalProperties: false
    WebServiceError:
      required:
        - message
        - name
      type: object
      properties:
        name:
          minLength: 1
          type: string
        message:
          minLength: 1
          type: string
        details:
          nullable: true
      additionalProperties: false
    ImportJobState:
      enum:
        - Created
        - Pending
        - Queued
        - Started
        - Done
      type: string
  securitySchemes:
    Bearer:
      type: apiKey
      description: >-
        JWT Authorization header using the Bearer scheme. Example: "Bearer
        {token}"
      name: Authorization
      in: header

````