Call Imports
GET
/api/v1/call-imports/{call_import_id}

Fetch a single import batch with a slice of its rows.

row_limit=0 is intentionally allowed so callers that only need the batch metadata (e.g. the evaluation-detail page rendering the parent's column mapping) can skip the rows payload entirely.

Authorization

AuthorizationBearer <token>

JWT access token. Use: Authorization: Bearer .

In: header

Path Parameters

call_import_id*Call Import Id
Formatuuid

Query Parameters

row_limit?Row Limit
Range0 <= value <= 5000
Default500
row_offset?Row Offset
Range0 <= value
Default0
q?|

Optional case-insensitive substring filter on conversation_id. When set, filtered_total_rows in the response reflects the post-filter row count so the UI can paginate against the filtered slice.

diarised_status?|

Optional filter on CallImportRow.diarised_transcript_status. Accepts one of pending, running, completed, failed. When set, filtered_total_rows reflects the post-filter row count (combined with the q filter when both are supplied) so the UI can paginate against the same slice it's displaying.

Header Parameters

Authorization?string|null
X-API-Key?string|null
X-EFFICIENTAI-API-KEY?string|null
X-Workspace-Id?string|null

Response Body

application/json

application/json

curl -X GET "https://example.com/api/v1/call-imports/497f6eca-6276-4993-bfeb-53cbbbba6f08"
{  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "organization_id": "7c60d51f-b44e-4682-87d6-449835ea4de6",  "workspace_id": "0967198e-ec7b-4c6b-b4d3-f71244cadbe9",  "provider": "string",  "telephony_integration_id": "50fbd5e3-6c05-4c13-a603-21ee107c9692",  "original_filename": "string",  "sheet_name": "string",  "dataset": "string",  "tags": [    {      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "name": "string",      "color": "string",      "created_at": "2019-08-24T14:15:22Z",      "updated_at": "2019-08-24T14:15:22Z"    }  ],  "schema_id": "9c37f32d-8308-4815-9b0d-83fa3c1b25f9",  "parameter_mapping": {    "property1": "string",    "property2": "string"  },  "column_mapping": {    "property1": "string",    "property2": "string"  },  "extra_columns": [    "string"  ],  "custom_column_mapping": {    "property1": "string",    "property2": "string"  },  "skipped_columns": [    "string"  ],  "source_row_skips": [    {      "source_row": 0,      "reason": "string",      "message": "string"    }  ],  "source_s3_key": "string",  "source_format": "string",  "source_size_bytes": 0,  "source_content_type": "string",  "available_sheets": [    {      "name": "string",      "headers": [        "string"      ],      "row_count": 0    }  ],  "total_rows": 0,  "completed_rows": 0,  "failed_rows": 0,  "status": "pending",  "error_message": "string",  "latest_evaluation_status": "string",  "created_at": "2019-08-24T14:15:22Z",  "updated_at": "2019-08-24T14:15:22Z",  "created_by_email": "string",  "last_updated_by_email": "string",  "rows": [    {      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "row_index": 0,      "conversation_id": "string",      "recording_url": "string",      "recording_date": "2019-08-24",      "transcript": "string",      "transcript_source": "string",      "transcript_provider": "string",      "transcript_model": "string",      "transcript_status": "string",      "transcript_error": "string",      "transcribed_at": "2019-08-24T14:15:22Z",      "diarised_transcript": "string",      "diarised_transcript_provider": "string",      "diarised_transcript_model": "string",      "diarised_transcript_status": "string",      "diarised_transcript_error": "string",      "diarised_at": "2019-08-24T14:15:22Z",      "diarised_llm_provider": "string",      "diarised_llm_model": "string",      "diarised_prompt": "string",      "diarised_segments": [        {}      ],      "diarised_speaker_swap": false,      "status": "pending",      "recording_s3_key": "string",      "recording_content_type": "string",      "recording_size_bytes": 0,      "error_message": "string",      "attempts": 0,      "raw_columns": {},      "created_at": "2019-08-24T14:15:22Z",      "updated_at": "2019-08-24T14:15:22Z"    }  ],  "filtered_total_rows": 0,  "diarised_pending_rows": 0,  "diarised_running_rows": 0,  "diarised_completed_rows": 0,  "diarised_failed_rows": 0}

Community & contact

  1. Found a bug or have a feature request? Open a GitHub issue.
  2. Join our Discord for faster replies!