AppAIGatewayDocs
API referenceAdmin operations

List stored conversation files

GET
/v1/admin/apps/{app}/conversations

The batches of stored conversations for an app with conversations.store on, oldest first, by the UTC day of their earliest record. Each file is gzipped JSON lines, one request and its response per line. Media the app keeps (conversations.keep) is stored beside them as <YYYY-MM-DD>/media/<sha256>.<ext> and named in the records as agw-media:<name>.

Authorization

agw_identity_auth.session_token<token>

The console's session cookie. Admin requests from the console also send x-console-request: 1.

In: cookie

Path Parameters

app*string

Query Parameters

from?string

First UTC day, YYYY-MM-DD; defaults to the oldest stored.

Match^\d{4}-\d{2}-\d{2}$
to?string

Last UTC day, YYYY-MM-DD, inclusive; defaults to today.

Match^\d{4}-\d{2}-\d{2}$
cursor?string
Lengthlength <= 1024

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/v1/admin/apps/string/conversations"
{  "app_id": "string",  "files": [    {      "name": "string",      "size": 0,      "records": 0,      "uploaded_at": "string"    }  ],  "next_cursor": "string"}