API Reference / Knowledge - Artifacts
Get artifact scope counts
get
https://api.intelig.ai/api/v1/intelig/knowledge/artifacts/scope/counts
Auth: Authorization: ApiKey <key> (an API key sent as
Bearer is rejected) or Authorization: Bearer <jwt>
for a dashboard session. operationId: getArtifactScopeCounts
Returns counts of accessible artifacts grouped by scope type (total, organization, personal), optionally filtered by date range and provider.
Example request
curl -X GET "https://api.intelig.ai/api/v1/intelig/knowledge/artifacts/scope/counts" \
-H "Authorization: ApiKey $INTELIG_API_KEY" Query parameters
| Name | Type | Required | Description |
|---|---|---|---|
from | string (date) | no | — |
to | string (date) | no | — |
provider | string | no | — |
Response 200
application/json · ApiResponseScopeCountsDto
| Field | Type | Description |
|---|---|---|
success | boolean | — |
message | string | — |
data | ScopeCountsDto | — |
Status codes
200— Scope counts returned successfully401— Organization context not set or user not authenticated403— Insufficient permissions for Knowledge pillar429— —
Every response is wrapped in { success, message, data }. A 4xx means the request
is wrong — do not retry it unchanged. A 429 carries Retry-After in seconds.