curl --request GET \
--url https://api.flowent.chat/api/v1/gateway/actions/{name} \
--header 'Authorization: Bearer <token>'{
"action": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"tenant_id": "123e4567-e89b-12d3-a456-426614174001",
"name": "send_email",
"description": "Send an email to a specified recipient",
"json_schema": {
"type": "object",
"properties": {
"recipient": {
"type": "string",
"description": "Email address of the recipient"
},
"subject": {
"type": "string",
"description": "Email subject line"
},
"body": {
"type": "string",
"description": "Email body content"
}
},
"required": [
"recipient",
"subject",
"body"
]
},
"webhook_url": "https://your-server.com/actions/send_email",
"created_at": "2023-01-01T12:00:00Z",
"updated_at": "2023-01-01T12:00:00Z"
}
}Retrieve details of a specific action by name
curl --request GET \
--url https://api.flowent.chat/api/v1/gateway/actions/{name} \
--header 'Authorization: Bearer <token>'{
"action": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"tenant_id": "123e4567-e89b-12d3-a456-426614174001",
"name": "send_email",
"description": "Send an email to a specified recipient",
"json_schema": {
"type": "object",
"properties": {
"recipient": {
"type": "string",
"description": "Email address of the recipient"
},
"subject": {
"type": "string",
"description": "Email subject line"
},
"body": {
"type": "string",
"description": "Email body content"
}
},
"required": [
"recipient",
"subject",
"body"
]
},
"webhook_url": "https://your-server.com/actions/send_email",
"created_at": "2023-01-01T12:00:00Z",
"updated_at": "2023-01-01T12:00:00Z"
}
}