Query
query SourcesList {
sourcesList {
catalogAsset {
assetType
createdAt
description
descriptions {
description
origin
}
externalTags {
createdAt
id
key
origin
updatedAt
value
}
id
}
createdAt
credential {
createdAt
id
name
namespace {
apiKeys {
__typename
}
avatar
avatarThumbnail
createdAt
description
id
}
resourceName
updatedAt
}
description
filters {
createdAt
id
name
namespace {
apiKeys {
__typename
}
avatar
avatarThumbnail
createdAt
description
id
}
resourceName
source {
__typename
}
}
id
}
}Response
{
"data": {
"sourcesList": [
{
"catalogAsset": {
"assetType": "DASHBOARD",
"createdAt": "value",
"description": "string",
"descriptions": [
{
"description": "string",
"origin": "CATALOG_REFRESH"
}
],
"externalTags": [
{
"createdAt": "value",
"id": "value",
"key": "string",
"origin": "CATALOG_REFRESH",
"updatedAt": "value",
"value": "string"
}
],
"id": "value"
},
"createdAt": "value",
"credential": {
"createdAt": "value",
"id": "value",
"name": "string",
"namespace": {
"apiKeys": [
{
"__typename": "ApiKeyRole"
}
],
"avatar": "value",
"avatarThumbnail": "value",
"createdAt": "value",
"description": "string",
"id": "value"
},
"resourceName": "string",
"updatedAt": "value"
},
"description": "string",
"filters": [
{
"createdAt": "value",
"id": "value",
"name": "string",
"namespace": {
"apiKeys": [
{
"__typename": "ApiKeyRole"
}
],
"avatar": "value",
"avatarThumbnail": "value",
"createdAt": "value",
"description": "string",
"id": "value"
},
"resourceName": "string",
"source": {
"__typename": "Source"
}
}
],
"id": "value"
}
]
}
}Queries
sourcesList
Get all sources. Requires SOURCES_READ permissions.
QUERY
sourcesList(filter: ResourceFilter): [Source!]!Arguments
filter
Returns
[Source!]!
catalogAsset
Catalog asset for the source.
createdAt
DateTime!
When the source was created.
credential
Credential identifier.
description
String
Description of the source
filters
[Filter!]!
Filters on the source.
id
SourceId!
Source identifier.
incidentGroups
IncidentGroups generated by the source
jtdSchema
JsonTypeDefinition!
name
String!
The display name of the source.
namespace
Namespace the source belongs to.
owner
priority
referencedByValidators
[Validator!]
resourceName
String!
The resource name of the source.
segmentations
[Segmentation!]!
Segmentations on the source.
state
Runtime state of the source in the engine. INIT while the engine holds no
state for it — a create draft has never been handed to the engine, so it
reports INIT until the draft is approved and the source is published.
stateUpdatedAt
DateTime!
When the source state was last updated.
tags
[Tag!]!
Tags linked to the source.
updatedAt
DateTime!
When the source was last updated.
windows
[Window!]!
Windows on the source.
Query
query SourcesList {
sourcesList {
catalogAsset {
assetType
createdAt
description
descriptions {
description
origin
}
externalTags {
createdAt
id
key
origin
updatedAt
value
}
id
}
createdAt
credential {
createdAt
id
name
namespace {
apiKeys {
__typename
}
avatar
avatarThumbnail
createdAt
description
id
}
resourceName
updatedAt
}
description
filters {
createdAt
id
name
namespace {
apiKeys {
__typename
}
avatar
avatarThumbnail
createdAt
description
id
}
resourceName
source {
__typename
}
}
id
}
}Response
{
"data": {
"sourcesList": [
{
"catalogAsset": {
"assetType": "DASHBOARD",
"createdAt": "value",
"description": "string",
"descriptions": [
{
"description": "string",
"origin": "CATALOG_REFRESH"
}
],
"externalTags": [
{
"createdAt": "value",
"id": "value",
"key": "string",
"origin": "CATALOG_REFRESH",
"updatedAt": "value",
"value": "string"
}
],
"id": "value"
},
"createdAt": "value",
"credential": {
"createdAt": "value",
"id": "value",
"name": "string",
"namespace": {
"apiKeys": [
{
"__typename": "ApiKeyRole"
}
],
"avatar": "value",
"avatarThumbnail": "value",
"createdAt": "value",
"description": "string",
"id": "value"
},
"resourceName": "string",
"updatedAt": "value"
},
"description": "string",
"filters": [
{
"createdAt": "value",
"id": "value",
"name": "string",
"namespace": {
"apiKeys": [
{
"__typename": "ApiKeyRole"
}
],
"avatar": "value",
"avatarThumbnail": "value",
"createdAt": "value",
"description": "string",
"id": "value"
},
"resourceName": "string",
"source": {
"__typename": "Source"
}
}
],
"id": "value"
}
]
}
}