ورود | ثبت نام
  • FA
  • EN

API Docs

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_contextobjectUpdated 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_context": { "form": { "field": "value" } },
  "created_at": "2020-01-01 00:00:00"
}
footer wave
logo

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

LinkedinInstagramXYoutubeTelegram