Flow Document Collections
Returns a skip/take paged list of the document collections in a flow group, with the total count.
Bearer authentication with JWT
050OK
Unauthorized
Forbidden
GET /projects/{projectIdentifier}/flow-groups/{flowGroupObjectIdentifier}/flow-document-collections HTTP/1.1
Host: api.example.uk.jylo.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"totalCount": 1,
"skip": 1,
"take": 1,
"items": [
{
"objectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"dateAdded": "2026-01-01T00:00:00.000Z",
"hasActiveAssignment": true
}
]
}Creates a document collection in a flow group and attaches any supplied documents, queuing them for extraction.
Bearer authentication with JWT
OK
Unauthorized
Forbidden
POST /projects/{projectIdentifier}/flow-groups/{flowGroupObjectIdentifier}/flow-document-collections HTTP/1.1
Host: api.example.uk.jylo.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 102
{
"name": "text",
"assignments": [
{
"documentObjectIdentifiers": [
"123e4567-e89b-12d3-a456-426614174000"
]
}
]
}{
"objectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"dateAdded": "2026-01-01T00:00:00.000Z",
"hasActiveAssignment": true
}Creates a collection for each supplied document in the flow group in a single request.
Bearer authentication with JWT
No Content
No content
Unauthorized
Forbidden
POST /projects/{projectIdentifier}/flow-groups/{flowGroupObjectIdentifier}/flow-document-collections/bulk HTTP/1.1
Host: api.example.uk.jylo.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 70
{
"documentObjectIdentifiers": [
"123e4567-e89b-12d3-a456-426614174000"
]
}No content
Returns the full detail of a single document collection identified by its GUID.
Bearer authentication with JWT
OK
Unauthorized
Forbidden
GET /projects/{projectIdentifier}/flow-groups/{flowGroupObjectIdentifier}/flow-document-collections/{objectIdentifier} HTTP/1.1
Host: api.example.uk.jylo.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"objectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"dateAdded": "2026-01-01T00:00:00.000Z",
"hasActiveAssignment": true
}Deletes a document collection unless a flow run is currently in progress for it.
Bearer authentication with JWT
No Content
No content
Unauthorized
Forbidden
Conflict
DELETE /projects/{projectIdentifier}/flow-groups/{flowGroupObjectIdentifier}/flow-document-collections/{objectIdentifier} HTTP/1.1
Host: api.example.uk.jylo.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
No content
Returns a paginated, filtered and sorted list of document collections within a flow group.
Bearer authentication with JWT
OK
Bad Request
Unauthorized
Forbidden
POST /projects/{projectIdentifier}/flow-groups/{flowGroupObjectIdentifier}/flow-document-collections/search HTTP/1.1
Host: api.example.uk.jylo.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 622
{
"filters": [
{
"promptObjectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"operator": "is",
"value": "text",
"values": [
"text"
]
}
],
"logicOperator": "and",
"columnFilters": {
"ANY_ADDITIONAL_PROPERTY": [
"text"
]
},
"tagFilters": [
{
"key": "text",
"values": [
"text"
]
}
],
"folderFilters": [
{
"operator": "is",
"value": "text",
"values": [
"text"
]
}
],
"page": 1,
"pageSize": 1,
"searchText": "text",
"sortBy": "text",
"sortAsc": true,
"documentObjectIdentifiersToSearch": [
"123e4567-e89b-12d3-a456-426614174000"
],
"promptObjectIdentifiersToInclude": [
"123e4567-e89b-12d3-a456-426614174000"
],
"assignedToResourceOwnerIds": [
"text"
],
"reviewedByResourceOwnerIds": [
"text"
]
}{
"totalCount": 1,
"page": 1,
"pageSize": 1,
"items": [
{
"objectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"documents": [
{
"objectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"contentType": "text",
"extension": "text",
"size": 1,
"dateAdded": "2026-01-01T00:00:00.000Z",
"fileType": "unknown",
"tokenCount": 1,
"pageCount": 1,
"convertedToPdf": true,
"flowDocumentObjectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"folder": "text",
"filePath": "text"
}
],
"promptAnswers": {
"ANY_ADDITIONAL_PROPERTY": {
"objectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"booleanAnswer": true,
"textAnswer": "text",
"decimalAnswer": 1,
"dateAnswer": "2026-01-01T00:00:00.000Z",
"approved": true,
"assignedTo": "text",
"reviewedBy": "text",
"assignedToMember": {
"id": "text",
"name": "text",
"email": "text"
},
"reviewedByMember": {
"id": "text",
"name": "text",
"email": "text"
},
"failedToAnswer": true,
"categories": [
{
"objectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"promptCategoryObjectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"colour": "primary"
}
]
}
},
"approvedCount": 1,
"rejectedCount": 1,
"awaitVerificationCount": 1,
"hasActiveAssignment": true,
"tags": [
{
"objectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"key": "text",
"value": "text"
}
],
"throttledPrompts": [
"123e4567-e89b-12d3-a456-426614174000"
],
"promptSkips": {
"ANY_ADDITIONAL_PROPERTY": {
"reason": "none",
"detail": "text",
"operator": "text",
"clauses": [
{
"predicate": "text",
"condition": "text",
"actual": "text",
"expectedValues": [
"text"
],
"actualValues": [
"text"
]
}
]
}
}
}
]
}Finds the page and row index of a prompt answer within the given search, filter and sort context.
Bearer authentication with JWT
OK
Bad Request
Unauthorized
Forbidden
Not Found
POST /projects/{projectIdentifier}/flow-groups/{flowGroupObjectIdentifier}/flow-document-collections/locate HTTP/1.1
Host: api.example.uk.jylo.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 454
{
"promptAnswerObjectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"pageSize": 1,
"filters": [
{
"promptObjectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"operator": "is",
"value": "text",
"values": [
"text"
]
}
],
"logicOperator": "and",
"columnFilters": {
"ANY_ADDITIONAL_PROPERTY": [
"text"
]
},
"tagFilters": [
{
"key": "text",
"values": [
"text"
]
}
],
"folderFilters": [
{
"operator": "is",
"value": "text",
"values": [
"text"
]
}
],
"searchText": "text",
"sortBy": "text",
"sortAsc": true
}{
"found": true,
"page": 1,
"rowIndex": 1,
"reason": "text"
}Returns the total number of document collections in the specified flow group.
Bearer authentication with JWT
OK
Unauthorized
Forbidden
GET /projects/{projectIdentifier}/flow-groups/{flowGroupObjectIdentifier}/flow-document-collections/count HTTP/1.1
Host: api.example.uk.jylo.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
1Attaches additional documents to an existing collection and queues them for extraction.
Bearer authentication with JWT
OK
Unauthorized
Forbidden
Conflict
POST /projects/{projectIdentifier}/flow-groups/{flowGroupObjectIdentifier}/flow-document-collections/{collectionObjectIdentifier}/assignments HTTP/1.1
Host: api.example.uk.jylo.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 70
{
"documentObjectIdentifiers": [
"123e4567-e89b-12d3-a456-426614174000"
]
}{
"objectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"flowDocumentCollectionObjectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"documentsAssigned": 1,
"createdAtUtc": "2026-01-01T00:00:00.000Z"
}Returns the manual key/value tags applied to a document collection.
Bearer authentication with JWT
OK
Unauthorized
Forbidden
GET /projects/{projectIdentifier}/flow-groups/{flowGroupObjectIdentifier}/flow-document-collections/{collectionObjectIdentifier}/tags HTTP/1.1
Host: api.example.uk.jylo.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
[
{
"objectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"key": "text",
"value": "text"
}
]Adds or updates a manual key/value tag on a document collection.
Bearer authentication with JWT
OK
Bad Request
Unauthorized
Forbidden
PUT /projects/{projectIdentifier}/flow-groups/{flowGroupObjectIdentifier}/flow-document-collections/{collectionObjectIdentifier}/tags HTTP/1.1
Host: api.example.uk.jylo.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 29
{
"key": "text",
"value": "text"
}{
"objectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"key": "text",
"value": "text"
}Returns every distinct key/value tag used across the owning flow's collections.
Bearer authentication with JWT
OK
Unauthorized
Forbidden
GET /projects/{projectIdentifier}/flow-groups/{flowGroupObjectIdentifier}/tags HTTP/1.1
Host: api.example.uk.jylo.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
[
{
"objectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
"key": "text",
"value": "text"
}
]Returns the distinct folders the group's documents sit in, plus "Home" when any are filed at the project root.
Bearer authentication with JWT
OK
Unauthorized
Forbidden
GET /projects/{projectIdentifier}/flow-groups/{flowGroupObjectIdentifier}/folders HTTP/1.1
Host: api.example.uk.jylo.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
[
"text"
]Removes a manual key/value tag from a document collection.
Bearer authentication with JWT
No Content
No content
Unauthorized
Forbidden
Not Found
DELETE /projects/{projectIdentifier}/flow-groups/{flowGroupObjectIdentifier}/flow-document-collections/{collectionObjectIdentifier}/tags/{tagObjectIdentifier} HTTP/1.1
Host: api.example.uk.jylo.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
No content
Last updated
