Build evidence-pack workflows into your TMS, ERP, or procurement stack
Create workspaces, trigger pack generation, retrieve structured artifacts, record approvals, and test webhook delivery through the LogisticsAI API.
Legacy report endpoints remain available during migration to the workspace and evidence-pack model.
Workspace orchestration
Create and inspect reusable reporting workspaces instead of managing one-off PDFs.
Pack artifacts
Retrieve machine-readable JSON, methodology statements, evidence registers, and audit trail artifacts from one pack version.
Webhook testing
Validate outbound webhook delivery against procurement, TMS, or sustainability endpoints before enabling production automations.
Core workflow endpoints
Grouped around the jobs product teams need to run inside an evidence-pack workflow. View OpenAPI Spec ->
/api/v2/workspacesCreate Workspace
Creates a reusable reporting workspace with reporting period and methodology defaults.
Request body
{
"name": "Q2 Forwarding Workspace",
"external_reference": "shipper-eu-q2-2026",
"reporting_period_start": "2026-04-01",
"reporting_period_end": "2026-06-30"
}Response
{
"data": {
"id": "8a3f0898-6239-4ef3-b97e-06d8578f9d73",
"name": "Q2 Forwarding Workspace",
"status": "draft"
}
}/api/v2/workspacesList Workspaces
Returns paginated workspaces for the authenticated organisation.
Response
{
"data": [
{
"id": "8a3f0898-6239-4ef3-b97e-06d8578f9d73",
"name": "Q2 Forwarding Workspace",
"status": "review_needed"
}
],
"pagination": { "page": 1, "per_page": 20, "total": 1 }
}/api/v2/workspaces/{id}/packsGenerate Evidence Pack
Builds or refreshes the evidence pack generated from the current workspace state.
Request body
{
"legacy_report_id": "550e8400-e29b-41d4-a716-446655440000"
}Response
{
"data": {
"id": "e7decc2f-1a69-40f3-b7f0-d77f24bdb4c0",
"title": "Emissions Evidence Pack",
"status": "published"
}
}/api/v2/packs/{id}/artifactsList Pack Artifacts
Returns every artifact for a pack together with signed download URLs.
Response
{
"data": [
{
"artifact_type": "machine_json",
"status": "generated",
"signed_download_url": "https://storage.logisticsai.eu/reports/..."
}
]
}/api/v2/packs/{id}/approvalsRecord Approval Action
Moves a pack through request, approval, rejection, or publish actions with auditability.
Request body
{
"action_type": "approved",
"comment": "Approved by embedded review workflow"
}Response
{
"data": {
"reportPackId": "e7decc2f-1a69-40f3-b7f0-d77f24bdb4c0",
"statusBefore": "in_review",
"statusAfter": "approved"
}
}/api/v2/webhooks/testTest Webhook Delivery
Sends a signed test webhook payload to your endpoint and records the outcome.
Request body
{
"target_url": "https://example.com/webhooks/logisticsai",
"event_type": "pack.published"
}Response
{
"data": {
"delivered": true,
"http_status": 200,
"event_type": "pack.published"
}
}How the integration model works
The v2 API mirrors the same workspace and evidence-pack workflow already running in the product.
Create a workspace and register imports from your source system.
Trigger calculation runs, review quality, and generate a versioned evidence pack.
Retrieve artifacts, record approval actions, and test outbound webhooks.
Legacy compatibility
Existing /api/v1/reports endpoints remain live while clients migrate to the workspace and pack model.
Use the API when you want LogisticsAI to become a reporting layer inside your own product or workflow.