---
updatedAt: 2026-02-04T17:12:42.000Z
agentTools:
  projectIndex: https://developer.intellistack.com/llms.txt
---

# Find datasets grouped by entity ID.

# OpenAPI definition

```json
{
  "components": {
    "schemas": {
      "BasicIntegrationInfo": {
        "properties": {
          "capabilities": {
            "$ref": "#/components/schemas/CapabilitiesEnvelope",
            "description": "Integration field capabilities"
          },
          "id": {
            "description": "The unique identifier of the integration.",
            "format": "uuid",
            "type": "string"
          },
          "integrationDescription": {
            "description": "A description of the integration.",
            "type": "string"
          },
          "integrationName": {
            "description": "The name of the integration.",
            "type": "string"
          },
          "integrationType": {
            "description": "The type of the integration.",
            "type": "string"
          },
          "serviceProvider": {
            "description": "The service provider of the integration.",
            "type": "string"
          },
          "status": {
            "description": "The current status of the integration.",
            "type": "string"
          }
        },
        "type": "object"
      },
      "CapabilitiesEnvelope": {
        "description": "Integration capabilities for field operators",
        "properties": {
          "searchOperators": {
            "additionalProperties": {
              "items": {
                "type": "string"
              },
              "type": "array"
            },
            "description": "Map of field types to supported comparison operators",
            "type": "object"
          }
        },
        "type": "object"
      },
      "DataSet": {
        "properties": {
          "capabilities": {
            "$ref": "#/components/schemas/CapabilitiesEnvelope",
            "description": "Integration field capabilities"
          },
          "createdAt": {
            "description": "The timestamp when the data set was created.",
            "format": "date-time",
            "type": "string"
          },
          "createdByUserId": {
            "description": "The ID of the user who created the data set.",
            "format": "uuid",
            "type": "string"
          },
          "dataTags": {
            "description": "Tags associated with the data set. This is set when you save the data set.",
            "items": {
              "format": "string"
            },
            "type": "array"
          },
          "deletedAt": {
            "format": "date-time",
            "type": "string"
          },
          "descriptor": {
            "description": "A detailed description of the data set.",
            "type": "string"
          },
          "entityAllowList": {
            "description": "List of allowed entity IDs. This is set when you save the data set.",
            "items": {
              "format": "uuid",
              "type": "string"
            },
            "type": "array"
          },
          "entityFieldOverrides": {
            "description": "Per-field capability pins that override source truth for writable, searchable, sortable, and required-on-insert. scalarType is observe-only in this release (no manual type pin). Overrides are advisory: they shape effective capabilities on the field-assertions read API and are not enforced on write-out or traversal. Requires assertion rows: include entityFieldSelections on create, or use a dataset with an existing selection baseline. Legacy all-fields datasets must supply the owning entityId per override group. Omitted properties defer to catalog reconciliation. On PUT, replaces the full override set. A writable pin on a field that entityFieldPermissions restricts, or used to restrict before this request dropped it, is rebuilt from those permissions, because such a pin may have been derived from them rather than set here. Re-send that field in entityFieldOverrides to keep its pin. Fields no permission has ever named keep their pins, and searchable, sortable, and requiredOnInsert pins are never affected by permissions. This property is omitted from responses, rather than returned empty, when capability pinning is not enabled for the organization, and is not returned by list endpoints.\n",
            "items": {
              "$ref": "#/components/schemas/EntityFieldOverrides"
            },
            "type": "array"
          },
          "entityFieldPermissions": {
            "description": "Permissions for entity fields in the data set.",
            "items": {
              "$ref": "#/components/schemas/EntityFieldPermissions"
            },
            "type": "array"
          },
          "entityFieldSelections": {
            "description": "List of selected fields per entity for this data set. On PUT, omitting this field leaves existing selections unchanged for entities still in the dataset; selections for entities no longer in the recomputed allow list are pruned. Send an empty array to clear all selections and revert to legacy all-fields mode.\n",
            "items": {
              "$ref": "#/components/schemas/EntityFieldSelection"
            },
            "type": "array"
          },
          "entityGraphId": {
            "description": "(deprecated) The entity graph associated with this data set. New clients should use integrationId instead.",
            "format": "uuid",
            "type": "string"
          },
          "hasExplicitFieldSelection": {
            "description": "True if the dataset has an explicit field selection subset saved.",
            "readOnly": true,
            "type": "boolean"
          },
          "id": {
            "description": "The unique identifier of the data set.",
            "format": "uuid",
            "type": "string"
          },
          "integrationId": {
            "description": "The primary integration associated with this data set.",
            "format": "uuid",
            "type": "string"
          },
          "integrationIds": {
            "description": "Set of integration IDs used in this data-set.",
            "items": {
              "format": "uuid",
              "type": "string"
            },
            "type": "array",
            "uniqueItems": true
          },
          "integrations": {
            "default": null,
            "description": "List of integrations used in this data-set",
            "items": {
              "$ref": "#/components/schemas/BasicIntegrationInfo"
            },
            "nullable": true,
            "type": "array"
          },
          "invalidated": {
            "description": "Data set has been invalidated. An invalidated data set cannot be activated, a data set becomes invalidated if the underlying datasource schema is changed.",
            "type": "boolean"
          },
          "issues": {
            "default": null,
            "description": "Unresolved dataset issues for Dataset Repair. Returned only when include contains issues. workflowUsage and sessionCounts are included on each issue only when explicitly requested.\n",
            "items": {
              "$ref": "#/components/schemas/DataSetIssue"
            },
            "nullable": true,
            "type": "array"
          },
          "label": {
            "description": "A label for identifying the data set.",
            "type": "string"
          },
          "linkAliases": {
            "description": "Collection of aliases for links in the data set. This is a transient field for FE use only.",
            "items": {
              "$ref": "#/components/schemas/LinkAlias"
            },
            "type": "array"
          },
          "openIssueCount": {
            "default": null,
            "description": "Number of unresolved dataset issues (Dataset Repair). Returned only when include contains issueSummary; null when not requested. 0 means the dataset has no open issues.\n",
            "nullable": true,
            "readOnly": true,
            "type": "integer"
          },
          "organizationId": {
            "description": "The organization that owns this data set.",
            "format": "uuid",
            "type": "string"
          },
          "primaryEntityAlias": {
            "description": "An alias for the primary entity.",
            "type": "string"
          },
          "primaryEntityId": {
            "description": "The ID of the primary entity in this data set.",
            "format": "uuid",
            "type": "string"
          },
          "traversalRoute": {
            "description": "The route used for traversing the data set.",
            "items": {
              "$ref": "#/components/schemas/TraversalRoute"
            },
            "type": "array"
          }
        },
        "required": [
          "primaryEntityId"
        ],
        "type": "object"
      },
      "DataSetIssue": {
        "properties": {
          "clusterGroupId": {
            "description": "Stable presentation group id shared by every issue in the same cluster. Populated on listDataSetIssueClustersV2 responses; omitted on legacy include=issues embeds.\n",
            "format": "uuid",
            "nullable": true,
            "readOnly": true,
            "type": "string"
          },
          "datasetId": {
            "format": "uuid",
            "type": "string"
          },
          "degradedReasons": {
            "description": "Comma-separated degraded capability reasons.",
            "nullable": true,
            "type": "string"
          },
          "detectedAt": {
            "format": "date-time",
            "type": "string"
          },
          "id": {
            "format": "uuid",
            "type": "string"
          },
          "impactStatus": {
            "$ref": "#/components/schemas/DataSetIssueImpactStatus",
            "default": null,
            "description": "Present when workflowUsage and/or sessionCounts was requested; null otherwise.",
            "nullable": true
          },
          "issueType": {
            "$ref": "#/components/schemas/DataSetIssueType"
          },
          "nativeIdentifier": {
            "description": "Native identifier of the broken object (e.g. table/column API name). For field issues this follows the same latest-substitute rule as objectLabel. Null when unknown or not applicable (e.g. most relationship deletions).\n",
            "nullable": true,
            "type": "string"
          },
          "objectId": {
            "format": "uuid",
            "type": "string"
          },
          "objectLabel": {
            "description": "Display label of the broken object. For FIELD_DELETED and FIELD_METADATA_DEGRADED this is the latest FIELD substitute's label when a substitution exists, otherwise the workflow original's retained label. For RELATIONSHIP_DELETED this is the route linkAlias when present; otherwise null (compose display from source/target endpoint labels). Null for issues created before snapshot capture shipped, or when no retained label was available.\n",
            "nullable": true,
            "type": "string"
          },
          "organizationId": {
            "format": "uuid",
            "type": "string"
          },
          "parentId": {
            "description": "Parent entity of a field issue. After an ENTITY remap this is the live substitute entity so reconnect can list catalog fields on the renamed table. Equals the original entity when no ENTITY substitution exists.\n",
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "sessionCounts": {
            "$ref": "#/components/schemas/DataSetIssueSessionCounts",
            "default": null,
            "description": "Returned when include contains sessionCounts. Aggregated project-level session totals for projects hosting steps matched by this issue — i.e. project-scope blast radius, NOT the exact count of sessions that failed because of this issue. Per-issue impact may be over-stated when a matched project has sessions unrelated to the degraded field/link. Consumers (DS-1081/DS-1082) must treat these as project-scope impact, not exact breakage counts.\n",
            "nullable": true
          },
          "sourceEntityId": {
            "description": "Source endpoint entity id for RELATIONSHIP_DELETED issues.",
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "sourceEntityLabel": {
            "description": "Create-time label of the relationship source entity.",
            "nullable": true,
            "type": "string"
          },
          "sourceEntityNativeIdentifier": {
            "description": "Create-time native identifier of the relationship source entity.",
            "nullable": true,
            "type": "string"
          },
          "targetEntityId": {
            "description": "Target endpoint entity id for RELATIONSHIP_DELETED issues.",
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "targetEntityLabel": {
            "description": "Create-time label of the relationship target entity.",
            "nullable": true,
            "type": "string"
          },
          "targetEntityNativeIdentifier": {
            "description": "Create-time native identifier of the relationship target entity.",
            "nullable": true,
            "type": "string"
          },
          "workflowUsage": {
            "default": null,
            "description": "Returned when include contains workflowUsage.",
            "items": {
              "$ref": "#/components/schemas/DataSetIssueWorkflowUsage"
            },
            "nullable": true,
            "type": "array"
          }
        },
        "required": [
          "id",
          "datasetId",
          "organizationId",
          "issueType",
          "objectId",
          "detectedAt"
        ],
        "type": "object"
      },
      "DataSetIssueEnrichmentStatus": {
        "description": "Whether workflowUsage or sessionCounts enrichment completed without upstream failure. COMPLETE does not guarantee exact counts. UNAVAILABLE means fail-open degradation — empty/zero values are not \"no impact\".\n",
        "enum": [
          "COMPLETE",
          "UNAVAILABLE"
        ],
        "type": "string"
      },
      "DataSetIssueImpactStatus": {
        "description": "Dataset-scoped enrichment completeness; identical on every issue in the response. Null sub-fields when the corresponding include was not requested.\n",
        "properties": {
          "sessionCounts": {
            "$ref": "#/components/schemas/DataSetIssueEnrichmentStatus",
            "nullable": true
          },
          "workflowUsage": {
            "$ref": "#/components/schemas/DataSetIssueEnrichmentStatus",
            "nullable": true
          }
        },
        "type": "object"
      },
      "DataSetIssueSessionCounts": {
        "properties": {
          "errorSessions": {
            "format": "int64",
            "type": "integer"
          },
          "totalSessions": {
            "format": "int64",
            "type": "integer"
          }
        },
        "type": "object"
      },
      "DataSetIssueType": {
        "enum": [
          "ENTITY_DELETED",
          "FIELD_DELETED",
          "RELATIONSHIP_DELETED",
          "FIELD_METADATA_DEGRADED"
        ],
        "type": "string"
      },
      "DataSetIssueWorkflowUsage": {
        "properties": {
          "parentWorkflowId": {
            "description": "Parent workflow id (workflow.id) owning the version in workflowId. This is the id\ncarried by workflow lifecycle events. Nullable while Workflows deployments that do not\nreport it are still in rotation.\n",
            "format": "uuid",
            "type": "string"
          },
          "projectId": {
            "format": "uuid",
            "type": "string"
          },
          "requiresSearchable": {
            "type": "boolean"
          },
          "requiresSortable": {
            "type": "boolean"
          },
          "requiresWritable": {
            "type": "boolean"
          },
          "stepId": {
            "format": "uuid",
            "type": "string"
          },
          "stepType": {
            "type": "string"
          },
          "workflowId": {
            "description": "Workflow VERSION id (step.workflow_id). Kept as-is for backwards compatibility with\nexisting consumers; a rename is deferred to DS-1207 / DS-1205.\n",
            "format": "uuid",
            "type": "string"
          }
        },
        "type": "object"
      },
      "EntityFieldOverrides": {
        "properties": {
          "entityId": {
            "description": "The ID of the entity these overrides apply to.",
            "format": "uuid",
            "type": "string"
          },
          "fieldOverrides": {
            "items": {
              "$ref": "#/components/schemas/FieldCapabilityOverride"
            },
            "type": "array"
          }
        },
        "required": [
          "entityId",
          "fieldOverrides"
        ],
        "type": "object"
      },
      "EntityFieldPermissions": {
        "properties": {
          "entityId": {
            "description": "The ID of the entity these permissions apply to.",
            "format": "uuid",
            "nullable": false,
            "type": "string"
          },
          "fieldPermissions": {
            "description": "List of field-level permissions.",
            "items": {
              "$ref": "#/components/schemas/FieldPermission"
            },
            "nullable": false,
            "type": "array"
          }
        },
        "required": [
          "entityId",
          "fieldPermissions"
        ],
        "type": "object"
      },
      "EntityFieldSelection": {
        "properties": {
          "entityId": {
            "description": "The ID of the entity.",
            "format": "uuid",
            "type": "string"
          },
          "fieldIds": {
            "description": "The IDs of the fields selected for this entity.",
            "items": {
              "format": "uuid",
              "type": "string"
            },
            "minItems": 1,
            "type": "array"
          }
        },
        "required": [
          "entityId",
          "fieldIds"
        ],
        "type": "object"
      },
      "FieldCapabilityOverride": {
        "description": "A manual pin on a field's capabilities. Pins are limited to writable, searchable, sortable and requiredOnInsert; scalar type is observed from the source and cannot be pinned.",
        "properties": {
          "fieldId": {
            "description": "The ID of the field being pinned.",
            "format": "uuid",
            "type": "string"
          },
          "requiredOnInsert": {
            "description": "When present, pins required-on-insert. Absent means defer to source truth.",
            "type": "boolean"
          },
          "searchable": {
            "description": "When present, pins searchability. Absent means defer to source truth.",
            "type": "boolean"
          },
          "sortable": {
            "description": "When present, pins sortability. Absent means defer to source truth.",
            "type": "boolean"
          },
          "writable": {
            "description": "When present, pins writability. Absent means defer to source truth.",
            "type": "boolean"
          }
        },
        "required": [
          "fieldId"
        ],
        "type": "object"
      },
      "FieldPermission": {
        "properties": {
          "fieldId": {
            "description": "The ID of the field this permission applies to.",
            "format": "uuid",
            "nullable": false,
            "type": "string"
          },
          "writeMode": {
            "$ref": "#/components/schemas/FieldWriteMode"
          }
        },
        "required": [
          "fieldId",
          "writeMode"
        ],
        "type": "object"
      },
      "FieldWriteMode": {
        "description": "Available write permission modes for fields. FULL allows insertion and updates. NONE indicates the field is read only.",
        "enum": [
          "FULL",
          "NONE"
        ],
        "nullable": false,
        "type": "string"
      },
      "LinkAlias": {
        "properties": {
          "alias": {
            "description": "The alias name for the link.",
            "type": "string"
          },
          "linkHash": {
            "description": "The hash of the link being aliased.",
            "type": "string"
          },
          "linkId": {
            "description": "The ID of the link being aliased.",
            "format": "uuid",
            "type": "string"
          }
        },
        "type": "object"
      },
      "TraversalMode": {
        "default": "GRAPH",
        "enum": [
          "GRAPH"
        ],
        "nullable": false,
        "type": "string"
      },
      "TraversalRoute": {
        "properties": {
          "entityId": {
            "description": "The ID of the entity in the traversal route.",
            "format": "uuid",
            "type": "string"
          },
          "linkAlias": {
            "description": "An alias for the link in the route.",
            "type": "string"
          },
          "linkHash": {
            "description": "The hash of the link in the traversal route.",
            "type": "string"
          },
          "linkId": {
            "description": "The ID of the link in the traversal route.",
            "format": "uuid",
            "type": "string"
          },
          "links": {
            "description": "Nested links in the traversal route.",
            "items": {
              "$ref": "#/components/schemas/TraversalRoute"
            },
            "type": "array"
          },
          "traversalMode": {
            "$ref": "#/components/schemas/TraversalMode"
          }
        },
        "required": [
          "linkId",
          "entityId"
        ],
        "type": "object"
      }
    },
    "securitySchemes": {
      "bearerAuth": {
        "bearerFormat": "JWT",
        "scheme": "bearer",
        "type": "http"
      }
    }
  },
  "info": {
    "title": "Data Activation",
    "version": "0.0.0"
  },
  "openapi": "3.1.0",
  "paths": {
    "/v1/activation/dataset/batch": {
      "post": {
        "operationId": "getDataSetsBatchByEntityIdsV2",
        "parameters": [
          {
            "description": "Include additional information",
            "in": "query",
            "name": "include",
            "schema": {
              "items": {
                "enum": [
                  "integrations",
                  "issueSummary"
                ],
                "type": "string"
              },
              "type": "array",
              "uniqueItems": true
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "items": {
                  "format": "uuid",
                  "type": "string"
                },
                "type": "array"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": {
                    "items": {
                      "$ref": "#/components/schemas/DataSet"
                    },
                    "type": "array"
                  },
                  "type": "object"
                }
              }
            },
            "description": "Map of entity IDs to their respective datasets."
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "summary": "Find datasets grouped by entity ID.",
        "tags": [
          "Dataset"
        ]
      }
    }
  },
  "servers": [
    {
      "description": "US Production Server",
      "url": "https://api-us.streamline.intellistack.ai"
    },
    {
      "description": "Canada Production Server",
      "url": "https://api-ca.streamline.intellistack.ai"
    }
  ],
  "tags": [
    {
      "description": "v2 Data set related endpoints",
      "name": "Dataset"
    }
  ]
}
```