---
title: "GET /api/v1/activity-history/{jobInstanceId}"
method: GET
path: "/api/v1/activity-history/{jobInstanceId}"
tags: ["activity-history-controller"]
---

# GET /api/v1/activity-history/{jobInstanceId}

`GET /api/v1/activity-history/{jobInstanceId}`

## Request

- Base URL: `https://api-docs.gosure.ai`
- URL: `https://api-docs.gosure.ai/api/v1/activity-history/{jobInstanceId}`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/gosure/apis/gosure-api/docs/api/v1/activity-history/:jobInstanceId/get.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `jobInstanceId` string, required

## Query parameters

- `pageNumber` integer
- `pageSize` integer

## Response `200`

OK

- JobInstanceActivityHistory
  - `id` string
  - `jobInstanceId` string
  - `jobTypeId` string
  - `createdTime` string
  - `jobTypeName` string
  - `activities` Activity[]
    - `userName` string
    - `userId` string
    - `userRole` string
    - `message` string
    - `title` string
    - `activityType` 'JOB_INSTANCE_CREATED' | 'JOB_INSTANCE_TRACKABLE_FIELD_UPDATED' | 'JOB_INSTANCE_WORKFLOW_CHANGED' | 'NOTE_ADDED' | 'JOB_INSTANCE_REJECTED' | 'JOB_INSTANCE_APPROVE' | 'JOB_INSTANCE_DELETED' | 'JOB_INSTANCE_RESTORED' | 'JOB_INSTANCE_UPDATED' | 'AGENTIC_HOOK_ACTIVITY' | 'AI_PROCESS'
    - `time` string
    - `causedByUser` string
    - `activityDescription` string
    - `hidden` boolean
    - `hookId` string
    - `hookName` string
    - `hookType` string
    - `currentWorkflowName` string
    - `ip` string
    - `location` string
  - `totalNumRecords` integer
  - `currentPageNumber` integer
  - `count` integer

## Other responses

- `400`: Bad Request

## Changes

- **2026-09-03** `9ba40ce63f15`: 1 warning
  - added the new `AI_PROCESS` enum value to the `activities/items/activityType` response property for the response status `200`

[Operation history](https://skmtc.dev/gosure/apis/gosure-api/changes/api/v1/activity-history/:jobInstanceId/get.md)

---

[API](https://skmtc.dev/gosure/apis/gosure-api.md) - [All operations](https://skmtc.dev/gosure/apis/gosure-api/llms.txt) - [OpenAPI document](https://skmtc.dev/gosure/apis/gosure-api/revisions/854c83fbb507?raw)
