---
title: "List tool set events"
method: GET
path: "/v1/workspaces/{workspaceId}/tool_sets/{toolSetId}/events"
tags: ["ToolService", "Tool Sets"]
---

# List tool set events

`GET /v1/workspaces/{workspaceId}/tool_sets/{toolSetId}/events`

Lists all events (including sync status) for a tool set

## Path parameters

- `workspaceId` string, required
- `toolSetId` string, required

## Query parameters

- `limit` integer
- `cursor` string
- `sortOrder` string
- `includeInfo` boolean
- `labels` string

## Response `200`

OK

- ListToolSetEventsResponse
  - `items` ToolSetEvent[]
    - `metadata` OperationMetadata, required — Metadata for ephemeral operations and activities (e.g., objectives, executions, runs)
      - `id` string, required — Unique identifier for the operation (prefixed ULID, e.g., "obj_01HXK...")
      - `accountId` string, required — Account this operation belongs to for multi-tenant isolation (prefixed ULID)
      - `workspaceId` string, required — Workspace this operation belongs to for organizational grouping (prefixed ULID)
      - `labels` object — Key-value pairs for categorization and filtering. Values are 0-63 alphanumeric characters with "-", "_", or "." allowed between; keys follow the same shape and additionally accept an optional DNS-subdomain prefix (e.g. "cadenya.com/") of at most 253 characters. Examples: {"priority": "high", "source": "api", "workflow": "onboarding"}
      - `createdAt` string, date-time, required — Timestamp when this operation was created ULID includes timestamp information, but this explicit field enables easier querying
      - `externalId` string — External ID for the operation (e.g., a workflow ID from an external system)
      - `profileId` string, required — ID of the actor (user or service account) that created this operation
    - `toolSetId` string — The tool set this event is associated with.
    - `event` union — Event payload for a tool set operation.
      - ToolSetEventDataSyncStarted
        - `type` 'syncStarted', required
        - `syncStarted` SyncStarted, required — Emitted when a tool set sync operation begins.
          - `message` string — Human-readable message describing the start of the sync.
      - ToolSetEventDataSyncCompleted
        - `type` 'syncCompleted', required
        - `syncCompleted` SyncCompleted, required — Emitted when a tool set sync operation completes successfully.
          - `toolsSynced` integer — Number of tools synced.
          - `message` string — Optional message with additional details.
      - ToolSetEventDataSyncFailed
        - `type` 'syncFailed', required
        - `syncFailed` SyncFailed, required — Emitted when a tool set sync operation fails.
          - `error` boolean — Indicates this is an error event.
          - `message` string — Error message describing what went wrong.
          - `errorType` string — Optional error type/code for programmatic handling.
    - `info` ToolSetEventInfo
      - `toolSet` ResourceMetadata — Standard metadata for persistent, named resources (e.g., agents, tools, prompts)
        - `id` string, required — Unique identifier for the resource (prefixed ULID, e.g., "agent_01HXK...")
        - `accountId` string, required — Account this resource belongs to for multi-tenant isolation (prefixed ULID)
        - `workspaceId` string, required — Workspace this resource belongs to for organizational grouping (prefixed ULID)
        - `name` string, required — Human-readable name for the resource (e.g., "Customer Support Agent", "Email Tool") Required for resources that users interact with directly
        - `externalId` string — External ID for the resource (e.g., a workflow ID from an external system)
        - `labels` object — Key-value pairs for categorization and filtering. Values are 0-63 alphanumeric characters with "-", "_", or "." allowed between; keys follow the same shape and additionally accept an optional DNS-subdomain prefix (e.g. "cadenya.com/") of at most 253 characters. Examples: {"environment": "production", "team": "platform", "version": "v2"}
        - `profileId` string, required — ID of the actor (user or service account) that created this resource
        - `createdAt` string, date-time, required — Timestamp when this resource was created
        - `updatedAt` string, date-time — Timestamp when this resource was last updated
      - `createdBy` Profile — A profile identifies a user or non-human principal (such as an API key) at the account level. Profiles are account-scoped and can be granted access to multiple workspaces.
        - `metadata` AccountResourceMetadata, required — AccountResourceMetadata is used to represent a resource that is associated to an account but not to a workspace.
          - `id` string, required — Unique identifier for the resource (prefixed ULID, e.g., "apikey_01HXK...")
          - `accountId` string, required — Account this resource belongs to for multi-tenant isolation (prefixed ULID)
          - `name` string, required — Human-readable name for the resource (e.g., "Customer Support Agent", "Email Tool") Required for resources that users interact with directly
          - `externalId` string — External ID for the resource (e.g., a workflow ID from an external system)
          - `labels` object — Key-value pairs for categorization and filtering. Values are 0-63 alphanumeric characters with "-", "_", or "." allowed between; keys follow the same shape and additionally accept an optional DNS-subdomain prefix (e.g. "cadenya.com/") of at most 253 characters. Examples: {"environment": "production", "team": "platform", "version": "v2"}
          - `profileId` string, required
          - `createdAt` string, date-time
        - `spec` ProfileSpec, required — Configuration for a profile.
          - `email` string — Email address of the profile. Required and unique within an account for user profiles.
          - `name` string — Display name (e.g., "Bobby Tables").
          - `type` 'PROFILE_TYPE_UNSPECIFIED' | 'PROFILE_TYPE_USER' | 'PROFILE_TYPE_API_KEY' | 'PROFILE_TYPE_SYSTEM', enum, required — Whether this profile represents a human user, an API key, or a system principal.
  - `pagination` Page — Page carries cursor-based pagination state. There is no total: the cursor walks the result set without ever counting it, and a count would cost a second query on every list.
    - `nextCursor` string

## Other responses

- `default` — Default error response

## Changes

- **2026-07-19** `3ecc1debabfa` — 2 breaking, 4 warning, 1 info
  - added `#/components/schemas/ToolSetEventData_SyncStarted, #/components/schemas/ToolSetEventData_SyncCompleted, #/components/schemas/ToolSetEventData_SyncFailed` to the `items/items/event/allOf[#/components/schemas/ToolSetEventData]/` response property `oneOf` list for the response status `200`
  - the `items/items/event/allOf[#/components/schemas/ToolSetEventData]/` response's property type/format changed from `object`/`` to ``/`` for status `200`
  - removed the optional property `items/items/event/allOf[#/components/schemas/ToolSetEventData]/syncCompleted` from the response with the `200` status
  - removed the optional property `items/items/event/allOf[#/components/schemas/ToolSetEventData]/syncFailed` from the response with the `200` status
  - …3 more
- **2026-07-08** `a99a473ee3ad` — 1 warning
  - removed the optional property `pagination/total` from the response with the `200` status
- **2026-07-08** `e72f368ddab7` — 1 info
  - added the new optional `query` request parameter `labels`
- **2026-07-02** `06e0e37c1499` — 1 warning, 1 info
  - removed the optional property `items/items/info/toolSet/bundleKey` from the response with the `200` status
  - added the optional property `items/items/info/createdBy/metadata/createdAt` to the response with the `200` status
- …earlier changes not shown

[Full history](https://skmtc.dev/cadenya/apis/cadenya-api/changes/v1/workspaces/:workspaceId/tool_sets/:toolSetId/events/get.md)

---

[API](https://skmtc.dev/cadenya/apis/cadenya-api.md) · [All operations](https://skmtc.dev/cadenya/apis/cadenya-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/cadenya/cadenya-api/revisions/ac1a7f084068/schema)
