Data feeds are not available by default. Reach out to your ASAPP account contact to ensure data feeds are enabled for your implementation.
Before You Begin
To use ASAPP’s APIs, all apps must be registered through the AI Services Developer Portal. Once registered, each app will be provided unique API keys for ongoing use.Get your API credentials and learn how to set up AI Service APIs by visiting our Developer Quick Start Guide.
Endpoints
The File Exporter service uses six parameters to specify a target file:feed: The name of the data feed of interestversion: The version number of the feedformat: The file formatdate: The date of interestinterval: The time interval of interestfileName: The data file name
/fileexporter/v1/static/getfeedfile), which takes these parameters in the request and returns a URL.
POST/fileexporter/v1/static/listfeedsUse this endpoint to retrieve an array of feed names available for your implementation.POST/fileexporter/v1/static/listfeedversionsUse this endpoint to retrieve an array of versions available for a given data feed.POST/fileexporter/v1/static/listfeedformatsUse this endpoint to retrieve an array of available file formats for a given feed and version.POST/fileexporter/v1/static/listfeeddatesUse this endpoint to retrieve an array of available dates for a given feed/version/format.POST/fileexporter/v1/static/listfeedintervalsUse this endpoint to retrieve an array of available intervals for a given feed/version/format/date.POST/fileexporter/v1/static/listfeedfilesUse this endpoint to retrieve an array of file names for a given feed/version/format/date/interval.POST/fileexporter/v1/static/getfeedfileUse this endpoint to retrieve a single file URL for the data specified using parameters returned from the above endpoints.
Values for
file will differ based on the requested date and interval parameters. Always call this endpoint prior to calling /getfeedfile.In the
getfeedfile request, all parameters are required except intervalEndpoint List
-
POST /fileexporter/v1/static/listfeedsRetrieve an array of feed names available for your implementation. -
POST /fileexporter/v1/static/listfeedversionsRetrieve an array of versions available for a given data feed. -
POST /fileexporter/v1/static/listfeedformatsRetrieve an array of available file formats for a given feed and version. -
POST /fileexporter/v1/static/listfeeddatesRetrieve an array of available dates for a given feed/version/format. -
POST /fileexporter/v1/static/listfeedintervalsRetrieve an array of available intervals for a given feed/version/format/date. -
POST /fileexporter/v1/static/listfeedfilesRetrieve an array of file names for a given feed/version/format/date/interval.Values forfilewill differ based on the requesteddateandintervalparameters. Always call this endpoint prior to calling/getfeedfile. -
POST /fileexporter/v1/static/getfeedfileRetrieve a single file URL for the data specified using parameters returned from the above endpoints.In thegetfeedfilerequest, all parameters are required exceptinterval
Making Routine Requests
Only two requests are needed for exporting data on an ongoing basis for different timeframes. To export a file each time, make these two calls:-
Call
/listfeedfilesusing the samefeed,version,formatparameters, and alter thedateandintervalparameters as necessary (intervalis optional) to specify the time period of the data file you wish to retrieve. In response, you will receive the name(s) of thefileneeded for making the next request. -
Call
/getfeedfilewith the same parameters as above and thefilename parameter returned from/listfeedfiles. In response, you will receive the accessurl. -
Call
/listfeedfilesusing the samefeed,version,formatparameters, and alter thedateandintervalparameters as necessary (intervalis optional) to specify the time period of the data file you wish to retrieve. In response, you will receive the name(s) of thefileneeded for making the next request. -
Call
/getfeedfilewith the same parameters as above and thefilename parameter returned from/listfeedfiles. In response, you will receive the accessurl.
/getfeedfile for the file url would look like this:
Data Feeds
File Exporter makes the following data feeds available:-
Conversation State:
staging_conversation_stateCombines ASAPP conversation identifiers with metadata including summaries, augmentation counts, intent, crafting times, and important timestamps. -
Utterance State:
staging_utterance_stateCombines ASAPP utterance identifiers with metadata including sender type, augmentations, crafting times, and important timestamps. NOTE: Does not include utterance text. -
Utterances:
utterancesCombines ASAPP conversation and utterance identifiers with utterance text and timestamps. Identifiers can be used to join utterance text with metadata from utterance state feed. -
GenerativeAgent:
generativeagentContains the per conversation data for GenerativeAgent. GenerativeAgent Feed Data can be found here -
Free-Text Summaries:
autosummary_free_textRetrieves data from free-text summaries generated by AutoSummary. This feed has one record per free-text summary produced and can have multiple summaries per conversation . -
Feedback:
autosummary_feedbackRetrieves the text of the feedback submitted by the agent. Developers can join this feed to the AutoSummary free-text feed using the summary ID. -
Structured Data:
autosummary_structured_dataRetrieves structured data to extract information and insights from conversations in the form of yes/no answers (up to 20) from summaries generated by AutoSummary.
Feed table names that include the prefix
staging_ are not referencing a lower environment; table names have no connection to environments.