Developers
Set your API contextPick a region and space ID once. Every sample fills in your base URL.
Where do I find these?

In Coevera: open your space's API application and choose Show Access. It shows the space ID and the base URL, whose host starts with your region.

From the API: if you know the space ID, the discovery endpoint GET /api/discovery/spaces/{space_id} returns its region and base URLs, without credentials.

Only the region and space ID are kept, in this browser. Never paste a key or password here.

More in the quickstart

GraphQLRepositoriesreportSchedule

entities.reportSchedule

Read report schedule records with the reportSchedule repository, and change them with the report schedule mutations. Same records as the REST ReportSchedules entity.

Queries

Fields of entities { reportSchedule { … } }.

KindFieldReturns
QUERYgetById(entityId: ID!)
Returns the record with the given id, or null when there is none. Deleted records are returned as well.
ReportScheduleEntity
QUERYgetByIds(entityIds: [ID!]!)
Returns the records with the given ids; ids without a record are left out. Deleted records are returned as well.
[ReportScheduleEntity!]!
QUERYgetAll(limit: Int, offset: Int, filter: ReportScheduleFilterInput, orderBy: [ReportScheduleOrderByInput!], includeDeleted: Boolean)
Returns the records that match the filter, paged with limit and offset.
[ReportScheduleEntity!]!
QUERYgetByCriteria(filter: ReportScheduleFilterInput, orderBy: [ReportScheduleOrderByInput!], includeDeleted: Boolean, before: String, after: String, first: Int, last: Int)
Returns the records that match the filter as a cursor-paginated connection.
ReportScheduleEntityConnection
QUERYgetChangedFieldsSinceRevision(id: UUID!, revision: Int!)
Returns the ids of the fields of a record that changed after the given revision. Returns an empty list for entities without change tracking.
[UUID!]!

Mutations

KindMutationDoesReturns
MUTATIONcreateReportSchedule(input: CreateReportScheduleInput!, validationLevel: [ValidationLevel!])Create one recordCreateReportSchedulePayload
MUTATIONupdateReportSchedule(input: UpdateReportScheduleInput!, validationLevel: [ValidationLevel!], sessionIdToUpdate: String)Update fieldsUpdateReportSchedulePayload
MUTATIONbulkUpdateReportSchedule(input: [CreateOrUpdateReportScheduleInput!]!, deleteInput: [DeleteReportScheduleInput!], validationLevel: [ValidationLevel!], rollbackMethod: RollbackMethod, match: MatchingInput)Create or update many; per-item resultsBulkUpdateReportSchedulePayload
MUTATIONdeleteReportSchedule(input: DeleteReportScheduleInput!)Soft-deleteDeleteReportSchedulePayload

Types

The types this repository uses, each with its fields and their descriptions. Types several repositories share, such as PageInfo and the filter fields, are in the types index.

ReportScheduleEntity object 17 fields: isDeleteProtected, id, isDeleted, …

Schedule that emails a report to its recipients at regular intervals.

FieldTypeDescription
isDeleteProtectedBoolean!True when the record is protected against deletion because it must always exist in the space. Deleting a record that is not protected can still fail on other checks. Read-only.
idID!Unique identifier of entity.
isDeletedBooleanSpecifies if the entity is considered deleted.
modifiedDateTimeLast modification time.
createdDateTimeCreation time.
ownerClientEntityUser who owns the schedule. The schedule sends emails on behalf of this user.
reportReportEntityReport whose delivery is scheduled.
ownerIdID!Id of the owning user.
reportIdID!Id of the scheduled report.
settingsReportScheduleSchemaSchedule configuration: cadence, timezone, recipients, email body and report attachment options. Stored as a JSON document. This payload conforms to the ReportScheduleSchema JSON Schema: GET /api/v100/rest/schemas/ReportScheduleSchema.json on your region's API host
revisionIntRevision when entity was lastly changed.
documents[CloudObjectRelationEntity!]Files attached to scheduled emails sent for this report.
senderEmailStringEmail address used to send the scheduled report (company email when configured, otherwise the owner's personal email).
reportNameString!Name of the scheduled report (mirror of the linked Report.name).
reportOwnerIdUUID!Id of the user who owns the scheduled report.
reportTypeReportTypeEnum!Kind of the scheduled report (e.g. TableReport, AdvancedReport, DashboardReport).
instancePermissions[EntityPermsEnum!]! (1 args)Permissions the current user has on this record, out of the requested ones.
ReportScheduleEntityConnection object pageInfo: PageInfo!, edges: [ReportScheduleEntityEdge]!, totalCount: Int

Paginated list of ReportSchedule records.

FieldTypeDescription
pageInfoPageInfo!Pagination data for this connection.
edges[ReportScheduleEntityEdge]!Contains the nodes in this connection.
totalCountIntTotal number of items in the connection.
ReportScheduleEntityEdge object node: ReportScheduleEntity, cursor: String!

A Relay edge containing a ReportScheduleEntity and its cursor.

FieldTypeDescription
nodeReportScheduleEntityThe item at the end of the edge
cursorString!A cursor for use in pagination
ReportScheduleFilterInput input AND, OR, NOT, globalSearchQuery, one condition per field

Filter conditions for ReportSchedule records. Conditions on different fields are combined with AND; use OR, AND and NOT for other combinations.

Input fieldTypeDescription
OR[ReportScheduleFilterInput!]Matches records that meet at least one of the listed filters.
AND[ReportScheduleFilterInput!]Matches records that meet all of the listed filters.
NOTReportScheduleFilterInputMatches records that do not meet this filter.
globalSearchQueryStringSearch term matched against the fields that the global search covers for this entity.
idEntityFilterStringFieldUnique identifier of entity.
isDeletedBooleanSpecifies if the entity is considered deleted.
modifiedEntityFilterDateTimeFieldLast modification time.
createdEntityFilterDateTimeFieldCreation time.
ownerIdEntityFilterStringFieldId of the owning user.
reportIdEntityFilterStringFieldId of the scheduled report.
revisionEntityFilterNumberFieldRevision when entity was lastly changed.
ownerClientFilterInputUser who owns the schedule. The schedule sends emails on behalf of this user. Matches records where a related record meets these conditions.
reportReportFilterInputReport whose delivery is scheduled. Matches records where a related record meets these conditions.
documentsCloudObjectRelationFilterInputFiles attached to scheduled emails sent for this report. Matches records where a related record meets these conditions.
ReportScheduleOrderByInput input Asc or Desc per field

Sorting of ReportSchedule records. Set exactly one field in each item; list several items to sort by more fields, in order of priority.

Input fieldTypeDescription
idOrderByEnumUnique identifier of entity.
isDeletedOrderByEnumSpecifies if the entity is considered deleted.
modifiedOrderByEnumLast modification time.
createdOrderByEnumCreation time.
owner[ClientOrderByNestedInput!]User who owns the schedule. The schedule sends emails on behalf of this user. Sorts by fields of the related record, listed in order of priority.
report[ReportOrderByNestedInput!]Report whose delivery is scheduled. Sorts by fields of the related record, listed in order of priority.
ownerIdOrderByEnumId of the owning user.
reportIdOrderByEnumId of the scheduled report.
revisionOrderByEnumRevision when entity was lastly changed.
CreateOrUpdateReportScheduleInput input 9 fields: clientMutationId, id, modified, …

Field values of a ReportSchedule record to create, or to update when its id is set.

Input fieldTypeDescription
clientMutationIdStringOptional client-supplied identifier passed on a mutation input and echoed back unchanged on its payload, so a client can correlate the response with its request (Relay convention).
idIDUnique identifier of entity.
modifiedDateTimeLast modification time.
createdDateTimeCreation time.
ownerIdIDId of the owning user.
reportIdIDId of the scheduled report.
settingsReportScheduleSchemaJSONStringSchedule configuration: cadence, timezone, recipients, email body and report attachment options. Stored as a JSON document. This payload conforms to the ReportScheduleSchema JSON Schema: GET /api/v100/rest/schemas/ReportScheduleSchema.json on your region's API host
revisionIntRevision when entity was lastly changed.
documents[CreateCloudObjectRelationNoBackrefInput!]Files attached to scheduled emails sent for this report.
CreateReportScheduleInput input 8 fields: clientMutationId, modified, created, …

Field values of a new ReportSchedule record.

Input fieldTypeDescription
clientMutationIdStringOptional client-supplied identifier passed on a mutation input and echoed back unchanged on its payload, so a client can correlate the response with its request (Relay convention).
modifiedDateTimeLast modification time.
createdDateTimeCreation time.
ownerIdID!Id of the owning user.
reportIdID!Id of the scheduled report.
settingsReportScheduleSchemaJSONString!Schedule configuration: cadence, timezone, recipients, email body and report attachment options. Stored as a JSON document. This payload conforms to the ReportScheduleSchema JSON Schema: GET /api/v100/rest/schemas/ReportScheduleSchema.json on your region's API host
revisionIntRevision when entity was lastly changed.
documents[CreateCloudObjectRelationNoBackrefInput!]Files attached to scheduled emails sent for this report.
DeleteReportScheduleInput input clientMutationId: String, id: ID!

Id of the ReportSchedule record to delete.

Input fieldTypeDescription
clientMutationIdStringOptional client-supplied identifier passed on a mutation input and echoed back unchanged on its payload, so a client can correlate the response with its request (Relay convention).
idID!Unique identifier of entity.
UpdateReportScheduleInput input 9 fields: clientMutationId, id, modified, …

Id of a ReportSchedule record and the field values to change.

Input fieldTypeDescription
clientMutationIdStringOptional client-supplied identifier passed on a mutation input and echoed back unchanged on its payload, so a client can correlate the response with its request (Relay convention).
idID!Unique identifier of entity.
modifiedDateTimeLast modification time.
createdDateTimeCreation time.
ownerIdIDId of the owning user.
reportIdIDId of the scheduled report.
settingsReportScheduleSchemaJSONStringSchedule configuration: cadence, timezone, recipients, email body and report attachment options. Stored as a JSON document. This payload conforms to the ReportScheduleSchema JSON Schema: GET /api/v100/rest/schemas/ReportScheduleSchema.json on your region's API host
revisionIntRevision when entity was lastly changed.
documents[CreateCloudObjectRelationNoBackrefInput!]Files attached to scheduled emails sent for this report.
BulkUpdateReportSchedulePayload object result: BulkUpdateResults!

Result of the bulkUpdateReportSchedule mutation.

FieldTypeDescription
resultBulkUpdateResults!Ids of the created, updated and deleted records, and the items that failed.
CreateReportSchedulePayload object reportSchedule: ReportScheduleEntity, clientMutationId: String

Result of the createReportSchedule mutation.

FieldTypeDescription
reportScheduleReportScheduleEntityThe created record.
clientMutationIdStringOptional client-supplied identifier passed on a mutation input and echoed back unchanged on its payload, so a client can correlate the response with its request (Relay convention).
DeleteReportSchedulePayload object reportSchedule: ReportScheduleEntity, clientMutationId: String

Result of the deleteReportSchedule mutation.

FieldTypeDescription
reportScheduleReportScheduleEntityThe deleted record.
clientMutationIdStringOptional client-supplied identifier passed on a mutation input and echoed back unchanged on its payload, so a client can correlate the response with its request (Relay convention).
UpdateReportSchedulePayload object reportSchedule: ReportScheduleEntity, clientMutationId: String

Result of the updateReportSchedule mutation.

FieldTypeDescription
reportScheduleReportScheduleEntityThe updated record.
clientMutationIdStringOptional client-supplied identifier passed on a mutation input and echoed back unchanged on its payload, so a client can correlate the response with its request (Relay convention).
CsvOptions object includeForeignCurrency: Boolean, delimiter: CsvDelimiter, quotechar: CsvQuotechar, encoding: String

Options of a scheduled report attached to its email as a CSV file.

FieldTypeDescription
includeForeignCurrencyBooleanWhen true, monetary values are also rendered in each record's foreign currency alongside the base-currency amounts.
delimiterCsvDelimiterCharacter separating fields in the generated CSV: comma, semicolon, tab or colon.
quotecharCsvQuotecharCharacter used to quote field values that contain the delimiter: double quotation mark or apostrophe.
encodingStringCharacter encoding of the generated CSV file (e.g. "UTF-8").
EmailDataInterface interface 8 fields: recipients, cc, bcc, …

Recipients and content of an email sent automatically by an automation, an email sequence or a scheduled report.

FieldTypeDescription
recipients[SendEmailRecipient!]!Primary recipients of the email. Addresses may contain personalization tags resolved from the triggered record.
cc[SendEmailRecipient!]!Carbon-copy recipients of the email. Addresses may contain personalization tags resolved from the triggered record.
bcc[SendEmailRecipient!]!Blind carbon-copy recipients of the email. Addresses may contain personalization tags resolved from the triggered record.
subjectString!Subject line of the email. May contain personalization tags resolved from the triggered record.
bodyString!HTML body of the email. May contain personalization tags resolved from the triggered record.
emailTemplateIdUUIDEmail template to use for the message. When set, the template supplies the subject and body.
attachments[UUID!]!Stored files attached to the email.
signatureStringSignature appended to the email body.
EmailFollowUpTask object taskTypeId: ID!, dueDateOffset: Int, dueDate: Date

Follow-up task created each time a scheduled report email is sent.

FieldTypeDescription
taskTypeIdID!Activity type assigned to the follow-up task created when the report email is sent.
dueDateOffsetIntNumber of business days after the report email is sent that the follow-up task is due (0 = the sending day). Either this or dueDate must be set, but not both.
dueDateDateExplicit due date for the follow-up task. Either this or dueDateOffset must be set, but not both.
ForeignCurrencyOption interface includeForeignCurrency: Boolean

Options of a scheduled report attachment that can add the amounts in foreign currencies.

FieldTypeDescription
includeForeignCurrencyBooleanWhen true, monetary values are also rendered in each record's foreign currency alongside the base-currency amounts.
PdfOptions object 6 fields: pageWidth, pageHeight, landscape, …

Options of a scheduled report attached to its email as a PDF file.

FieldTypeDescription
pageWidthFloat!Width of the PDF page, in inches.
pageHeightFloat!Height of the PDF page, in inches.
landscapeBoolean!When true, the PDF is laid out in landscape orientation; otherwise portrait.
scaleFloat!Scaling factor applied when rendering the report into the PDF, where 1.0 is full size.
pageNumbersBoolean!When true, page numbers are printed on the generated PDF.
contentReportContent!Which parts of the report to include in the PDF: All content, only Charts, or only the Table.
ProcessScheduleTrigger object 6 fields: date, timeOfDay, dayOfWeek, …

Trigger that starts a process on a schedule for the records of an entity.

FieldTypeDescription
dateDateTimeDate and time the schedule runs once. Set for a one-time schedule; left empty for recurring schedules that use the time-of-day and day fields instead.
timeOfDayIntTime of day a recurring schedule runs, in minutes after midnight (0 to 1439).
dayOfWeek[Int!]Weekdays a weekly schedule runs on, from 1 (Monday) to 7 (Sunday).
dayOfMonth[Int!]Days of the month a monthly schedule runs on, from 1 to 31.
entityTypeEntityNameEnum!Type of record whose changes start this process, such as Lead, Opportunity, Account or Contact.
entityApiNameStringAPI name of the custom entity that starts this process. Set only when the trigger entity type is a custom entity.
ReportSchedule object date: DateTime, timeOfDay: Int, dayOfWeek: [Int!], dayOfMonth: [Int!]

When a scheduled report runs: once at a given date and time, or repeatedly at a time of day on chosen days.

FieldTypeDescription
dateDateTimeDate and time the schedule runs once. Set for a one-time schedule; left empty for recurring schedules that use the time-of-day and day fields instead.
timeOfDayIntTime of day a recurring schedule runs, in minutes after midnight (0 to 1439).
dayOfWeek[Int!]Weekdays a weekly schedule runs on, from 1 (Monday) to 7 (Sunday).
dayOfMonth[Int!]Days of the month a monthly schedule runs on, from 1 to 31.
ReportScheduleSchema object 6 fields: schedule, email, followUp, …

Settings of a scheduled report: when it runs, the email it sends and an optional follow-up task.

FieldTypeDescription
scheduleReportSchedule!Recurrence defining when the report is generated and emailed.
emailScheduledReportEmail!Email delivered on each run: recipients, sending account, content and report attachment options.
followUpEmailFollowUpTaskOptional follow-up task created each time the report email is sent.
timezoneStringIANA timezone name used to interpret the schedule times (e.g. "Europe/Bratislava").
skipEmptyBoolean!When true, the scheduled email is not sent on runs where the report contains no data.
workingDaysOnlyBooleanWhen true, scheduled runs that fall on a weekend are skipped.
ScheduledReportEmail object 12 fields: recipients, cc, bcc, …

Email that delivers a scheduled report: recipients, sending account, content and the attached report file.

FieldTypeDescription
recipients[SendEmailRecipient!]!Primary recipients of the email. Addresses may contain personalization tags resolved from the triggered record.
cc[SendEmailRecipient!]!Carbon-copy recipients of the email. Addresses may contain personalization tags resolved from the triggered record.
bcc[SendEmailRecipient!]!Blind carbon-copy recipients of the email. Addresses may contain personalization tags resolved from the triggered record.
subjectString!Subject line of the email. May contain personalization tags resolved from the triggered record.
bodyString!HTML body of the email. May contain personalization tags resolved from the triggered record.
emailTemplateIdUUIDEmail template to use for the message. When set, the template supplies the subject and body.
attachments[UUID!]!Stored files attached to the email.
signatureStringSignature appended to the email body.
linkRecipientsBooleanWhen true, the sent report email is linked to its recipient records (accounts/contacts) so it appears in their activity feed.
serviceSendEmailService!Email account used to send the report, described as a SendEmailService (personal, company, or client personal account).
personalAccountEmailServiceTypeEnumLegacy sending-provider selector (O365, Google, or SendGrid) kept for report settings created before per-account sending was introduced. Prefer service.
reportAttachmentScheduledReportEmailAttachmentSettings for the report file attached to the email (format and compression). When omitted, the email must instead include the report download link in its subject or body.
ScheduledReportEmailAttachment object 7 fields: formatCsv, formatXlsx, formatHtml, …

Report file attached to a scheduled report email: its format, and whether it is zipped and password-protected.

FieldTypeDescription
formatCsvCsvOptionsRender the attached report as a CSV file with these options. Exactly one of the format fields may be set.
formatXlsxXlsxOptionsRender the attached report as an XLSX file with these options. Exactly one of the format fields may be set.
formatHtmlBooleanWhen true, attach the report as HTML. Exactly one of the format fields may be set.
formatPdfPdfOptionsRender the attached report as a PDF with these options. Exactly one of the format fields may be set.
compressBooleanWhen true, the report attachment is delivered as a compressed ZIP archive.
passwordStringPassword protecting the compressed attachment. Can only be set when compress is enabled.
isPasswordEncryptedBooleanTrue when the stored password value is already encrypted rather than plain text.
ScheduleInterface interface date: DateTime, timeOfDay: Int, dayOfWeek: [Int!], dayOfMonth: [Int!]

When a schedule runs: once at a set date and time, or every day, week or month at a time of day.

FieldTypeDescription
dateDateTimeDate and time the schedule runs once. Set for a one-time schedule; left empty for recurring schedules that use the time-of-day and day fields instead.
timeOfDayIntTime of day a recurring schedule runs, in minutes after midnight (0 to 1439).
dayOfWeek[Int!]Weekdays a weekly schedule runs on, from 1 (Monday) to 7 (Sunday).
dayOfMonth[Int!]Days of the month a monthly schedule runs on, from 1 to 31.
XlsxOptions object includeForeignCurrency: Boolean, type: ReportXlsxType

Options of a scheduled report attached to its email as an Excel (XLSX) file.

FieldTypeDescription
includeForeignCurrencyBooleanWhen true, monetary values are also rendered in each record's foreign currency alongside the base-currency amounts.
typeReportXlsxTypeLevel of detail of the generated XLSX export: a "simplified" layout or the "full" report.