dambel

دمبل

shevron
ورود | ثبت نام

API Docs / ai / threads / messages / ai thread message resource



AI Thread Message Resource

Represents a message in an AI thread, including content, role, state, and timestamps.


Schema

FieldTypeDescriptionExample
idintUnique identifier for the message123
thread_idintID of the thread123
contentstringMessage content"Hello!"
rolestringRole of the sender (user or assistant)"user"
updated_stateobjectUpdated state data (nullable, JSON){ ... }
created_atstringCreation timestamp (ISO 8601 format)"2020-01-01 00:00:00"

Example

{
  "id": 123,
  "thread_id": 123,
  "content": "Hello!",
  "role": "user",
  "updated_state": { "form": { "field": "value" } },
  "created_at": "2020-01-01 00:00:00"
}
footer wave
logo

دمبل، دنیای هوشمند ورزش و تغذیه

LinkedinInstagramXYoutube