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

# Get Job History Detail

> Retrieves a job history detail with its associated workflow and jobs.



## OpenAPI

````yaml /api-reference/openapi.json get /api/jobs-registry/histories/{id}
openapi: 3.0.0
info:
  title: Open Attack Surface Management
  description: Open-source platform for cybersecurity Attack Surface Management (ASM)
  version: '1.0'
  contact: {}
servers:
  - url: https://{baseUrl}/api/v1
    variables:
      baseUrl:
        default: localhost:3000
        description: API server hostname with port (e.g. localhost:3000, api.example.com)
security: []
tags: []
externalDocs:
  description: Authentication Docs
  url: auth/docs
paths:
  /api/jobs-registry/histories/{id}:
    get:
      tags:
        - JobsRegistry
      summary: Get Job History Detail
      description: Retrieves a job history detail with its associated workflow and jobs.
      operationId: JobsRegistryController_getJobHistoryDetail
      parameters:
        - name: id
          required: true
          in: path
          schema:
            type: string
        - name: X-Workspace-Id
          in: header
          description: Workspace ID
          schema:
            type: string
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/JobHistoryDetailResponseDto'
                allOf:
                  - $ref: '#/components/schemas/AppResponseSerialization'
components:
  schemas:
    JobHistoryDetailResponseDto:
      type: object
      properties:
        id:
          type: string
        createdAt:
          format: date-time
          type: string
        updatedAt:
          format: date-time
          type: string
        tools:
          type: array
          items:
            $ref: '#/components/schemas/ToolWithStatusDto'
        workflowName:
          type: string
        jobHistoryName:
          type: string
      required:
        - id
        - createdAt
        - updatedAt
        - tools
        - workflowName
        - jobHistoryName
    ToolWithStatusDto:
      type: object
      properties:
        id:
          type: string
        createdAt:
          format: date-time
          type: string
        updatedAt:
          format: date-time
          type: string
        name:
          type: string
        description:
          type: string
        command:
          type: string
        category:
          type: string
          enum:
            - subdomains
            - http_probe
            - ports_scanner
            - vulnerabilities
            - screenshot
            - classifier
            - assistant
        version:
          type: string
        logoUrl:
          type: string
        isBuiltIn:
          type: boolean
        isInstalled:
          type: boolean
        isOfficialSupport:
          type: boolean
        type:
          type: string
          enum:
            - built_in
            - provider
        providerId:
          type: string
        priority:
          type: number
          enum:
            - 0
            - 1
            - 2
            - 3
            - 4
        availableWorkersCount:
          type: number
        status:
          type: string
          enum:
            - pending
            - in_progress
            - completed
            - failed
            - cancelled
            - skipped
      required:
        - id
        - createdAt
        - updatedAt
        - name
        - description
        - command
        - category
        - version
        - logoUrl
        - isBuiltIn
        - isInstalled
        - isOfficialSupport
        - type
        - providerId
        - priority
        - availableWorkersCount
        - status

````