retrievalDocuments(projectReference: ID!, limit: Int, cursor: String): RetrievalDocumentList!
Requires project.knowledge.read.
Arguments
Response
Returns RetrievalDocumentList!. Open the type for its fields and nested types.
Types marked with ! cannot be null. Lists use [Type] notation. The type index lists all published input and response types.
Example
query RetrievalDocuments($projectReference: ID!, $limit: Int, $cursor: String) {
retrievalDocuments(projectReference: $projectReference, limit: $limit, cursor: $cursor) {
data {
id
createdAt
updatedAt
metadata
revision
}
pageInfo {
hasNextPage
endCursor
hasPreviousPage
startCursor
}
}
}{
"projectReference": "00000000-0000-4000-8000-000000000001"
}