Plugins
Plugin integration endpoints
Callback used by a REST plugin to deliver the result of a background run. It is called by the plugin, not by API clients. This route runs no authentication: it is reachable without an API key, and the session value is the only thing tying a payload to a plugin run.
Plugin session ID. Must be a valid ObjectId, otherwise 400; an unknown one returns 404.
Result of the plugin run, stored and shown to the user who started it
Set it to mark the session failed. The user is notified that the plugin failed.
Marks the result as a ready export, which changes the notification the user gets
Plugin response received successfully
The body carries no payload, the status code is the acknowledgement.
successBad request - validation error
Resource not found
POST /v2/pluginResponse HTTP/1.1
Host: imeritapi.ango.ai
Content-Type: application/json
Accept: */*
Content-Length: 63
{
"session": "text",
"response": null,
"error": "text",
"export": true
}{
"status": "success",
"data": {}
}Callback used by a REST plugin to store a log line. It is called by the plugin, not by API clients, and the body is written to the plugin log collection as sent. This route runs no authentication: it is reachable without an API key.
Mapped onto the plugin log collection: only the fields below are stored, anything else is dropped.
Plugin session ID
Email of the user who started the run
The log line itself
Plugin log received successfully
The body carries no payload, the status code is the acknowledgement.
successPOST /v2/pluginLog HTTP/1.1
Host: imeritapi.ango.ai
Content-Type: application/json
Accept: */*
Content-Length: 159
{
"pluginId": "text",
"organization": "text",
"session": "text",
"projectId": "text",
"runBy": "text",
"timestamp": "2026-01-01T00:00:00.000Z",
"level": "text",
"msg": "text"
}Plugin log received successfully
{
"status": "success",
"data": {}
}Last updated

