POST
/
public
/
v2
/
capture
/
message

Authorizations

Authorization
string
headerrequired

Body

application/json

Represents a request to capture a message.

Attributes: type (Literal[IngestionType.CaptureMessage]): The type of ingestion, which is set to IngestionType.CaptureMessage. body (CaptureMessageBody): The body of the capture message request.

type
enum<string>
default: capture-message
Available options:
capture-message
body
object
required

Represents a capture message body.

Attributes: role (Literal["user", "assistant", "system"]): The role of the session, can be 'user', 'assistant', or 'system'. content (str): The content of the record.

Response

200 - application/json

The response is of type any.