Skip to main content
POST
/
v1
/
ai
/
agents
/
tasks
/
{taskId}
/
messages
Send a Message to a Task
curl --request POST \
  --url https://eu1.api.matillion.com/dpc/v1/ai/agents/tasks/{taskId}/messages \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "message": "<string>",
  "agentConfig": "<unknown>",
  "grantedPermissions": [
    {
      "toolName": "execute_sql"
    }
  ]
}
'
{
  "taskId": "550e8400-e29b-41d4-a716-446655440000"
}

Documentation Index

Fetch the complete documentation index at: https://docs.maia.ai/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

a valid bearer token

Path Parameters

taskId
string<uuid>
required

Body

application/json
message
string
required
Minimum string length: 1
agentConfig
any
grantedPermissions
object[] | null

Response

Message sent successfully

taskId
string<uuid>

The unique identifier of the task

Example:

"550e8400-e29b-41d4-a716-446655440000"