Capture Events
Capture Message
Capture a message.
POST
/
public
/
v2
/
capture
/
message
Authorizations
Authorization
string
headerrequiredBody
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-messageAvailable options:
capture-message
body
object
requiredRepresents 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
.
Was this page helpful?