Flow Documents

Retrieves a paginated list of flow documents for the specified flow.

get

Retrieves a paginated list of flow documents for the specified flow, optionally filtered and sorted.

Authorizations
AuthorizationstringRequired

Bearer authentication with JWT

Path parameters
flowIdentifierstring · uuidRequired

The unique identifier of the flow.

projectIdentifierstringRequired
Query parameters
pageNumberinteger · int32Optional

The page number to retrieve.

pageSizeinteger · int32Optional

The number of items per page.

searchTextstringOptional

Optional search text to filter flow documents.

sortinginteger · enumOptional

The sorting option for the results.

Possible values:
descbooleanOptional

Whether to sort in descending order.

Default: true
Responses
200

OK

No content

get
/projects/{projectIdentifier}/flows/{flowIdentifier}/flow-documents
GET /projects/{projectIdentifier}/flows/{flowIdentifier}/flow-documents HTTP/1.1
Host: api.example.uk.jylo.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*

No content

Adds a range of documents to the specified flow.

post

Adds a range of documents to the specified flow.

Authorizations
AuthorizationstringRequired

Bearer authentication with JWT

Path parameters
flowIdentifierstring · uuidRequired

The unique identifier of the flow.

projectIdentifierstringRequired
Bodystring · uuid[]
string · uuid[]Optional
Responses
200

OK

No content

post
/projects/{projectIdentifier}/flows/{flowIdentifier}/flow-documents
POST /projects/{projectIdentifier}/flows/{flowIdentifier}/flow-documents HTTP/1.1
Host: api.example.uk.jylo.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 40

[
  "123e4567-e89b-12d3-a456-426614174000"
]

No content

Removes a range of documents from the specified flow.

delete

Removes a range of documents from the specified flow.

Authorizations
AuthorizationstringRequired

Bearer authentication with JWT

Path parameters
flowIdentifierstring · uuidRequired

The unique identifier of the flow.

projectIdentifierstringRequired
Query parameters
objectIdentifiersstring · uuid[]Optional

The collection of document object identifiers to remove.

Responses
delete
/projects/{projectIdentifier}/flows/{flowIdentifier}/flow-documents
DELETE /projects/{projectIdentifier}/flows/{flowIdentifier}/flow-documents HTTP/1.1
Host: api.example.uk.jylo.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*

No content

Searches for flow documents in the specified flow using filter criteria.

post

Searches for flow documents in the specified flow using filter criteria.

Authorizations
AuthorizationstringRequired

Bearer authentication with JWT

Path parameters
flowIdentifierstring · uuidRequired

The unique identifier of the flow.

projectIdentifierstringRequired
Body
searchTextstring | nullableOptional
pageNumberinteger · int32 | nullableOptional
pageSizeinteger · int32 | nullableOptional
sortBystring | nullableOptional
sortAscboolean | nullableOptional
documentsToSearchstring · uuid[] | nullableOptional
Responses
200

OK

No content

post
/projects/{projectIdentifier}/flows/{flowIdentifier}/flow-documents/search
POST /projects/{projectIdentifier}/flows/{flowIdentifier}/flow-documents/search HTTP/1.1
Host: api.example.uk.jylo.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 351

{
  "searchText": "text",
  "pageNumber": 1,
  "pageSize": 1,
  "sortBy": "text",
  "sortAsc": true,
  "promptColumns": {
    "ANY_ADDITIONAL_PROPERTY": [
      "text"
    ]
  },
  "promptSearches": {
    "ANY_ADDITIONAL_PROPERTY": {
      "isYes": true,
      "minimumValue": 1,
      "maximumValue": 1,
      "categoryIdentifiers": [
        "123e4567-e89b-12d3-a456-426614174000"
      ]
    }
  },
  "documentsToSearch": [
    "123e4567-e89b-12d3-a456-426614174000"
  ]
}

No content

Retrieves a flow document by its document identifier.

get

Retrieves a flow document by its document identifier.

Authorizations
AuthorizationstringRequired

Bearer authentication with JWT

Path parameters
flowIdentifierstring · uuidRequired

The unique identifier of the flow.

documentIdentifierstring · uuidRequired

The unique identifier of the document.

projectIdentifierstringRequired
Responses
200

OK

No content

get
/projects/{projectIdentifier}/flows/{flowIdentifier}/flow-documents/{documentIdentifier}
GET /projects/{projectIdentifier}/flows/{flowIdentifier}/flow-documents/{documentIdentifier} HTTP/1.1
Host: api.example.uk.jylo.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*

No content

Moves documents within the specified flow to a different folder.

post

Moves documents within the specified flow to a different folder.

Authorizations
AuthorizationstringRequired

Bearer authentication with JWT

Path parameters
flowIdentifierstring · uuidRequired

The unique identifier of the flow.

projectIdentifierstringRequired
Body
folderIdentifierstring · uuidOptional
Responses
post
/projects/{projectIdentifier}/flows/{flowIdentifier}/flow-documents/move-documents
POST /projects/{projectIdentifier}/flows/{flowIdentifier}/flow-documents/move-documents HTTP/1.1
Host: api.example.uk.jylo.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 216

{
  "folderIdentifier": "123e4567-e89b-12d3-a456-426614174000",
  "promptSearches": {
    "ANY_ADDITIONAL_PROPERTY": {
      "isYes": true,
      "minimumValue": 1,
      "maximumValue": 1,
      "categoryIdentifiers": [
        "123e4567-e89b-12d3-a456-426614174000"
      ]
    }
  }
}

No content

Last updated