Process transaction prompt

Process a transaction-related query with AI assistance

Path parameters

idstringRequired

Company ID

Headers

AuthorizationstringRequired

Bearer authentication of the form Bearer <token>, where token is your auth token.

Request

This endpoint expects an object.
promptstringRequired

User prompt or question about transactions

historylist of objectsOptional

Previous conversation messages

contextDataobjectOptional

Additional context for the prompt

customPromptstringOptional

Custom prompt to override the default one

streamstringOptional

Whether to stream the response

Response

Prompt processed successfully

questionstringOptional

The user’s question being answered

answerobjectOptional

Errors