Summary Get
Markdown for LLMsReturns one of two summaries for a home screen, chosen by type: dashboard for the caller's own work, self-service for an account administrator.
dashboard returns the caller's envelope counts — the same todo, pending, inbox, expiring and completed numbers signatures-envelope-count returns — with short lists of what they worked on recently: finished envelopes, envelopes waiting for them, pending envelopes with their latest activity, and recent envelope templates, document records, document solutions, document templates and data sources.
self-service returns the subscriptions the caller can administer, counted by status, their users counted as active or inactive, and how many usage limits have been breached across them.
Both shapes are in result.data, and neither names its type: read it from the type sent. A call without a bearer token is rejected at the gateway with 401 AUTHORIZATION_ERROR.
JWT token to authenticate the request.
In: header
API key, sent as a request header.
In: header
Query Parameters
Which summary to return: dashboard or self-service, matched without regard to case. Mandatory: a request without it matches no operation and is answered with 404 NOT_FOUND from the gateway, and an empty or unrecognized value is rejected with 400 INVALID_SUMMARY_TYPE.
Value in
- "dashboard"
- "self-service"
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/common/summary?type=dashboard"{ "result": { "statusCode": 200, "message": "OK", "data": { "todo": 1, "pending": 1, "inbox": 124, "expiring": 1, "completed": 2, "recentEnvelopes": [ { "id": "af86ba5d-f7c2-4e91-b55d-4dfaaa6bcd5e", "name": "NDA - Acme Corp", "status": "Completed" } ], "oldestTodoEnvelopes": [ { "id": "97055c48-1406-459b-81d8-cd9e46641457", "name": "Vendor Agreement", "sendDate": "2026-10-16T10:29:49.000Z", "userName": "John Doe", "tid": "9f22de7e-1c02-4b61-b005-9fe3d63181ae" } ], "latestPendingEnvelopes": [ { "id": "6c179949-bfa0-4172-90a0-8234b1d1b376", "name": "Offer Letter", "action": "Envelope viewed", "timestamp": "2026-10-16T09:42:14.000Z", "person": "John Signer" } ], "recentTemplates": [ { "id": "63901a23-b5ca-42ac-8970-86a886b99103", "name": "NDA Template", "type": "Personal Template" } ], "recentDocuments": [ { "id": "5a016d5d-9ab2-46d0-97f8-fdfe422deee4", "title": "INV-2026-000123", "solutionName": "Quarterly Invoicing", "urn": "7ac9cd1a-5737-4fa4-9655-d583d3b8e121", "url": "", "fileFormat": "pdf", "deliveryMethod": "Storage", "createdDate": "2026-10-16T10:02:55.000Z" } ], "recentSolutions": [ { "id": "9708909a-31c2-4153-b2db-7faaeeee3527", "name": "Quarterly Invoicing", "description": "Invoice run for quarterly billing.", "requests": [ { "id": "3687f8d0-b356-42c7-8c23-0172014218f6", "name": "My First API Generated Document", "createdDate": "2026-10-13T11:31:41.000Z", "status": "Completed" } ] } ], "recentDocumentTemplates": [ { "id": "d8e888ad-c8cc-4578-9a6f-9c3a0821d8de", "name": "Standard Invoice", "description": "Company standard invoice layout.", "requests": [] } ], "recentDataSources": [ { "id": "b1b83ba0-2929-4456-94dc-3e0fffe89c0b", "name": "Account records", "description": "Account records used for quarterly reports.", "requests": [] } ] } }, "origin": "GET https://api.doctavian.com/v1/common/summary", "dateTime": "2026-10-16T10:02:05.000Z", "userId": "1fa93f1d-07e8-4e08-84e6-c0098f3b6ed5", "operationId": "e18abb7bd4a6249ab650fac6839e6b17"}{ "error": { "statusCode": 400, "message": "Bad Request", "innerErrors": [ { "code": "INVALID_SUMMARY_TYPE", "message": "Invalid summary type.", "userMessage": "The requested summary type is not supported." } ], "externalErrors": [] }, "origin": "GET https://api.doctavian.com/v1/common/summary", "dateTime": "2026-10-16T10:02:07.000Z", "userId": "1fa93f1d-07e8-4e08-84e6-c0098f3b6ed5", "operationId": "67a9b7dca6b37f89da9d4d8ecae156cf"}{ "error": { "statusCode": 401, "message": "Unauthorized", "innerErrors": [ { "code": "AUTHORIZATION_ERROR", "message": "Authorization header is missing.", "userMessage": "Authorization header is missing." } ] }, "origin": "GET https://api.doctavian.com/v1/common/summary", "dateTime": "2026-10-16T10:02:01.000Z"}{ "error": { "statusCode": 404, "message": "Not Found", "innerErrors": [ { "code": "NOT_FOUND", "message": "OperationNotFound", "userMessage": "Unable to match incoming request to an operation." } ] }, "origin": "", "dateTime": "2026-10-16T07:34:38.000Z"}{ "error": { "statusCode": 500, "message": "Internal Server Error", "innerErrors": [ { "code": "FUNCTION_EXECUTION_ERROR", "message": "An unexpected error occurred while processing the request.", "userMessage": "Something went wrong. Please contact support.", "eventId": "0c6e2a9d-4b1f-4738-8a5e-3d7f1b9c2e60" } ], "externalErrors": [] }, "origin": "GET https://api.doctavian.com/v1/common/summary", "dateTime": "2026-10-16T10:02:09.000Z", "userId": "1fa93f1d-07e8-4e08-84e6-c0098f3b6ed5", "operationId": "1f1b87bd8b29595c99a4202cb688d5ed"}