Prisma
API Referenceanalytics

Export Hitl Requests

Export HITL requests with their feedback.

POST
/api/v1/analytics/export/hitl/requests

Authorization

HTTPBearer
AuthorizationBearer <token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X post "http://localhost:8000/api/v1/analytics/export/hitl/requests" \  -H "Content-Type: application/json" \  -d '{    "file_format": "csv",    "include_quality_report": true,    "project_id": "7c9e6679-7425-40de-944b-e07fc1f90ae7",    "request_ids": [      "550e8400-e29b-41d4-a716-446655440000"    ]  }'
{
  "exported_at": "2026-03-22T14:30:00Z",
  "file_format": "csv",
  "file_url": "https://storage.googleapis.com/prisma-exports/hitl/export_20260322143000.csv",
  "filters_applied": {
    "project_id": "7c9e6679-7425-40de-944b-e07fc1f90ae7"
  },
  "message": "Export completed successfully.",
  "quality_report": {
    "completeness": 0.98,
    "issues": []
  },
  "record_count": 142
}
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string"
    }
  ]
}