Demeterics Extract icon

Demeterics Extract

Extract interaction data via the Demeterics Export API

Create Export Job

AI-generated

Summary

Create a Demeterics export job specifying the data format, date range, and tables to export, returning a request ID for later retrieval of export data.

Inputs

  • Format — Select the export format: JSON (parses to items), CSV, or Avro (both returned as binary files). Defaults to JSON.
  • Start Date — Optional start date filter (inclusive) in YYYY-MM-DD format to limit exported data.
  • End Date — Optional end date filter (inclusive) in YYYY-MM-DD format to limit exported data.
  • Tables — Choose one or more tables to export data from: interactions, eval_runs, and/or eval_results. Defaults to interactions.

Output shape

a list of JSON objects containing the export job response, including the request ID for the created export job

The operation returns JSON with export job details (including a request_id). Actual export data must be retrieved asynchronously using this request_id with the Stream Export by Request ID operation.

Examples

Example 1: Creating an export job to export interaction data from 2023-01-01 to 2023-01-31 in JSON format

Set Format to JSON, Start Date to '2023-01-01', End Date to '2023-01-31', and Tables to ['interactions']

Links

Discussion