Skip to main content
Every list takes limit, cursor and updated_since (see Paging, limits and errors), plus the filters below. Every list also has a single-record route at /{id}. The full machine-readable description is at https://on.relyant.app/api/v1/openapi.json.

Key

GET /api/v1/me

The key you’re calling with. Needs no scope. Fields: key (id, name), organization (id, name), scopes, rate_limits.

Facilities

GET /api/v1/work-orders

Scope: Work orders. /{id} also accepts the work order number, such as WO-0142. Filters: status (open, in_progress, blocked, in_review, completed, canceled), priority (low, medium, high), location_id, asset_id, assignee_id. Fields: id, number, title, description, status, priority, category, location, asset, assignee, requester, is_preventive, work_request_id, requested_at, due_at, started_at, completed_at, created_at, updated_at.

GET /api/v1/work-requests

Scope: Work requests. /{id} also accepts the request number, such as WR-0042. Filters: status (pending, approved, declined, cancelled), priority, location_id, asset_id. Fields: id, number, title, description, status, priority, category, location, suggested_location, asset, requester_name, requester_email, submitted_by, reviewed_by, reviewed_at, decline_reason, approval_note, work_order_id, created_at, updated_at.

GET /api/v1/assets

Scope: Assets. Every asset that isn’t deleted, archived ones included. Filters: status, location_id, category_id (a category includes its subcategories). Fields: id, name, description, sku, status, condition, category (its name is the full path, such as “HVAC › Chillers”), location, parent_asset_id, manufacturer, model, serial_number, is_bookable, is_loanable, capacity, purchase_date, received_date, warranty_expires, last_maintenance_date, next_maintenance_date, archived_at, created_at, updated_at. Purchase prices, values and purchase orders aren’t included.

GET /api/v1/locations

Scope: Locations. Every location that isn’t deleted. Filters: parent_id (or none for top-level locations), type, status (active, inactive), category_id. Fields: id, name, description, type, category, parent_id, status, address, city, state, postal_code, country, capacity, area_sqft, is_bookable, created_at, updated_at.

Education

Students and attendance requests are recorded in your school’s audit log.

GET /api/v1/academic-years

Scope: Academic years. The list leaves out archived years; /{id} still returns one. Fields: id, name, start_date, end_date, attendance_start_date, is_current, archived_at, created_at, updated_at.

GET /api/v1/classes

Scope: Classes. Filters: academic_year_id. Fields: id, name, display_name, academic_year, grade, grade_level, teachers, student_count, created_at, updated_at.

GET /api/v1/students

Scope: Students. /{id} also accepts the student number. Filters: status (active, inactive, withdrawn, graduated), class_id (students currently in that class). Fields: id, student_number, full_name, first_name, last_name, preferred_name, date_of_birth, gender, status, enrollment_date, class, grade, academic_year, class_enrolled_on, created_at, updated_at. Contact details, addresses, photos, health information, guardians, notes and custom fields are never included.

GET /api/v1/attendance

Scope: Attendance. Daily marks that were recorded; a school day nobody marked has no record. Filters: date_from, date_to (YYYY-MM-DD), class_id, student_id. Fields: id, student, class, academic_year, date, code (your school’s label), code_short, category (PRESENT, LATE, EXCUSED_ABSENT, UNEXCUSED_ABSENT), arrived_at (Late marks only), source, recorded_by, recorded_at, created_at, updated_at. Attendance notes aren’t included.