detailed error message

Hi, I am triggering a dbt cloud job through an airflow DAG using the dbt API. From the API response, I can determine whether the job has succeeded or failed. however, when the job fails, the response JSON only returns “dbt command failed” without providing a detailed error message. i need to retrieve the specific error details.