Create a trace import
Create a scheduled import or queue a one-time import. A scheduled import returns HTTP 201 with import. A one-time import returns HTTP 202 with import, run, and task. Example request: {"connection_uuid":"8c78a85e-eac2-4f57-b5f5-59a68a1e77a1","provider_project_id":"project-123","name":"Support traces","selection":{"trace_ids":["trace-123"]},"mapping":{"task_family":{"source":"fixed","value":"support"}}}.
Authentication
Type “Api-Key” followed by a space and the project API key.
Path parameters
Request
Mapping defines how source traces become Traces. Example: {“task_family”:{“source”:“fixed”,“value”:“support”}}.
Schedule enables recurring imports when supplied. Example: {“interval_hours”:4,“start_from”:“now”,“settle_minutes”:5,“max_open_hours”:24}.
Selection defines the traces to import. Example: {“trace_ids”:[“trace_123”]}.
Response
Import is the created import resource. Example: {“uuid”:“332c28e1-e6a7-4bca-97b2-ef1ec82c65fa”}.
Run is the pending one-time run. The field is absent for a scheduled import. Example: {“uuid”:“ea7e2724-9bfd-4ca1-aa5c-40a1dd72a688”,“status”:“pending”}.
Task is the pending Task that will process the run. The field is absent for a scheduled import. Example: {“uuid”:“3124c01a-8f49-4bfd-9758-6ce491a377c1”,“status”:“pending”}.