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

# Status only; diagnosis lives on GET /v1/jobs/{id} and SSE



## OpenAPI

````yaml /api-reference/openapi.json get /v1/jobs/{id}/status
openapi: 3.1.0
info:
  description: >-
    Authenticated loopback remote execution, declarative schedules, verified
    downloads of the artifacts a settled job's sealed journal records, and
    stateless source-only authoring (POST /v1/compile never runs, admits or
    writes). Schedule list/delete/trigger/backfill, /v1/arm, and POST /v1/run
    are absent.
  title: nika serve
  version: 0.124.3
servers:
  - url: http://127.0.0.1
security:
  - bearerAuth: []
paths:
  /v1/jobs/{id}/status:
    get:
      summary: Status only; diagnosis lives on GET /v1/jobs/{id} and SSE
      parameters:
        - in: path
          name: id
          required: true
          schema:
            format: uuid
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/JobStatusOnly'
          description: Status
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
          description: Error envelope
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
          description: Error envelope
components:
  schemas:
    JobStatusOnly:
      additionalProperties: false
      description: >-
        Status only. Redacted diagnosis lives on GET /v1/jobs/{id} and SSE,
        never here.
      properties:
        status:
          $ref: '#/components/schemas/JobStatus'
      required:
        - status
      type: object
    Error:
      additionalProperties: false
      properties:
        error:
          additionalProperties: false
          properties:
            code:
              type: string
            message:
              type: string
          required:
            - code
            - message
          type: object
      required:
        - error
      type: object
    JobStatus:
      description: >-
        queued and running: the resident owns the execution. interrupted:
        execution ownership was lost and effect settlement is unknown — an
        EVIDENCE state (the journal is INCOMPLETE), never a run state (ADR-129).
        paused, succeeded, failed and cancelled: the run's own settlement, the
        words its terminal frame carries (ADR-128).
      enum:
        - queued
        - running
        - interrupted
        - paused
        - succeeded
        - failed
        - cancelled
      type: string
  securitySchemes:
    bearerAuth:
      description: 'Exactly one Authorization: Bearer value from the token file'
      scheme: bearer
      type: http

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.