---
updatedAt: 2026-01-15T10:00:38.000Z
agentTools:
  projectIndex: https://workduo.readme.io/llms.txt
---

# Get Job

Retrieve a job by its ID.

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "title": "Workduo Core API",
    "version": "1.0.6",
    "description": "API for managing and retrieve core objects in Workduo such as query, responses and citaiton."
  },
  "servers": [
    {
      "url": "https://api.workduo.ai/core/v1"
    }
  ],
  "paths": {
    "/jobs/{id}": {
      "get": {
        "summary": "Get Job",
        "description": "Retrieve a job by its ID.",
        "operationId": "get_jobs{id}",
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string",
                      "description": "Job ID"
                    },
                    "state": {
                      "type": "string"
                    },
                    "scheduledTime": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "startTime": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "endTime": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "detail": {
                      "type": "object",
                      "properties": {
                        "queries": {
                          "type": "array",
                          "items": {
                            "properties": {
                              "queryId": {
                                "type": "string"
                              },
                              "platform": {
                                "type": "string"
                              },
                              "state": {
                                "type": "string"
                              },
                              "startTime": {
                                "type": "string",
                                "format": "date-time"
                              },
                              "endTime": {
                                "type": "string",
                                "format": "date-time"
                              }
                            },
                            "type": "object",
                            "required": [
                              "queryId"
                            ]
                          }
                        }
                      }
                    }
                  },
                  "required": [
                    "id",
                    "detail"
                  ]
                },
                "examples": {
                  "Example": {
                    "summary": "Example",
                    "value": {
                      "id": "job-id-1",
                      "state": "completed",
                      "scheduledTime": "2025-10-02T09:36:21.495Z",
                      "startTime": "2025-10-02T09:36:32.380Z",
                      "endTime": "2025-10-02T09:36:32.872Z",
                      "detail": {
                        "queries": [
                          {
                            "queryId": "query-id-1",
                            "platform": "openai:chatgpt",
                            "state": "completed",
                            "startTime": "2025-10-02T09:36:44.199Z",
                            "endTime": "2025-10-02T09:37:12.300Z"
                          },
                          {
                            "queryId": "query-id-2",
                            "platform": "openai:chatgpt",
                            "state": "completed",
                            "startTime": "2025-10-02T09:36:44.199Z",
                            "endTime": "2025-10-02T09:37:12.300Z"
                          }
                        ]
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "schema": {
              "type": "string"
            },
            "required": true,
            "description": "Job ID"
          },
          {
            "in": "query",
            "name": "projectId",
            "schema": {
              "type": "string"
            },
            "description": "Project ID",
            "required": true
          }
        ],
        "security": [
          {
            "BasicAuth": []
          }
        ],
        "tags": [
          "Jobs"
        ]
      }
    }
  },
  "components": {
    "securitySchemes": {
      "BasicAuth": {
        "type": "http",
        "scheme": "basic"
      }
    }
  }
}
```