Reporting
Insights
Aggregate figures for a window: counts by outcome, time to complete, activity by day and top senders.
Get insights
GET/api/v1/insights
The Insights dashboard's figures over the envelopes created in a window
DocuSign's Insights. Over the envelopes created in [from, to) (any time by default), Deleted left out: counts by how they stand, the median and 90th percentile of the time from sent to completed (seconds, continuous percentiles), envelopes sent and completed per day in the caller's day (utc_offset_minutes, -840 to 840, default 0; days with neither are absent), and the ten senders who sent most. A holder of reports.read sees the workspace (scope: workspace), of sender when given; anyone else sees their own envelopes (scope: own), and naming another sender is 403 CS-AUTH-0006. Aggregates only: no subject, name or address.
AuthAPI key or OAuth access token (Authorization: Bearer), or a staff session
Permissionenvelopes.read · OAuth scope envelopes:read
Query parameters
fromstringtostringsenderstringA user id, or
meutc_offset_minutesinteger
Returns
200 with application/json.
curl
curl https://sign.example.com/api/v1/insights \
-H "Authorization: Bearer $OPENSEAL_API_KEY"TypeScript
import { OpenSeal } from "@openseal/sdk";
const os = new OpenSeal({ baseUrl: "https://sign.example.com", apiKey: process.env.OPENSEAL_API_KEY });
const data = await os.getInsights();Python
import os
from openseal import OpenSeal
client = OpenSeal("https://sign.example.com", api_key=os.environ["OPENSEAL_API_KEY"])
data = client.get_insights(){
"scope": "workspace",
"from": "2026-11-20T09:30:00Z",
"to": "2026-11-20T09:30:00Z",
"sender": "example",
"utc_offset_minutes": 1,
"totals": {
"created": 1,
"sent": 1,
"completed": 1,
"declined": 1,
"voided": 1,
"expired": 1,
"in_progress": 1
},
"time_to_complete": {
"completed": 1,
"median_seconds": 1.0,
"p90_seconds": 1.0
},
"days": [
{
"day": "2026-11-20",
"sent": 1,
"completed": 1
}
],
"top_senders": [
{
"sender_user_id": "01934e90-2366-76cd-8713-26baacdbd84e",
"sent": 1,
"completed": 1
}
]
}Errors this can answer
| Status | Code | When |
|---|---|---|
| 400 / 422 | CS-API-0001 | Malformed request: a parameter or member is missing, unknown or out of range; errors[] points at it |
| 401 | CS-AUTH-0001 | No credential, or one that is expired or revoked (CS-AUTH-0002) |
| 403 | CS-AUTH-0006 | The credential lacks envelopes.read |
| 429 | CS-API-0003 | Rate limited: wait for Retry-After seconds |
Every error is an RFC 9457 problem with a stable code and a request_id; see Errors.