OpenPhn docs
Referencecalls

Export calls as CSV

{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */}

Stream the user's calls as a CSV file.

Columns: call_id, created_at, to, from, objective, status, confidence, duration_seconds, cost_total, error_code, recording_url.

Tier gate: Pro+ only. Starter tier receives 403 with tier_required.

NOTE: This route MUST be registered before /\{call_id\} or FastAPI will dispatch export.csv to the dynamic route and return 400 "Invalid call_id format" instead of running the export.

GET
/v1/calls/export.csv

Query Parameters

status?string|null
limit?Limit
Default10000

Response Body

application/json

application/json

curl -X GET "https://loading/v1/calls/export.csv"
null
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string",
      "input": null,
      "ctx": {}
    }
  ]
}