#
OpenAPI Dokumentation
Übergangslösung
Für eigene Entwicklungen ist die Partner-API die empfohlene Schnittstelle. Diese Seite dokumentiert nur noch Funktionen, die dort noch nicht zur Verfügung stehen – im Wesentlichen Abfragen für Auswertung und Reporting. Sie wird schrittweise abgebaut, sobald die entsprechenden Funktionen in der Partner-API verfügbar sind.
Es handelt sich um einen Ausschnitt der internen Plattform-API (Kauz Moonkin Private API). Antworten zu generieren und Analytics-Events zu melden ist bereits vollständig über die Partner-API möglich und dort dokumentiert:
#
/api/health
#
GET
#
Summary
A simple healthcheck endpoint.
#
Description
A simple healthcheck endpoint.
#
Parameters
#
Responses
#
/api/info
#
GET
#
Summary
Returns information about configuration and versions
#
Description
Returns multiple stats about the application and the running plattform, such as component versions and configurations.
#
Parameters
#
Responses
#
/api/v4/events
#
GET
#
Summary
Get events by different filters
#
Description
Get events which match the given filters
#
Parameters
#
Responses
#
/api/v4/events/{eventID}
#
GET
#
Summary
Get event by ID
#
Description
Get an event by given eventID
#
Parameters
#
Responses
#
/api/v4/events/filter
#
POST
#
Summary
Get events by reporting filters
#
Description
Get events which match the given reporting filters
#
Parameters
#
Responses
#
/api/v4/events/{eventID}/reporting
#
PATCH
#
Summary
Update reporting data for a single event
#
Description
Update or remove reporting data for a single event with given eventID
#
Parameters
#
Responses
#
/api/v4/events/meta/distinct
#
GET
#
Summary
Get distinct meta values
#
Description
Get all distinct values for a meta-key including the number of occurences
#
Parameters
#
Responses
#
/api/v4/events/reporting/distinct
#
GET
#
Summary
Get distinct meta values
#
Description
Get all distinct values for a reporting-key including the number of occurences
#
Parameters
#
Responses
#
/api/v4/statistics
#
GET
#
Summary
Get statistics of a chatbot
#
Description
Get statistics of a chatbot by given group
#
Parameters
#
Responses
#
/api/v4/statistics/data/{datakey}
#
GET
#
Summary
Execute a query on events data
#
Description
Execute a query on the data fields of events
#
Parameters
#
Responses
#
/api/v4/statistics/sender/{senderkey}
#
GET
#
Summary
Execute a query on events sender
#
Description
Execute a query on the sender fields of events
#
Parameters
#
Responses
#
/api/v4/statistics/meta/{metaData}
#
GET
#
Summary
Execute a query on events meta
#
Description
Execute a query on the metadata fields of events
#
Parameters
#
Responses
#
/api/v4/statistics/intentIds
#
GET
#
Summary
Execute a query on intent ids
#
Description
Execute a query on specific event ids
#
Parameters
#
Responses
#
/api/v4/statistics/firstGreeting
#
GET
#
Summary
Count first greeting events
#
Description
Count first greeting events and conversations which only contain them
#
Parameters
#
Responses
#
/api/v4/conversations
#
GET
#
Summary
Get all conversations
#
Description
Get all conversations related to a specific group or of all chatbots.
#
Parameters
#
Responses
#
/api/v4/conversations/search
#
GET
#
Summary
Search in message events
#
Description
Search for text in message events and return the matching events
#
Parameters
#
Responses
#
/api/v4/conversations/{conversationID}
#
GET
#
Summary
Get a conversation
#
Description
Get a conversation with given conversationID
#
Parameters
#
Responses
#
/api/v4/conversations/{conversationId}/events/{eventId}
#
GET
#
Summary
Get an event
#
Description
Get a specific event of a conversation
#
Parameters
#
Responses
#
/api/v4/conversations/{conversationID}/reporting
#
PATCH
#
Summary
Update the reporting data of a conversation
#
Description
Update or remove reporting data of a given conversation