Lucca Employments API

Employments & job-positions.

GitHub OpenAPI
Business capability
HR Operations Management BC-300.70

Operations 17

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /lucca-api/employments List employment contracts · List employments #
Ask an LLM
“Which employment contracts exist for a given employee?”
“Can I list employments that started within a date range?”
Tell an agent
List employments for employee {employee}.
Show employments starting between {start} and {end}.
POST /lucca-api/employments Create an employment contract · Create an employment #
Ask an LLM
“How do I create an employment contract for an employee?”
“Can an employment contract start on a specific date and end later?”
Tell an agent
Create an employment for {employee} in {legal_entity} starting {start} with template {template}.
Add an employment for {employee} at {legal_entity} from {start} to {end} using template {template}.
GET /lucca-api/employments/{id} Retrieve an employment contract · Retrieve an employment #
Ask an LLM
“What are the details of one employment contract?”
“Can I fetch an employment by its ID?”
Tell an agent
Get employment {id}.
Show the employment contract {id}.
PATCH /lucca-api/employments/{id} Update an employment contract · Update an employment #
Ask an LLM
“How do I change the end date of an existing employment?”
“Can I update an employment contract retroactively?”
Tell an agent
Set the end date of employment {id} to {end}.
Update employment {id} to end on {end}.
DELETE /lucca-api/employments/{id} Delete an employment contract · Delete an employment #
Ask an LLM
“Can I delete an employment contract?”
“What happens to job-positions when an employment is deleted?”
Tell an agent destructive · confirm first
Delete employment {id}.
Remove the employment contract {id}.
GET /lucca-api/employment-templates List employment templates · List employment-templates #
Ask an LLM
“What employment templates are available?”
“Can I search employment templates by title?”
Tell an agent
List employment templates.
Find employment templates whose title starts with {search}.
GET /lucca-api/employment-templates/{id} Retrieve an employment template by ID · Retrieve an employment-template #
Ask an LLM
“How do I look up the details of a single employment template?”
“Can I see which template an employment contract would be built from, given its identifier?”
Tell an agent
Retrieve employment-template {id}.
Open the employment-template with identifier {id} including its embedded related resources.
GET /lucca-api/job-positions List job-positions · List job-positions #
Ask an LLM
“Which job-positions exist for an employee?”
“Can I list job-positions in a department or by manager?”
Tell an agent
List job-positions for employment {employment}.
Show job-positions in department {department} for {employment}.
POST /lucca-api/job-positions Add a job position to an employment · Create a job-position #
Ask an LLM
“Can I record a new job title for an employee?”
“Can two job positions on an employment overlap?”
Tell an agent
Add a job position starting {startsOn} for employment {employment} in department {department} at business {business}.
Set job title {job_title} on {employment} for {startsOn}, department {department}, business {business}.
GET /lucca-api/job-positions/{id} Retrieve a job-position · Retrieve a job-position #
Ask an LLM
“What are the details of one job-position?”
“Can I fetch a job-position by its ID?”
Tell an agent
Get job-position {id}.
Show the job-position {id}.
PATCH /lucca-api/job-positions/{id} Update a job-position · Update a job-position #
Ask an LLM
“How do I change a job-position's manager or department?”
“Can I extend a job-position retroactively?”
Tell an agent
Set the manager of job-position {id} to {manager}.
Move job-position {id} to department {department}.
DELETE /lucca-api/job-positions/{id} Delete a job-position · Delete a job-position #
Ask an LLM
“Can I delete a single job-position?”
“What happens to an employee's job history when a job-position is removed?”
Tell an agent destructive · confirm first
Delete job-position {id}.
Remove the job-position {id}.
GET /lucca-api/probationary-periods List probationary periods · List probationary-periods #
Ask an LLM
“Which probationary periods exist for an employee?”
“Can I list probationary periods that were extended?”
Tell an agent
List probationary periods for employment {employment}.
Show probationary periods for employee {employee} that were extended.
POST /lucca-api/probationary-periods Create a probationary period · Create a probationary-period #
Ask an LLM
“How do I set a probationary period for an employee?”
“Can I extend a probationary period after it starts?”
Tell an agent
Create a probationary period for {employment} ending {initial_ends_on}.
Set a probationary period for {employment} from {initial_ends_on} to {extended_ends_on}.
GET /lucca-api/probationary-periods/{id} Retrieve a probationary period · Retrieve a probationary-period #
Ask an LLM
“What are the dates of one probationary period?”
“Can I fetch a probationary period by its ID?”
Tell an agent
Get probationary period {id}.
Show the probationary period {id}.
PATCH /lucca-api/probationary-periods/{id} Update a probationary period · Update a probationary-period #
Ask an LLM
“How do I extend a probationary period?”
“Can I change the initial end date of a probationary period?”
Tell an agent
Set the extended end date of probationary period {id} to {extended_ends_on}.
Update probationary period {id} to end on {extended_ends_on}.
DELETE /lucca-api/probationary-periods/{id} Delete a probationary period · Delete a probationary-period #
Ask an LLM
“Can I delete a probationary period?”
“What removes a probationary period from an employee's record?”
Tell an agent destructive · confirm first
Delete probationary period {id}.
Remove the probationary period {id}.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/lucca:lucca-employments-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

lucca-employments-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Lucca API reference Employments API
  version: '2024-11-01'
  x-revision: 14a8d8fdcddd
  description: Please refer to developers.luccasoftware.com.
  contact:
    name: API Support
    url: https://www.luccasoftware.com
    email: no-reply@luccasoftware.com
  license:
    name: Apache 2.0
    url: https://www.apache.org/licenses/LICENSE-2.0
servers:
- url: https://{host}
  description: Your Lucca account URL.
  variables:
    host:
      default: example.ilucca.net
      description: 'The URL of your dedicated Lucca account: `{account}.{env}.{region}`.


        Account reflects your company name. Env indicates the environment. Region depends on your server location.


        **Please, use your test or sandbox environments (and not your production env.) for testing purposes.**


        Environments:

        - `ilucca`: production environment for customers.

        - `ilucca-test`: test environment for customers.

        - `ilucca-demo`: demo environment for prospects.


        Regions:

        - `.ch` for Swiss located accounts.

        - `.net` for the others.


        Regarding sandboxes, the pattern differs: `https://{account}-{sandboxName}.sandbox.{server}.luccasoftware.com`, where:

        - `{sandboxName}` is automatically generated upon creation.

        - `{server}` may be "eu1", "eu2" or "ch1".'
tags:


# --- truncated at 32 KB (197 KB total) ---
# Full source: https://artifacts.apis.io/lucca/openapi/lucca-employments-api-openapi.yml