Python SDK
import
Bulk-import historical traces (deprecated path — use /traces/import-bulk)
deprecated
Bulk-import historical traces — useful for migrating from another observability tool or seeding the dashboard from a backup.
Body: {"traces": [...trace payloads...], "source_type": "manual"}. Each
trace follows the same shape as POST /api/v1/traces. Duplicate trace_id
values are silently skipped — re-running an import is safe.
Quota: Imported traces count toward your plan’s traces_ingested
quota at half the rate of live ingest.
POST
Python SDK
Authorizations
Enter your API key (e.g. dai_sk_test_key_001)
Headers
Cookies
Body
application/json
The body is of type Payload · object.
Response
Successful Response
The response is of type Response Import Traces Api V1 Import Traces Post · object.