Introduction and overview of agents
Note: Deleted agents cannot be recovered. Ensure you have backups or exports if necessary before deletion.
POST /v3/inference/chat/
Key | Value |
---|---|
Accept | application/json |
Content-Type | application/json |
Field | Type | Description |
---|---|---|
user_id | string | User identifier |
agent_id | string | ID of the agent to chat with |
session_id | string | Unique identifier to track session |
message | string | Userβs message to the agent |
assets | array | List of asset IDs (PDFs, DOCXs, Images) |
asset_id
sassets
field, first upload your files via:
POST /v3/assets/upload
asset_id
from the response and include it in your chat inference call.
session_id
to maintain context in a chat.Code | Meaning | Reason |
---|---|---|
422 | Validation Error | Missing required fields or bad asset ID |
500 | Internal Server Error | API failed to process due to an issue |