GET
/
v1
/
api
/
omni-flow-agents
/
{id}
curl --request GET \
  --url https://api.trillet.ai/v1/api/omni-flow-agents/{id} \
  --header 'x-api-key: <api-key>' \
  --header 'x-workspace-id: <x-workspace-id>'
{
  "workspaceId": "674b9687d56a35c024db9cce",
  "userId": "674b9687d56a35c024db9ccc",
  "name": "test",
  "llmModel": "gpt-4o-mini",
  "phoneNumberId": null,
  "status": "ready",
  "createdAt": "2025-01-19T03:18:22.604Z",
  "updatedAt": "2025-01-19T03:18:22.604Z",
  "messageChannel": "SMS"
}

Headers

x-api-key
string
required

API key used for authenticating requests to the API.

x-workspace-id
string
required

Workspace identifier for the API.

Path Parameters

id
string
required

The unique identifier of the agent.

{
  "workspaceId": "674b9687d56a35c024db9cce",
  "userId": "674b9687d56a35c024db9ccc",
  "name": "test",
  "llmModel": "gpt-4o-mini",
  "phoneNumberId": null,
  "status": "ready",
  "createdAt": "2025-01-19T03:18:22.604Z",
  "updatedAt": "2025-01-19T03:18:22.604Z",
  "messageChannel": "SMS"
}

Response Fields

workspaceId
string

Workspace ID associated with the agent.

userId
string

User ID of the agent creator.

name
string

Name of the agent.

llmModel
string

Language model used by the agent (e.g., gpt-4o-mini).

phoneNumberId
object

The phone number ID associated with the agent, if available.

status
string

Current status of the agent (e.g., ready).

createdAt
string

Timestamp when the agent was created.

updatedAt
string

Timestamp when the agent was last updated.

messageChannel
string

The channel used by the agent for communication (e.g., SMS).