202 and a run.
Accepted:
awaiting_input, the next POST is the answer and the run resumes. Otherwise a new run starts.
Attributes
uuid
Unique identifier for the message. Present on list, not on the
202.enum
user, assistant, or system.string
Message text.
uuid
Run that produced or accepted this message.
integer
Position on the thread.
timestamp
When the message was written.
uuid
Thread the run belongs to. Present on the
202.enum
Run state at accept time. See The Run object.
Endpoints
- Send a message —
POST /v1/loom/threads/:thread_id/messages - List messages —
GET /v1/loom/threads/:thread_id/messages