Units
Retrieves a specific unit by name.
Unit name
Unit retrieved
Unauthorized
Forbidden
Not found
Internal Server Error
GET /api/units/{name} HTTP/1.1
Accept: */*
{
"data": {
"id": 1,
"name": "unit_1",
"status": {
"event": "LoadSucceeded"
}
}
}Updates a unit with nodes and relationships data from uploaded files.
Unit name
File upload for nodes data
File upload for relationships data
Unit update accepted
No content
Unauthorized
Forbidden
Unprocessable Entity
Internal Server Error
PUT /api/units/{name} HTTP/1.1
Content-Type: multipart/form-data
Accept: */*
Content-Length: 48
{
"nodes": "nodes.csv",
"rels": "relationships.csv"
}No content
Deletes a unit asynchronously.
Unit name
Unit deletion accepted
No content
Unauthorized
Forbidden
Not found
Internal Server Error
DELETE /api/units/{name} HTTP/1.1
Accept: */*
No content
Updates a unit with nodes and relationships data from uploaded files.
Unit name
File upload for nodes data
File upload for relationships data
Unit update accepted
No content
Unauthorized
Forbidden
Unprocessable Entity
Internal Server Error
PATCH /api/units/{name} HTTP/1.1
Content-Type: multipart/form-data
Accept: */*
Content-Length: 48
{
"nodes": "nodes.csv",
"rels": "relationships.csv"
}No content
Retrieves all active units
Units retrieved
Unauthorized
Forbidden
Internal Server Error
GET /api/units HTTP/1.1
Accept: */*
{
"data": [
{
"id": 1,
"name": "unit_1",
"status": {
"event": "LoadSucceeded"
}
}
]
}Creates a new unit.
Unit name
Unit status
Unit created
Unauthorized
Forbidden
Unprocessable Entity
Internal Server Error
POST /api/units HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 31
{
"name": "unit_1",
"status": true
}{
"data": {
"id": 1,
"name": "unit_1",
"status": {
"event": "LoadSucceeded"
}
}
}Retrieves all events for a specific unit
Unit name
Unit events retrieved
Unauthorized
Forbidden
Not found
Internal Server Error
GET /api/units/{unit_name}/events HTTP/1.1
Accept: */*
{
"events": [
{
"id": 1,
"inserted_at": "2026-05-08T10:00:00Z",
"status": "completed",
"type": "import",
"unit_id": 1,
"updated_at": "2026-05-08T10:00:00Z"
}
]
}Last updated