cURL
curl --request POST \ --url https://api.trillet.ai/v1/api/omni-flow-agents \ --header 'Content-Type: application/json' \ --header 'x-api-key: <api-key>' \ --header 'x-workspace-id: <x-workspace-id>' \ --data '{ "name": "<string>", "llmModel": "<string>", "settings": {} }'
{ "workspaceId": "01a0sda156scx5f8", "userId": "01a0sda156scx5f8", "name": "ExampleOmniFlowAgent", "llmModel": "gpt-4o-mini", "phoneNumberId": null, "status": "ready", "createdAt": "2025-01-19T03:18:22.604Z", "updatedAt": "2025-01-19T03:18:22.604Z" }
Create a new agent for a workspace.
gpt-4o-mini
ready