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

GraphQLRepositoriesapprovalProcessActivityLogLine

entities.approvalProcessActivityLogLine

Read approval process activity log line records with the approvalProcessActivityLogLine repository, and change them with the approval process activity log line mutations. Same records as the REST ApprovalProcessActivityLogLines entity.

Queries

Fields of entities { approvalProcessActivityLogLine { … } }.

KindFieldReturns
QUERYgetById(entityId: ID!)
Returns the record with the given id, or null when there is none. Deleted records are returned as well.
ApprovalProcessActivityLogLineEntity
QUERYgetByIds(entityIds: [ID!]!)
Returns the records with the given ids; ids without a record are left out. Deleted records are returned as well.
[ApprovalProcessActivityLogLineEntity!]!
QUERYgetAll(limit: Int, offset: Int, filter: ApprovalProcessActivityLogLineFilterInput, orderBy: [ApprovalProcessActivityLogLineOrderByInput!], includeDeleted: Boolean)
Returns the records that match the filter, paged with limit and offset.
[ApprovalProcessActivityLogLineEntity!]!
QUERYgetByCriteria(filter: ApprovalProcessActivityLogLineFilterInput, orderBy: [ApprovalProcessActivityLogLineOrderByInput!], includeDeleted: Boolean, before: String, after: String, first: Int, last: Int)
Returns the records that match the filter as a cursor-paginated connection.
ApprovalProcessActivityLogLineEntityConnection
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
MUTATIONcreateApprovalProcessActivityLogLine(input: CreateApprovalProcessActivityLogLineInput!, validationLevel: [ValidationLevel!])Create one recordCreateApprovalProcessActivityLogLinePayload
MUTATIONupdateApprovalProcessActivityLogLine(input: UpdateApprovalProcessActivityLogLineInput!, validationLevel: [ValidationLevel!], sessionIdToUpdate: String)Update fieldsUpdateApprovalProcessActivityLogLinePayload
MUTATIONbulkUpdateApprovalProcessActivityLogLine(input: [CreateOrUpdateApprovalProcessActivityLogLineInput!]!, deleteInput: [DeleteApprovalProcessActivityLogLineInput!], validationLevel: [ValidationLevel!], rollbackMethod: RollbackMethod, match: MatchingInput)Create or update many; per-item resultsBulkUpdateApprovalProcessActivityLogLinePayload
MUTATIONdeleteApprovalProcessActivityLogLine(input: DeleteApprovalProcessActivityLogLineInput!)Soft-deleteDeleteApprovalProcessActivityLogLinePayload

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.

ApprovalProcessActivityLogLineEntity object 14 fields: formattedText, isDeleteProtected, id, …

Entry in the activity log of an approval, recording one step of the approval and its result.

FieldTypeDescription
formattedTextString!Human-readable rendering of the log line, prefixed with the line's timestamp and (when applicable) the parent record id.
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.
approvalApprovalEntityApproval this log line belongs to.
approvalIdID!Id of the approval this log line belongs to.
dataJSONString!Typed JSON payload describing the approval step (e.g. approver decisions, comments).
executedAtDateTimeTimestamp the step represented by this line was executed. Empty for scheduled steps that have not yet run.
isVisibleBooleanTrue when the line is shown in the activity log UI; false for internal-only lines.
sortOrderInt!Position of the line within its approval run.
statusProcessStatusEnumResult of the approval step recorded by this line, such as Ok, Warning or Error.
instancePermissions[EntityPermsEnum!]! (1 args)Permissions the current user has on this record, out of the requested ones.
ApprovalProcessActivityLogLineEntityConnection object pageInfo: PageInfo!, edges: [ApprovalProcessActivityLogLineEntityEdge]!, totalCount: Int

Paginated list of ApprovalProcessActivityLogLine records.

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

A Relay edge containing a ApprovalProcessActivityLogLineEntity and its cursor.

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

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

Input fieldTypeDescription
OR[ApprovalProcessActivityLogLineFilterInput!]Matches records that meet at least one of the listed filters.
AND[ApprovalProcessActivityLogLineFilterInput!]Matches records that meet all of the listed filters.
NOTApprovalProcessActivityLogLineFilterInputMatches 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.
approvalIdEntityFilterStringFieldId of the approval this log line belongs to.
executedAtEntityFilterDateTimeFieldTimestamp the step represented by this line was executed. Empty for scheduled steps that have not yet run.
isVisibleBooleanTrue when the line is shown in the activity log UI; false for internal-only lines.
sortOrderEntityFilterNumberFieldPosition of the line within its approval run.
statusProcessStatusEnumFilterInputResult of the approval step recorded by this line, such as Ok, Warning or Error.
approvalApprovalFilterInputApproval this log line belongs to. Matches records where a related record meets these conditions.
ApprovalProcessActivityLogLineOrderByInput input Asc or Desc per field

Sorting of ApprovalProcessActivityLogLine 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.
approval[ApprovalOrderByNestedInput!]Approval this log line belongs to. Sorts by fields of the related record, listed in order of priority.
approvalIdOrderByEnumId of the approval this log line belongs to.
executedAtOrderByEnumTimestamp the step represented by this line was executed. Empty for scheduled steps that have not yet run.
isVisibleOrderByEnumTrue when the line is shown in the activity log UI; false for internal-only lines.
sortOrderOrderByEnumPosition of the line within its approval run.
statusOrderByEnumResult of the approval step recorded by this line, such as Ok, Warning or Error.
CreateApprovalProcessActivityLogLineInput input 9 fields: clientMutationId, modified, created, …

Field values of a new ApprovalProcessActivityLogLine 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.
approvalIdID!Id of the approval this log line belongs to.
dataJSONString!Typed JSON payload describing the approval step (e.g. approver decisions, comments).
executedAtDateTimeTimestamp the step represented by this line was executed. Empty for scheduled steps that have not yet run.
isVisibleBooleanTrue when the line is shown in the activity log UI; false for internal-only lines.
sortOrderInt!Position of the line within its approval run.
statusProcessStatusEnumResult of the approval step recorded by this line, such as Ok, Warning or Error.
CreateOrUpdateApprovalProcessActivityLogLineInput input 10 fields: clientMutationId, id, modified, …

Field values of an ApprovalProcessActivityLogLine 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.
approvalIdIDId of the approval this log line belongs to.
dataJSONStringTyped JSON payload describing the approval step (e.g. approver decisions, comments).
executedAtDateTimeTimestamp the step represented by this line was executed. Empty for scheduled steps that have not yet run.
isVisibleBooleanTrue when the line is shown in the activity log UI; false for internal-only lines.
sortOrderIntPosition of the line within its approval run.
statusProcessStatusEnumResult of the approval step recorded by this line, such as Ok, Warning or Error.
DeleteApprovalProcessActivityLogLineInput input clientMutationId: String, id: ID!

Id of the ApprovalProcessActivityLogLine 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.
UpdateApprovalProcessActivityLogLineInput input 10 fields: clientMutationId, id, modified, …

Id of an ApprovalProcessActivityLogLine 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.
approvalIdIDId of the approval this log line belongs to.
dataJSONStringTyped JSON payload describing the approval step (e.g. approver decisions, comments).
executedAtDateTimeTimestamp the step represented by this line was executed. Empty for scheduled steps that have not yet run.
isVisibleBooleanTrue when the line is shown in the activity log UI; false for internal-only lines.
sortOrderIntPosition of the line within its approval run.
statusProcessStatusEnumResult of the approval step recorded by this line, such as Ok, Warning or Error.
BulkUpdateApprovalProcessActivityLogLinePayload object result: BulkUpdateResults!

Result of the bulkUpdateApprovalProcessActivityLogLine mutation.

FieldTypeDescription
resultBulkUpdateResults!Ids of the created, updated and deleted records, and the items that failed.
CreateApprovalProcessActivityLogLinePayload object approvalProcessActivityLogLine: ApprovalProcessActivityLogLineEntity, clientMutationId: String

Result of the createApprovalProcessActivityLogLine mutation.

FieldTypeDescription
approvalProcessActivityLogLineApprovalProcessActivityLogLineEntityThe 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).
DeleteApprovalProcessActivityLogLinePayload object approvalProcessActivityLogLine: ApprovalProcessActivityLogLineEntity, clientMutationId: String

Result of the deleteApprovalProcessActivityLogLine mutation.

FieldTypeDescription
approvalProcessActivityLogLineApprovalProcessActivityLogLineEntityThe 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).
UpdateApprovalProcessActivityLogLinePayload object approvalProcessActivityLogLine: ApprovalProcessActivityLogLineEntity, clientMutationId: String

Result of the updateApprovalProcessActivityLogLine mutation.

FieldTypeDescription
approvalProcessActivityLogLineApprovalProcessActivityLogLineEntityThe 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).