> ## 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.

# Updates the result of a job with the given worker ID.



## OpenAPI

````yaml /api-reference/openapi.json post /api/jobs-registry/{workerId}/result
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/{workerId}/result:
    post:
      tags:
        - JobsRegistry
      summary: Updates the result of a job with the given worker ID.
      operationId: JobsRegistryController_updateResult
      parameters:
        - name: workerId
          required: true
          in: path
          schema:
            type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateResultDto'
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                allOf:
                  - $ref: '#/components/schemas/AppResponseSerialization'
components:
  schemas:
    UpdateResultDto:
      type: object
      properties:
        jobId:
          type: string
        data:
          $ref: '#/components/schemas/DataPayloadResult'
      required:
        - jobId
        - data
    AppResponseSerialization:
      type: object
      properties: {}
    DataPayloadResult:
      type: object
      properties:
        error:
          type: boolean
        raw:
          type: object
        payload:
          type: object
      required:
        - error
        - raw
        - payload

````