Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Section

Instructions

Success Query

Enter the JSON query to retrieve the content of the chat message completion. For example, if the JSON response from the API is

Code Block
languagejson
{
  "content": [
    {
      "text": "Hi! My name is Claude.",
      "type": "text"
    }
  ]
}

Then the query will be content[0].text

Error Query

Enter the query to retrieve the error message when an error occurs. This is not strictly necessary, but it will help users when an error pops up.

...