Skip to main content
GET
/
v1
/
resources
/
{resourceId}
/
threads
/
{threadId}
/
public-messages
Get thread public messages
curl --request GET \
  --url https://api.illuminalab.com/v1/resources/{resourceId}/threads/{threadId}/public-messages \
  --header 'authorization: <authorization>'
{
  "messages": [
    {
      "id": "<string>",
      "thread_id": "<string>",
      "role": "<string>",
      "parts": "<string>",
      "metadata": "<string>",
      "created_at": "<string>"
    }
  ],
  "total": 123,
  "feedbacks": {},
  "thread_feedback": {
    "sentiment": 123,
    "comment": "<string>"
  }
}

Headers

authorization
string
required
Pattern: ^Bearer [\s\S]{0,}$

Path Parameters

resourceId
string
required

Unique resource identifier

Minimum string length: 10
threadId
string<uuid>
required

UUID of the thread

Pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$

Response

Response for status 200

messages
object[]
required

Array of messages with filtered parts (no reasoning or internal tools)

total
number
required

Total count of messages

feedbacks
object
required

Map of message IDs to feedback data (sentiment and optional comment)

thread_feedback
object
required

Thread-level feedback (score 0-5 with optional comment), null if none exists