Query
query IndexedDocuments {
indexedDocuments {
edges {
cursor
node {
id
url
labelTypes {
__typename
}
status {
__typename
... on IndexedDocumentStatusIndexed {
__typename
}
}
createdAt {
__typename
}
createdBy {
__typename
... on UserActor {
__typename
}
}
}
}
pageInfo {
hasPreviousPage
hasNextPage
startCursor
endCursor
}
}
}Response
{
"data": {
"indexedDocuments": {
"edges": [
{
"cursor": "string",
"node": {
"id": "id",
"url": "string",
"labelTypes": [
{
"__typename": "LabelType"
}
],
"status": {
"__typename": "IndexedDocumentStatusIndexed"
},
"createdAt": {
"__typename": "DateTime"
},
"createdBy": {
"__typename": "UserActor"
}
}
}
],
"pageInfo": {
"hasPreviousPage": true,
"hasNextPage": true,
"startCursor": "string",
"endCursor": "string"
}
}
}
}Queries
indexedDocuments
List indexed documents across your workspace, newest first. Use the knowledgeSourceId filter to retrieve only the documents belonging to a specific knowledge source, and the statuses filter to retrieve only documents with a given ingestion status.
QUERY
indexedDocuments(first: Int, after: String, last: Int, before: String, filters: IndexedDocumentsFilter): IndexedDocumentConnection!Arguments
first
Int
after
String
last
Int
before
String
filters
Returns
edges
pageInfo
Query
query IndexedDocuments {
indexedDocuments {
edges {
cursor
node {
id
url
labelTypes {
__typename
}
status {
__typename
... on IndexedDocumentStatusIndexed {
__typename
}
}
createdAt {
__typename
}
createdBy {
__typename
... on UserActor {
__typename
}
}
}
}
pageInfo {
hasPreviousPage
hasNextPage
startCursor
endCursor
}
}
}Response
{
"data": {
"indexedDocuments": {
"edges": [
{
"cursor": "string",
"node": {
"id": "id",
"url": "string",
"labelTypes": [
{
"__typename": "LabelType"
}
],
"status": {
"__typename": "IndexedDocumentStatusIndexed"
},
"createdAt": {
"__typename": "DateTime"
},
"createdBy": {
"__typename": "UserActor"
}
}
}
],
"pageInfo": {
"hasPreviousPage": true,
"hasNextPage": true,
"startCursor": "string",
"endCursor": "string"
}
}
}
}Was this page helpful?

