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

# Get Job Metadata Summary

> Get the parts of a job's ``metadata`` a UI reads, projected server-side.

The blob is stored in the private ``job-files`` bucket rather than on the
job row, and no client has storage grants of its own, so this endpoint is
how it is read. Only ``JOB_METADATA_CLIENT_KEYS`` come back — the rest is
worker-sized and would be discarded. The response is sanitised
(``NaN``/``Infinity`` become ``null``) and is therefore always valid JSON.

Returns ``{}`` — not 404 — while the blob has not been written yet, so a
caller polling a running job sees an empty object rather than an error.
``GET /jobs/{job_id}/metadata`` remains the whole-blob, 404-on-missing form
for scripted clients.



## OpenAPI

````yaml https://api.ionworks.com/openapi.json get /jobs/{job_id}/metadata_summary
openapi: 3.1.0
info:
  title: FastAPI
  version: 0.1.0
servers:
  - url: https://api.ionworks.com
    description: Production
security: []
paths:
  /jobs/{job_id}/metadata_summary:
    get:
      tags:
        - jobs
      summary: Get Job Metadata Summary
      description: >-
        Get the parts of a job's ``metadata`` a UI reads, projected server-side.


        The blob is stored in the private ``job-files`` bucket rather than on
        the

        job row, and no client has storage grants of its own, so this endpoint
        is

        how it is read. Only ``JOB_METADATA_CLIENT_KEYS`` come back — the rest
        is

        worker-sized and would be discarded. The response is sanitised

        (``NaN``/``Infinity`` become ``null``) and is therefore always valid
        JSON.


        Returns ``{}`` — not 404 — while the blob has not been written yet, so a

        caller polling a running job sees an empty object rather than an error.

        ``GET /jobs/{job_id}/metadata`` remains the whole-blob, 404-on-missing
        form

        for scripted clients.
      operationId: get_job_metadata_summary_jobs__job_id__metadata_summary_get
      parameters:
        - name: job_id
          in: path
          required: true
          schema:
            type: string
            description: The ID of the job whose metadata to summarise
            title: Job Id
          description: The ID of the job whose metadata to summarise
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: >-
                  Response Get Job Metadata Summary Jobs  Job Id  Metadata
                  Summary Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError

````