Send a message to the AI assistant for a project
POST /v1/projects/{projectId}/ai/chat
Sends a message to the AI assistant in the context of the specified project. The assistant can answer questions about the project’s services, messaging topics, and their relationships. An optional conversation history can be provided to maintain context.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ”An identifier (e.g., my-project-a1b2c)
Request Body required
Section titled “Request Body required ”object
The full conversation history including the latest user message
object
The role of the message author (e.g. “user” or “assistant”)
The message content
Responses
Section titled “ Responses ”The AI assistant response
object
object
The role of the message author (e.g. “user” or “assistant”)
The message content
Unauthorized, authentication required
Standard error response
object
HTTP status code
Example
400Machine-readable error code in snake_case
Error message
Example
Validation failedAdditional error details
Example
Project name must be between 3 and 60 charactersProject not found
Standard error response
object
HTTP status code
Example
400Machine-readable error code in snake_case
Error message
Example
Validation failedAdditional error details
Example
Project name must be between 3 and 60 charactersToo many requests
Rate limit exceeded error response
object
HTTP status code
Example
429Machine-readable error code in snake_case
Error message
Example
Too many requestsNumber of seconds until the client can retry
Example
60Headers
Section titled “Headers ”Number of seconds to wait before retrying
Internal server error
Standard error response
object
HTTP status code
Example
400Machine-readable error code in snake_case
Error message
Example
Validation failedAdditional error details
Example
Project name must be between 3 and 60 characters