Skip to main content
Chat With Agents

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

X-IBM-THREAD-ID
string | null

Optional header to specify the thread ID

Path Parameters

agent_id
string
required

Body

application/json
messages
CreateMessageV2 · object[]
required
additional_parameters
Additional Parameters · object | null
context
Context · object | null

Optional context dictionary

stream
boolean
default:true

Response

Successful Response

id
string<uuid>
required
object
string
required
created
integer
required
model
string
required
choices
Choices · object[]
required
thread_id
string<uuid>
required