Initiate a session*

Description: Start a new conversation session with your AI agent.

URL: POST https://agents.gigaml.com/webhook/initiate-session

Response codes:

  • 200 OK: Session initiated successfully or session already exists
  • 401 Unauthorized: Invalid API key
  • 500 Internal Server Error: Server error

Receive a message*

Description: Receive a user message from an active conversation session.

URL: POST https://agents.gigaml.com/webhook/receive-message

Response codes:

  • 200 OK: Message queued successfully or message already processed
  • 404 Not Found: Session not found
  • 401 Unauthorized: Invalid API key
  • 500 Internal Server Error: Server error

Close a session

Description: End an existing conversation session. Inactive conversations end after 1 hour by default.

URL: POST https://agents.gigaml.com/webhook/close-session

Response codes:

  • 200 OK: Session closed successfully
  • 404 Not Found: Session not found
  • 401 Unauthorized: Invalid API key
  • 500 Internal Server Error: Server error