v65

latestOpenAPI 3.1.0raw.githubusercontent.com2026-08-06129253750.9 KB
Imports

Cancel import

Cancels an import that has not finished. Traces already imported are kept, and the import can be retried later.

post/v1/projects/{projectSlug}/imports/{importId}/cancel

Path parameters

projectSlugstring required

Project slug (human-readable identifier)

Project slug (human-readable identifier)

importIdstring required

Import id.

Import id.

Response

Import cancelled

idstring required

Stable import identifier.

organizationIdstring required

Organization that owns this import.

projectIdstring required

Latitude project the traces are imported into.

source'langfuse' | 'langsmith' | 'braintrust' required

Observability platform the import reads from.

status'created' | 'queued' | 'running' | 'succeeded' | 'capped' | 'cancelled' | 'failed' required

Lifecycle state. created/queued/running are in flight; succeeded finished cleanly; capped stopped at a ceiling with everything before it kept; cancelled and failed can be retried.

errorstring nullable required

Why the import did not finish cleanly, or which ceiling stopped a capped one. status alone says whether it failed.

cancelledAtstring nullable required

ISO-8601 timestamp at which cancellation was requested, or null.

startedAtstring nullable required

ISO-8601 timestamp at which a worker picked the import up, or null.

finishedAtstring nullable required

ISO-8601 timestamp at which the import ended, or null while in flight.

createdAtstring required

ISO-8601 timestamp of creation.

updatedAtstring required

ISO-8601 timestamp of the last update.