Skip to main content

Handling Errors

If there is an error in your request, you will receive a response with an error field explaining the issue. Ensure your input adheres to the specified schema.

Example Error Response

When calling an agent that summarizes musical artist info with an invalid artist name, you might receive a response like this:
The entire response will look like this: