Threads
Get thread messages
Returns messages for a thread. Messages are fetched from the ThreadAgent Durable Object.
GET
Get thread messages
Authorizations
WorkOS JWT token. Obtain via WorkOS AuthKit authentication flow. The token must include organization_id claim for organization-scoped endpoints.
Path Parameters
Thread ID to fetch messages for
Query Parameters
Maximum messages to return
Required range:
1 <= x <= 100Get thread messages

