Docs

Docs

x-cpod-domain: employee

Employee

Day-to-day employee data — skills, calendar, leave, notes.

Try in explorer client.employee

PersonSkill

A skill assertion on a Person with a level.

REST path/api/v1/employee/skills
Operations
listgetcreateupdatedelete
SDK
// list — returns only your records; add filters/search:
await client.employee.skills.list()

// create:
await client.employee.skills.create({
  id: "rec_01HXEXAMPLE",
  tenant_id: "example tenant_id",
  created_at: "2026-01-01T00:00:00Z",
  updated_at: "2026-01-01T00:00:00Z",
  app_id: "example app_id",
  created_by: "rec_01HXEXAMPLE",
})
FieldTypeDescription
id*uuidServer-assigned ULID with type prefix (e.g. per_…).
tenant_id*stringTenant scope — auto-stamped from the caller's JWT.
app_idstringApp scope. Stamped ONLY when the caller's JWT was minted for a specific Application (integration API keys). Absent for human-user sessions. Filters reads when present.
created_at*date-timeServer stamp.
updated_at*date-timeServer stamp; updated on every patch.
created_byuuidPerson id from the caller's JWT (sub).
updated_byuuidPerson id from the last writer's JWT (sub).
sourcestringProvenance tag — defaults to 'edm'.
source_typeenumWhere the write originated. Defaults to 'api'.frontendbackendserversystemapi
is_deletedbooleanSoft-delete flag. Excluded from default list queries.
deleted_atdate-timeStamped when soft-deleted; null otherwise.
deleted_byuuidPerson id who soft-deleted; null otherwise.
schema_versionnumberDocument schema version. Bumped on incompatible writes.
person_iduuidUUID of the Person who holds this skill.
skill_namestringName of the skill (e.g., 'Kubernetes', 'Python', 'Spanish', 'ISO 27001').
categorystringCategory of the skill. 'technical' for engineering/IT skills, 'soft' for interpersonal skills, 'language' for spoken/written languages, 'domain' for business do
proficiency_levelnumberProficiency level on a 1–5 scale where 1 = Beginner and 5 = Expert.
sourceenumEvidence source for the skill record.self_reportedmanager_assessedcertificationassessment
verified_by_iduuidUUID of the Person who verified this skill claim, if applicable.
verified_atdate-timeISO 8601 timestamp when the skill was verified.
valid_untildate-timeISO 8601 date after which this skill record is considered expired (e.g., for certifications with renewal cycles).
notesstringFree-text notes about the skill, such as credential number or context.

CalendarEvent

A calendar entry for a Person.

REST path/api/v1/employee/calendar-events
Operations
listgetcreateupdatedelete
SDK
// list — returns only your records; add filters/search:
await client.employee.calendarEvents.list()

// create:
await client.employee.calendarEvents.create({
  id: "rec_01HXEXAMPLE",
  tenant_id: "example tenant_id",
  created_at: "2026-01-01T00:00:00Z",
  updated_at: "2026-01-01T00:00:00Z",
  app_id: "example app_id",
  created_by: "rec_01HXEXAMPLE",
})
FieldTypeDescription
id*uuidServer-assigned ULID with type prefix (e.g. per_…).
tenant_id*stringTenant scope — auto-stamped from the caller's JWT.
app_idstringApp scope. Stamped ONLY when the caller's JWT was minted for a specific Application (integration API keys). Absent for human-user sessions. Filters reads when present.
created_at*date-timeServer stamp.
updated_at*date-timeServer stamp; updated on every patch.
created_byuuidPerson id from the caller's JWT (sub).
updated_byuuidPerson id from the last writer's JWT (sub).
sourcestringProvenance tag — defaults to 'edm'.
source_typeenumWhere the write originated. Defaults to 'api'.frontendbackendserversystemapi
is_deletedbooleanSoft-delete flag. Excluded from default list queries.
deleted_atdate-timeStamped when soft-deleted; null otherwise.
deleted_byuuidPerson id who soft-deleted; null otherwise.
schema_versionnumberDocument schema version. Bumped on incompatible writes.
organizer_iduuidUUID of the Person who created or owns this event.
attendee_idsjsonUUIDs of Person records attending this event.
typestringClassification of the event. 'ooo' = out of office, 'focus_time' = blocked for deep work.
titlestringHuman-readable title for the event.
descriptionstringOptional description or agenda for the event.
startdate-timeISO 8601 timestamp when the event starts.
enddate-timeISO 8601 timestamp when the event ends.
is_all_daybooleanTrue if the event spans the full day and has no specific time bounds.
locationstringPhysical location or room name for the event.
video_urlstringURL for the video conferencing link (e.g., Zoom, Google Meet, Teams).
linked_project_iduuidUUID of the Project this event is associated with.
linked_task_idsjsonUUIDs of Task records discussed or actioned in this event.
statusstringAttendance or booking status for the event.

LeaveRequest

Time-off request awaiting approval.

REST path/api/v1/employee/leave-requests
Operations
listgetcreateapprovereject
SDK
// list — returns only your records; add filters/search:
await client.employee.leaveRequests.list()

// create:
await client.employee.leaveRequests.create({
  id: "rec_01HXEXAMPLE",
  tenant_id: "example tenant_id",
  created_at: "2026-01-01T00:00:00Z",
  updated_at: "2026-01-01T00:00:00Z",
  app_id: "example app_id",
  created_by: "rec_01HXEXAMPLE",
})
FieldTypeDescription
id*uuidServer-assigned ULID with type prefix (e.g. per_…).
tenant_id*stringTenant scope — auto-stamped from the caller's JWT.
app_idstringApp scope. Stamped ONLY when the caller's JWT was minted for a specific Application (integration API keys). Absent for human-user sessions. Filters reads when present.
created_at*date-timeServer stamp.
updated_at*date-timeServer stamp; updated on every patch.
created_byuuidPerson id from the caller's JWT (sub).
updated_byuuidPerson id from the last writer's JWT (sub).
sourcestringProvenance tag — defaults to 'edm'.
source_typeenumWhere the write originated. Defaults to 'api'.frontendbackendserversystemapi
is_deletedbooleanSoft-delete flag. Excluded from default list queries.
deleted_atdate-timeStamped when soft-deleted; null otherwise.
deleted_byuuidPerson id who soft-deleted; null otherwise.
schema_versionnumberDocument schema version. Bumped on incompatible writes.
person_iduuidUUID of the Person submitting this leave request.
typestringLeave category. 'annual' = planned vacation, 'sick' = illness absence, 'parental' = maternity/paternity/adoption leave, 'public_holiday' = bank or public holida
start_datedate-timeISO 8601 date when the leave period begins (inclusive).
end_datedate-timeISO 8601 date when the leave period ends (inclusive).
statusstringCurrent approval workflow status of the leave request.
approved_by_iduuidUUID of the Person who approved or rejected this request.
approved_atdate-timeISO 8601 timestamp when the approval decision was made.
notesstringFree-text notes from either the requester or the approver.

MeetingNote

Notes captured from a meeting.

REST path/api/v1/employee/meeting-notes
Operations
listgetcreateupdate
SDK
// list — returns only your records; add filters/search:
await client.employee.meetingNotes.list()

// create:
await client.employee.meetingNotes.create({
  id: "rec_01HXEXAMPLE",
  tenant_id: "example tenant_id",
  created_at: "2026-01-01T00:00:00Z",
  updated_at: "2026-01-01T00:00:00Z",
  app_id: "example app_id",
  created_by: "rec_01HXEXAMPLE",
})
FieldTypeDescription
id*uuidServer-assigned ULID with type prefix (e.g. per_…).
tenant_id*stringTenant scope — auto-stamped from the caller's JWT.
app_idstringApp scope. Stamped ONLY when the caller's JWT was minted for a specific Application (integration API keys). Absent for human-user sessions. Filters reads when present.
created_at*date-timeServer stamp.
updated_at*date-timeServer stamp; updated on every patch.
created_byuuidPerson id from the caller's JWT (sub).
updated_byuuidPerson id from the last writer's JWT (sub).
sourcestringProvenance tag — defaults to 'edm'.
source_typeenumWhere the write originated. Defaults to 'api'.frontendbackendserversystemapi
is_deletedbooleanSoft-delete flag. Excluded from default list queries.
deleted_atdate-timeStamped when soft-deleted; null otherwise.
deleted_byuuidPerson id who soft-deleted; null otherwise.
schema_versionnumberDocument schema version. Bumped on incompatible writes.
calendar_event_iduuidUUID of the CalendarEvent this note was captured for, if applicable.
author_iduuidUUID of the Person who authored these notes.
attendee_idsjsonUUIDs of Persons who attended the meeting.
titlestringTitle for the meeting note document.
summarystringMarkdown-formatted summary of the discussion.
decisionsjsonList of decisions made during the meeting.
action_itemsjsonStructured action items arising from the meeting.
linked_project_iduuidUUID of the Project this meeting note is associated with.