Agent Chat Completions
lyzr_agent_chat_completionsSend chat messages to a specific Lyzr agent and receive completions. Use this endpoint to interact with an agent using OpenAI-style conversation format, optionally streaming responses.
Instructions
OpenAI-compatible chat/completions endpoint scoped to a specific agent.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| stream | No | Whether to stream the response (default false) | |
| agent_id | Yes | The agent id | |
| messages | Yes | OpenAI-style chat messages |