Returns messages for a thread. Messages are fetched from the ThreadAgent Durable Object.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Thread ID to fetch messages for
Maximum messages to return
1 <= x <= 100