Tayl Tayl Public API

Reporting

Report on who has or hasn't completed training, by person, site or content, with summaries of the figures Tayl shows and the tasks, completions and certificates behind them.

Part of Tayl's API docs: requests go to https://tayl.pro with Authorization: Bearer <key>, and Errors explains every error code.

The people, group and membership lists from People and groups, and the course, pathway and signable document lists from Assigning training, are repeated here, so finding who and what to report on needs only this page.

Summaries

Start with a summary: it answers in one call what would otherwise take paging through every task. Summaries need reports:read and the organisation's Advanced reporting (features.reporting on the key self-check), and return the figures admins and managers see in Tayl at that moment, for the current people the key reaches (not archived ones), each counted once. They count people and never name them.

Each row gives:

basis.locked_tasks_counted says whether tasks in pathway stages the learner hasn't reached yet count, as the organisation chooses in Tayl. A pathway's row counts the pathway itself; its courses and documents have rows of their own. Content outside the organisation's library, such as courses inside a pathway shared by its organisation group, counts in totals but has no row.

Records behind the figures

Keeping a copy up to date

Summaries are worked out live, so a dashboard can pull them on a schedule. To keep records instead, sync with since as Conventions describes, and reconcile against full lists regularly.

Not available yet

Operations

Reports

Training figures by organisation, group and content, as counts and rates.

Summarise training

GET https://tayl.pro/api/v1/reports/summary · getTrainingSummary · Scope reports:read · Needs Advanced reporting

Returns the training figures for the organisation's current people that the key reaches, or for one group's, as on Tayl's Home: how many people have and haven't completed their training, tasks by status, compliance, completion and recent completions.

Parameters

Responses

Example response (200)

{
  "group": null,
  "people": {
    "counted": 24,
    "completed": 18,
    "not_completed": 6,
    "overdue": 3
  },
  "tasks": {
    "not_started": 21,
    "in_progress": 9,
    "overdue": 4,
    "completed": 186
  },
  "compliance": {
    "rate": 88,
    "compliant": 21,
    "counted": 24
  },
  "completion": {
    "rate": 85,
    "completed": 186,
    "counted": 220
  },
  "completions": 37,
  "basis": {
    "compliance": "people",
    "completion": "tasks",
    "locked_tasks_counted": false
  },
  "period": {
    "completed_after": "2026-10-05T00:00:00Z",
    "completed_before": "2026-11-03T23:59:59Z"
  }
}

Summarise training by group

GET https://tayl.pro/api/v1/reports/groups · listGroupTrainingSummaries · Scope reports:read · Needs Advanced reporting

Returns each group's training figures, as on Tayl's Home group cards: one row for each group people make (not automatic ones) that the key oversees and that has current members, by name.

Parameters

Responses

Example response (200)

{
  "groups": [
    {
      "group": {
        "id": "019cf5b0-7c00-7000-8000-000000000003",
        "external_id": "site-leeds",
        "name": "Leeds",
        "category_id": "019cf5b0-7c00-7000-8000-000000000010"
      },
      "people": {
        "counted": 24,
        "completed": 18,
        "not_completed": 6,
        "overdue": 3
      },
      "tasks": {
        "not_started": 21,
        "in_progress": 9,
        "overdue": 4,
        "completed": 186
      },
      "compliance": {
        "rate": 88,
        "compliant": 21,
        "counted": 24
      },
      "completion": {
        "rate": 85,
        "completed": 186,
        "counted": 220
      },
      "completions": 37
    }
  ],
  "basis": {
    "compliance": "people",
    "completion": "tasks",
    "locked_tasks_counted": false
  },
  "period": {
    "completed_after": "2026-10-05T00:00:00Z",
    "completed_before": "2026-11-03T23:59:59Z"
  },
  "meta": {
    "page": 1,
    "per_page": 25,
    "total_pages": 1,
    "total_count": 1
  }
}

Summarise training by content

GET https://tayl.pro/api/v1/reports/content · listContentTrainingSummaries · Scope reports:read · Needs Advanced reporting

Returns each content's training figures across the current people the key reaches, counting each person once: one row for each course, signable document and (while Pathways is on) pathway in the content library that any of them has a task for, archived content included. With by_group=true, one row for each group and content instead, for the groups listGroupTrainingSummaries lists.

Parameters

Responses

Example response (200)

{
  "content": [
    {
      "content": {
        "type": "course",
        "id": "019cf5b0-7c00-7000-8000-000000000005",
        "title": "Food safety essentials",
        "archived": false
      },
      "group": null,
      "people": {
        "counted": 24,
        "completed": 20,
        "not_completed": 4,
        "overdue": 2,
        "with_open_tasks": 6,
        "ever_completed": 22,
        "expired": 1,
        "due_for_renewal": 2
      },
      "tasks": {
        "not_started": 2,
        "in_progress": 0,
        "overdue": 2,
        "completed": 20
      },
      "compliance": {
        "rate": 91,
        "compliant": 21,
        "counted": 23
      },
      "completion": {
        "rate": 83,
        "completed": 20,
        "counted": 24
      },
      "completions": 5
    }
  ],
  "basis": {
    "compliance": "people",
    "completion": "tasks",
    "locked_tasks_counted": false
  },
  "period": {
    "completed_after": "2026-10-05T00:00:00Z",
    "completed_before": "2026-11-03T23:59:59Z"
  },
  "meta": {
    "page": 1,
    "per_page": 25,
    "total_pages": 1,
    "total_count": 1
  }
}

Tasks

Learner task status and progress for incremental reporting syncs.

List tasks

GET https://tayl.pro/api/v1/tasks · listTasks · Scope tasks:read

Lists learner tasks across the organisation. since considers changes to the task, its progress, its latest completion and the learner's user_external_id.

Parameters

Responses

Example response (200)

{
  "tasks": [
    {
      "id": "019cf5b0-7c00-7000-8000-00000000000c",
      "state": "completed",
      "status": "completed",
      "user_id": "019cf5b0-7c00-7000-8000-000000000002",
      "user_external_id": "usr-1042",
      "assignable_type": "course",
      "assignable_id": "019cf5b0-7c00-7000-8000-000000000005",
      "assignable_version_id": "019cf5b0-7c00-7000-8000-000000000006",
      "title": "Food safety essentials",
      "due_on": "2026-03-26",
      "due_on_paused_at": null,
      "started_at": "2026-03-15T09:10:00Z",
      "completed_at": "2026-03-16T10:00:00Z",
      "progress": {
        "percent_complete": 100,
        "time_spent_seconds": 1840,
        "last_interacted_at": "2026-03-16T10:00:00Z"
      },
      "latest_completion": {
        "id": "019cf5b0-7c00-7000-8000-00000000000d",
        "completed_at": "2026-03-16T10:00:00Z",
        "valid_until": "2027-03-16",
        "certificate_reference": "CERT-20260316-A7K2"
      },
      "current_completion": {
        "id": "019cf5b0-7c00-7000-8000-00000000000d",
        "completed_at": "2026-03-16T10:00:00Z",
        "valid_until": "2027-03-16",
        "certificate_reference": "CERT-20260316-A7K2"
      },
      "created_at": "2026-03-12T09:01:00Z",
      "updated_at": "2026-03-16T10:00:00Z"
    }
  ],
  "meta": {
    "page": 1,
    "per_page": 25,
    "total_pages": 1,
    "total_count": 1
  }
}

Get a task

GET https://tayl.pro/api/v1/tasks/{id} · getTask · Scope tasks:read

Returns one learner task with its latest progress and completion summary.

Parameters

Responses

Example response (200)

{
  "id": "019cf5b0-7c00-7000-8000-00000000000c",
  "state": "completed",
  "status": "completed",
  "user_id": "019cf5b0-7c00-7000-8000-000000000002",
  "user_external_id": "usr-1042",
  "assignable_type": "course",
  "assignable_id": "019cf5b0-7c00-7000-8000-000000000005",
  "assignable_version_id": "019cf5b0-7c00-7000-8000-000000000006",
  "title": "Food safety essentials",
  "due_on": "2026-03-26",
  "due_on_paused_at": null,
  "started_at": "2026-03-15T09:10:00Z",
  "completed_at": "2026-03-16T10:00:00Z",
  "progress": {
    "percent_complete": 100,
    "time_spent_seconds": 1840,
    "last_interacted_at": "2026-03-16T10:00:00Z"
  },
  "latest_completion": {
    "id": "019cf5b0-7c00-7000-8000-00000000000d",
    "completed_at": "2026-03-16T10:00:00Z",
    "valid_until": "2027-03-16",
    "certificate_reference": "CERT-20260316-A7K2"
  },
  "current_completion": {
    "id": "019cf5b0-7c00-7000-8000-00000000000d",
    "completed_at": "2026-03-16T10:00:00Z",
    "valid_until": "2027-03-16",
    "certificate_reference": "CERT-20260316-A7K2"
  },
  "created_at": "2026-03-12T09:01:00Z",
  "updated_at": "2026-03-16T10:00:00Z"
}

Completions

Completion records for reporting and compliance exports.

List completions

GET https://tayl.pro/api/v1/completions · listCompletions · Scope completions:read

Lists completions across the organisation, newest first. Poll with since=<last_poll_timestamp> to land newly created or updated completion data in a data warehouse. completed_after and completed_before filter the learner's business completion date and are not ingestion cursors.

Parameters

Responses

Example response (200)

{
  "completions": [
    {
      "id": "019cf5b0-7c00-7000-8000-00000000000d",
      "task_id": "019cf5b0-7c00-7000-8000-00000000000c",
      "user_id": "019cf5b0-7c00-7000-8000-000000000002",
      "user_external_id": "usr-1042",
      "assignable_type": "course",
      "assignable_id": "019cf5b0-7c00-7000-8000-000000000005",
      "assignable_version_id": "019cf5b0-7c00-7000-8000-000000000006",
      "title": "Food safety essentials",
      "learner_name": "Alex Chen",
      "completed_at": "2026-03-16T10:00:00Z",
      "valid_until": "2027-03-16",
      "time_spent_seconds": 1840,
      "certificate_reference": "CERT-20260316-A7K2",
      "created_at": "2026-03-16T10:00:00Z",
      "updated_at": "2026-03-16T10:00:00Z"
    }
  ],
  "meta": {
    "page": 1,
    "per_page": 25,
    "total_pages": 1,
    "total_count": 1
  }
}

Get a completion

GET https://tayl.pro/api/v1/completions/{id} · getCompletion · Scope completions:read

Returns one immutable learning completion and any issued certificate reference.

Parameters

Responses

Example response (200)

{
  "id": "019cf5b0-7c00-7000-8000-00000000000d",
  "task_id": "019cf5b0-7c00-7000-8000-00000000000c",
  "user_id": "019cf5b0-7c00-7000-8000-000000000002",
  "user_external_id": "usr-1042",
  "assignable_type": "course",
  "assignable_id": "019cf5b0-7c00-7000-8000-000000000005",
  "assignable_version_id": "019cf5b0-7c00-7000-8000-000000000006",
  "title": "Food safety essentials",
  "learner_name": "Alex Chen",
  "completed_at": "2026-03-16T10:00:00Z",
  "valid_until": "2027-03-16",
  "time_spent_seconds": 1840,
  "certificate_reference": "CERT-20260316-A7K2",
  "created_at": "2026-03-16T10:00:00Z",
  "updated_at": "2026-03-16T10:00:00Z"
}

Certificates

Issued certificates and their PDF downloads for compliance archives.

List certificates

GET https://tayl.pro/api/v1/certificates · listCertificates · Scope certificates:read

Lists completions that issued a certificate, newest first, for systems that archive them. Poll with since and download each PDF with /certificates/{id}/download. issued_after and issued_before filter by the date a certificate was issued, so they aren't safe sync cursors. A certificate's reference is set when its completion is recorded.

Parameters

Responses

Example response (200)

{
  "certificates": [
    {
      "id": "019cf5b0-7c00-7000-8000-00000000000d",
      "certificate_reference": "CERT-20260316-A7K2",
      "issued_at": "2026-03-16T10:00:00Z",
      "valid_until": "2027-03-16",
      "learner_name": "Alex Chen",
      "user_id": "019cf5b0-7c00-7000-8000-000000000002",
      "user_external_id": "usr-1042",
      "task_id": "019cf5b0-7c00-7000-8000-00000000000c",
      "course_id": "019cf5b0-7c00-7000-8000-000000000005",
      "course_title": "Food safety essentials"
    }
  ],
  "meta": {
    "page": 1,
    "per_page": 25,
    "total_pages": 1,
    "total_count": 1
  }
}

Get certificate metadata

GET https://tayl.pro/api/v1/certificates/{id} · getCertificate · Scope certificates:read

A certificate is a course completion that issued one, so its ID is the completion's UUID. Completions without a certificate return 404 here.

Parameters

Responses

Example response (200)

{
  "id": "019cf5b0-7c00-7000-8000-00000000000d",
  "certificate_reference": "CERT-20260316-A7K2",
  "issued_at": "2026-03-16T10:00:00Z",
  "valid_until": "2027-03-16",
  "learner_name": "Alex Chen",
  "user_id": "019cf5b0-7c00-7000-8000-000000000002",
  "user_external_id": "usr-1042",
  "task_id": "019cf5b0-7c00-7000-8000-00000000000c",
  "course_id": "019cf5b0-7c00-7000-8000-000000000005",
  "course_title": "Food safety essentials"
}

Download the certificate PDF

GET https://tayl.pro/api/v1/certificates/{id}/download · downloadCertificate · Scope certificates:read

Streams the certificate as application/pdf. A certificate's PDF is made on its first download, which can take a few seconds.

Parameters

Responses

Users

Repeated from People and groups, which has the rest of these operations.

List users

GET https://tayl.pro/api/v1/users · listUsers · Scope users:read

Lists the organisation's users, including archived ones but not people removed from the organisation or whose accounts were deleted. since considers changes to each person's membership of the organisation.

Parameters

Responses

Example response (200)

{
  "users": [
    {
      "id": "019cf5b0-7c00-7000-8000-000000000002",
      "external_id": "usr-1042",
      "email": "alex.chen@example.com",
      "name": "Alex Chen",
      "first_name": "Alex",
      "last_name": "Chen",
      "state": "active",
      "invited_at": "2026-03-10T09:00:00Z",
      "accepted_at": "2026-03-10T09:15:00Z",
      "created_at": "2026-03-10T09:00:00Z",
      "updated_at": "2026-03-16T10:00:00Z"
    }
  ],
  "meta": {
    "page": 1,
    "per_page": 25,
    "total_pages": 1,
    "total_count": 1
  }
}

Groups

Repeated from People and groups, which has the rest of these operations.

List groups

GET https://tayl.pro/api/v1/groups · listGroups · Scope groups:read

Lists current groups. since considers group updated_at.

Parameters

Responses

Example response (200)

{
  "groups": [
    {
      "id": "019cf5b0-7c00-7000-8000-000000000003",
      "external_id": "loc-london",
      "name": "London",
      "description": "People based at the London site",
      "category_id": "019cf5b0-7c00-7000-8000-000000000004",
      "automatic": false,
      "rule_user_group_ids": [],
      "category_made": false,
      "members_count": 18,
      "created_at": "2026-02-01T09:00:00Z",
      "updated_at": "2026-03-15T11:30:00Z"
    }
  ],
  "meta": {
    "page": 1,
    "per_page": 25,
    "total_pages": 1,
    "total_count": 1
  }
}

Group memberships

Repeated from People and groups, which has the rest of these operations.

List group members

GET https://tayl.pro/api/v1/groups/{group_id}/memberships · listGroupMemberships · Scope groups:read

Lists current members from every source; only memberships whose source is direct can be removed through this API.

Parameters

Responses

Example response (200)

{
  "memberships": [
    {
      "user_id": "019cf5b0-7c00-7000-8000-000000000002",
      "user_external_id": "usr-1042",
      "email": "alex.chen@example.com",
      "name": "Alex Chen",
      "source": "direct",
      "created_at": "2026-03-12T14:30:00Z"
    }
  ],
  "meta": {
    "page": 1,
    "per_page": 25,
    "total_pages": 1,
    "total_count": 1
  }
}

Content library

Repeated from Assigning training, which has the rest of these operations.

List courses

GET https://tayl.pro/api/v1/courses · listCourses · Scope content:read

Lists the published courses the organisation can see: its own, Tayl's, and those shared through its organisation group, which stay visible only while the group shares them, even if assignments still use them. A course can be assigned once in_library is true; an admin or content manager adds Tayl's courses to the library in Tayl. With status=draft or status=archived, it lists the organisation's own drafts or archived courses instead, such as a course created through the API that hasn't been published yet. since considers changes to courses and to their places in the organisation's or group's library. Removing one of Tayl's courses from the library doesn't count, as the course stays listed with in_library false and no new timestamp, so reconcile against the full list regularly.

Parameters

Responses

Example response (200)

{
  "courses": [
    {
      "id": "019cf5b0-7c00-7000-8000-000000000005",
      "title": "Food safety essentials",
      "description": "Safe food handling for new starters",
      "status": "published",
      "platform_course": true,
      "syncs_from_v2": false,
      "in_library": true,
      "compliance_training": true,
      "current_version_id": "019cf5b0-7c00-7000-8000-000000000006",
      "current_version_number": 3,
      "published_at": "2026-02-20T10:00:00Z",
      "created_at": "2025-11-01T09:00:00Z",
      "updated_at": "2026-02-20T10:00:00Z"
    }
  ],
  "meta": {
    "page": 1,
    "per_page": 25,
    "total_pages": 1,
    "total_count": 1
  }
}

List pathways

GET https://tayl.pro/api/v1/pathways · listPathways · Scope content:read

Lists the published pathways the organisation can see: its own and those shared through its organisation group, which stay visible only while the group shares them, even if assignments still use them. since considers changes to pathways and to their places in the organisation's or group's library. A pathway leaving a library leaves no trace for since, so reconcile against the full list regularly.

Parameters

Responses

Example response (200)

{
  "pathways": [
    {
      "id": "019cf5b0-7c00-7000-8000-000000000007",
      "title": "Front of house onboarding",
      "current_version_id": "019cf5b0-7c00-7000-8000-000000000008",
      "current_version_number": 2,
      "published_at": "2026-02-25T10:00:00Z",
      "created_at": "2025-12-01T09:00:00Z",
      "updated_at": "2026-02-25T10:00:00Z"
    }
  ],
  "meta": {
    "page": 1,
    "per_page": 25,
    "total_pages": 1,
    "total_count": 1
  }
}

List signable documents

GET https://tayl.pro/api/v1/signable-documents · listSignableDocuments · Scope content:read

Lists the published signable documents the organisation can see: its own and those shared through its organisation group, which stay visible only while the group shares them, even if assignments still use them. since considers changes to documents and to their places in the organisation's or group's library. A document leaving a library leaves no trace for since, so reconcile against the full list regularly.

Parameters

Responses

Example response (200)

{
  "signable_documents": [
    {
      "id": "019cf5b0-7c00-7000-8000-000000000009",
      "title": "Employee handbook",
      "compliance_training": true,
      "current_version_id": "019cf5b0-7c00-7000-8000-00000000000a",
      "current_version_number": 4,
      "published_at": "2026-03-01T10:00:00Z",
      "created_at": "2025-10-01T09:00:00Z",
      "updated_at": "2026-03-01T10:00:00Z"
    }
  ],
  "meta": {
    "page": 1,
    "per_page": 25,
    "total_pages": 1,
    "total_count": 1
  }
}

Schemas

TrainingSummary

The organisation's training figures, or one group's, for the current people the key reaches.

ReportGroup

A group a row counts.

ReportPeople

People, each counted once. counted and completed answer how many people have and haven't completed their training.

ReportTasks

Tasks by status, as Tayl's Tasks overview counts them; each has at most one. A pending or in_progress task past its due date is overdue, unless the deadline is paused. Otherwise pending tasks are not started, and active, in_progress and paused ones in progress. Cancelled and expired tasks have no status, nor do locked pathway tasks unless basis.locked_tasks_counted, when they're not started, or overdue once past their due date.

ReportCompliance

Compliance on basis.compliance: people fully compliant out of people with compliance training due, or compliance training items met out of those due. Training that isn't due yet doesn't count. A content row counts the people due to have done it.

ReportCompletion

Completion on basis.completion: counted tasks completed, or people who've completed all their counted tasks out of people with any.

ReportBasis

How the organisation counts, as chosen in Tayl under Settings > Compliance & completion.

ReportPeriod

The window completions counts.

NullableExternalId

Caller-owned identifier, unique within the organisation. Matched case-sensitively; surrounding whitespace is stripped. String or null, at most 255 characters.

GroupReportList

A page of groups' training figures.

GroupReport

One group's training figures. Someone in two groups counts in both.

Meta

Pagination details on every list. Page links also come in the RFC 8288 Link header, as first, prev, next and last.

ContentReportList

A page of content's training figures.

ContentReport

One content's training figures, or with by_group, one group's for it. A pathway's row counts the pathway's own tasks; the courses and documents in it have rows of their own.

ReportContent

The content a row counts, across its versions.

TaskList

One page of learner tasks with current progress and completion summaries.

Task

Training assigned to a learner. A task points at a version of its content: assignable_id is the course, pathway or document, and assignable_version_id its version. A course task's version can still change until the learner starts it; other tasks keep the version they were assigned.

CompletionList

One page of learner completions for reporting or incremental export.

Completion

A learner's completion of a piece of content. valid_until is null for completions that never expire; certificate_reference is non-null when a certificate was issued.

CertificateList

One page of issued certificate metadata for archival workflows.

Certificate

Metadata for an issued certificate. A certificate is a course completion with a PDF, not a record of its own, so its id is the completion's UUID.

ExternalId

Caller-owned identifier, unique within the organisation. Matched case-sensitively; surrounding whitespace is stripped. String, at most 255 characters.

UserList

One page of organisation users and its pagination metadata.

User

A member of the organisation (an OrganisationUser). state tracks the membership lifecycle; archived users are retained with their learning history.

GroupList

One page of groups and its pagination metadata.

Group

A group of people. Automatic groups (automatic: true) are maintained by Tayl and read-only through the API. Rule-based groups (a non-empty rule_user_group_ids, category_made: true) are made only by Tayl, as a group category's subgroups: each holds everyone in both of the groups its rule names, and is read-only here apart from its memberships. People added to one directly (source direct) are in those groups through it.

MembershipList

One page of active memberships for a group.

Membership

A person's membership of a group. source records how it arose; only direct memberships can be managed through the API.

CourseList

One page of courses.

Course

A published course the organisation can see, or one of its own drafts or archived courses. Pass a published course's id as assignable_id (with assignable_type: course) when creating an assignment; learners get the current published version.

PathwayList

One page of published pathways in the organisation library.

Pathway

A published learning pathway in the organisation's library. Pass id as assignable_id (with assignable_type: pathway) when creating an assignment.

SignableDocumentList

One page of published signable documents in the organisation library.

SignableDocument

A published document requiring signatures, in the organisation's library. Pass id as assignable_id (with assignable_type: signable_document) when creating an assignment.