## Export `call.export(CallExportParams**kwargs) -> CallExportResponse` **post** `/call/export` Export a list of call attempts as a CSV file. ### Parameters - `filters: Filters` - `assignee_ids: SequenceNotStr[str]` - `assistant_ids: SequenceNotStr[str]` - `campaign_ids: SequenceNotStr[str]` - `directions: List[Literal["inbound", "outbound"]]` - `"inbound"` - `"outbound"` - `from_phone_numbers: SequenceNotStr[str]` - `outcomes: List[Literal["not_interested", "interested", "completed", 2 more]]` - `"not_interested"` - `"interested"` - `"completed"` - `"requested_callback_later"` - `"none"` - `page: int` - `page_size: int` - `results: List[Literal["IVR", "voicemail", "human", 3 more]]` - `"IVR"` - `"voicemail"` - `"human"` - `"unknown"` - `"ios-screening-filter"` - `"none"` - `statuses: List[Literal["initializing", "queued_for_calling", "calling", 6 more]]` - `"initializing"` - `"queued_for_calling"` - `"calling"` - `"post_processing"` - `"scheduled"` - `"paused"` - `"completed"` - `"cancelled"` - `"errored"` - `call_ids: Optional[SequenceNotStr[str]]` - `query: Optional[str]` - `sort_by: Optional[str]` - `sort_direction: Optional[Literal["asc", "desc"]]` - `"asc"` - `"desc"` - `to_phone_number: Optional[str]` - `include_metadata: Optional[bool]` Whether to include the metadata in the CSV file. These are the fields you (optionally) attached when placing the call. - `include_structured_output_fields: Optional[bool]` Whether to include the structured output fields in the CSV file. These are generated by our AI agent during call analysis phase. ### Returns - `class CallExportResponse: …` - `csv: str` - `filename: str` ### Example ```python import os from revox import Revox client = Revox( api_key=os.environ.get("REVOX_API_KEY"), # This is the default and can be omitted ) response = client.call.export( filters={ "assignee_ids": ["string"], "assistant_ids": ["string"], "campaign_ids": ["string"], "directions": ["inbound"], "from_phone_numbers": ["string"], "outcomes": ["not_interested"], "page": 1, "page_size": 1, "results": ["IVR"], "statuses": ["initializing"], }, ) print(response.csv) ```