API Reference for TextLayer Core
user
: Messages from the end userassistant
: Messages from the AI assistantsystem
: System instructions that guide the assistant’s behaviorstatus
: HTTP status code (e.g., 200 for success, 400 for bad request)payload
: The actual response data, which varies by endpointcorrelation_id
: A unique identifier for tracking the request