Apache Pig Jobs API

The Jobs API from Apache Pig — 3 operation(s) for jobs.

Operations 5

GET /jobs Apache Pig List Jobs #
POST /jobs Apache Pig Submit Job #
GET /jobs/{jobId} Apache Pig Get Job #
DELETE /jobs/{jobId} Apache Pig Kill Job #
GET /jobs/{jobId}/logs Apache Pig Get Job Logs #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/apache-pig-jobs-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

apache-pig-jobs-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Apache Pig Jobs API
  description: Apache Pig is a platform for analyzing large data sets using Pig Latin, a high-level scripting language that compiles to MapReduce/Tez jobs. This API represents the Pig REST service for job submission and management.
  version: 0.17.0
  license:
    name: Apache 2.0
    url: https://www.apache.org/licenses/LICENSE-2.0
  contact:
    url: https://pig.apache.org/
servers:
- url: https://{host}/pig
  variables:
    host:
      default: localhost:8080
tags:
- name: Jobs
paths:
  /jobs:
    get:
      operationId: listJobs
      summary: Apache Pig List Jobs
      description: List all Pig jobs with their status and execution details.
      tags:
      - Jobs
      parameters:
      - name: status
        in: query
        schema:
          type: string
          enum:
          - submitted
          - running
          - succeeded
          - failed
          - killed
        description: Filter by job status
      - name: limit
        in: query
        schema:
          type: integer
          default: 20
        description: Maximum number of jobs to return
      responses:
        '200':
          description: List of jobs
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/JobList'
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
    post:
      operationId: submitJob
      summary: Apache Pig Submit Job
      description: Submit a Pig Latin script for execution.
      tags:
      - Jobs
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/JobRequest'
      responses:
        '201':
          description: Job submitted
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Job'
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
  /jobs/{jobId}:
    get:
      operationId: getJob
      summary: Apache Pig Get Job
      description: Get details and status of a specific Pig job.
      tags:
      - Jobs
      parameters:
      - $ref: '#/components/parameters/jobId'
      responses:
        '200':
          description: Job details
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Job'
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
    delete:
      operationId: killJob
      summary: Apache Pig Kill Job
      description: Kill a running Pig job.
      tags:
      - Jobs
      parameters:
      - $ref: '#/components/parameters/jobId'
      responses:
        '200':
          description: Job killed
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
  /jobs/{jobId}/logs:
    get:
      operationId: getJobLogs
      summary: Apache Pig Get Job Logs
      description: Get execution logs for a Pig job.
      tags:
      - Jobs
      parameters:
      - $ref: '#/components/parameters/jobId'
      responses:
        '200':
          description: Job logs
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/JobLogs'
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
components:
  parameters:
    jobId:
      name: jobId
      in: path
      required: true
      schema:
        type: string
      description: Job identifier
      example: job_20260419_001
  schemas:
    Job:
      type: object
      properties:
        jobId:
          type: string
          example: job_20260419_001
        name:
          type: string
          example: sales-analysis
        status:
          type: string
          enum:
          - submitted
          - running
          - succeeded
          - failed
          - killed
          example: running
        submittedAt:
          type: string
          format: date-time
          example: '2026-04-19T10:00:00Z'
        startedAt:
          type: string
          format: date-time
          example: '2026-04-19T10:01:00Z'
        completedAt:
          type: string
          format: date-time
        executionEngine:
          type: string
          enum:
          - mapreduce
          - tez
          - local
          example: tez
        progress:
          type: number
          description: Progress percentage 0-100
          example: 45.5
    JobLogs:
      type: object
      properties:
        jobId:
          type: string
          example: job_20260419_001
        logs:
          type: array
          items:
            type: string
          example:
          - 2026-04-19 10:00:00 INFO Pig script started
    JobRequest:
      type: object
      required:
      - script
      properties:
        script:
          type: string
          description: Pig Latin script content
          example: 'A = LOAD ''data.csv'' USING PigStorage('','');

            B = FILTER A BY $0 > 100;

            STORE B INTO ''output'';'
        name:
          type: string
          description: Job name
          example: sales-analysis
        executionEngine:
          type: string
          enum:
          - mapreduce
          - tez
          - local
          default: tez
        parameters:
          type: object
          additionalProperties:
            type: string
          description: Script parameters as key-value pairs
    JobList:
      type: object
      properties:
        jobs:
          type: array
          items:
            $ref: '#/components/schemas/Job'
        total:
          type: integer
          example: 5
x-generated-from: documentation