For the complete documentation index, see llms.txt. This page is also available as Markdown.

Share Point Imports

List SharePoint imports for a project.

get

Returns a paginated list of SharePoint imports for the project, sorted by date added (newest first by default).

Authorizations
AuthorizationstringRequired

Bearer authentication with JWT

Path parameters
projectIdentifierstring · uuidRequired
Query parameters
pageNumberinteger · int32Optional
pageSizeinteger · int32Optional
descbooleanOptionalDefault: true
Responses
200

OK

No content

get/projects/{projectIdentifier}/sharepoint-imports
GET /projects/{projectIdentifier}/sharepoint-imports HTTP/1.1
Host: api.example.uk.jylo.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*

No content

Submit a SharePoint selection for import.

post

Creates a queued SharePoint import for the project, transfers the user's stored refresh token onto the import, and enqueues the worker message.

Authorizations
AuthorizationstringRequired

Bearer authentication with JWT

Path parameters
projectIdentifierstring · uuidRequired
Body
ocrEnginestring · enumOptionalPossible values:
ocrStrategystring · enumOptionalPossible values:
coordinateExtractionStrategystring · enumOptionalPossible values:
parentObjectIdentifierstring · uuid · nullableOptional
Responses
201

Created

objectIdentifierstring · uuidOptional
statusstring · enumOptionalPossible values:
failureReasonstring · nullableOptional
failureCodestring · enumOptionalPossible values:
itemsTotalinteger · int32 · nullableOptional
dateAddedstring · date-timeOptional
dateStartedstring · date-time · nullableOptional
dateCompletedstring · date-time · nullableOptional
documentUploadObjectIdentifierstring · uuid · nullableOptional
post/projects/{projectIdentifier}/sharepoint-imports
POST /projects/{projectIdentifier}/sharepoint-imports HTTP/1.1
Host: api.example.uk.jylo.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 282

{
  "items": [
    {
      "itemType": "site",
      "siteId": "text",
      "driveId": "text",
      "itemId": "text",
      "displayName": "text",
      "webUrl": "text"
    }
  ],
  "ocrEngine": "azureDocumentIntelligence",
  "ocrStrategy": "never",
  "coordinateExtractionStrategy": "never",
  "parentObjectIdentifier": "123e4567-e89b-12d3-a456-426614174000"
}
{
  "objectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
  "status": "queued",
  "failureReason": "text",
  "failureCode": "unknown",
  "itemsTotal": 1,
  "dateAdded": "2026-01-01T00:00:00.000Z",
  "dateStarted": "2026-01-01T00:00:00.000Z",
  "dateCompleted": "2026-01-01T00:00:00.000Z",
  "documentUploadObjectIdentifier": "123e4567-e89b-12d3-a456-426614174000"
}

Get a SharePoint import by identifier.

get

Returns a single SharePoint import scoped to the supplied project. Responds 404 if the import does not exist or belongs to a different project.

Authorizations
AuthorizationstringRequired

Bearer authentication with JWT

Path parameters
projectIdentifierstring · uuidRequired
importIdentifierstring · uuidRequired
Responses
200

OK

objectIdentifierstring · uuidOptional
statusstring · enumOptionalPossible values:
failureReasonstring · nullableOptional
failureCodestring · enumOptionalPossible values:
itemsTotalinteger · int32 · nullableOptional
dateAddedstring · date-timeOptional
dateStartedstring · date-time · nullableOptional
dateCompletedstring · date-time · nullableOptional
documentUploadObjectIdentifierstring · uuid · nullableOptional
get/projects/{projectIdentifier}/sharepoint-imports/{importIdentifier}
GET /projects/{projectIdentifier}/sharepoint-imports/{importIdentifier} HTTP/1.1
Host: api.example.uk.jylo.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "objectIdentifier": "123e4567-e89b-12d3-a456-426614174000",
  "status": "queued",
  "failureReason": "text",
  "failureCode": "unknown",
  "itemsTotal": 1,
  "dateAdded": "2026-01-01T00:00:00.000Z",
  "dateStarted": "2026-01-01T00:00:00.000Z",
  "dateCompleted": "2026-01-01T00:00:00.000Z",
  "documentUploadObjectIdentifier": "123e4567-e89b-12d3-a456-426614174000"
}

List items for a SharePoint import.

get

Returns a paginated list of the user's selections for the supplied import, in insertion order.

Authorizations
AuthorizationstringRequired

Bearer authentication with JWT

Path parameters
projectIdentifierstring · uuidRequired
importIdentifierstring · uuidRequired
Query parameters
pageNumberinteger · int32Optional
pageSizeinteger · int32Optional
Responses
200

OK

No content

get/projects/{projectIdentifier}/sharepoint-imports/{importIdentifier}/items
GET /projects/{projectIdentifier}/sharepoint-imports/{importIdentifier}/items HTTP/1.1
Host: api.example.uk.jylo.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*

No content

Last updated