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

GraphQLRepositoriestagRelation

entities.tagRelation

Read tag relation records with the tagRelation repository, and change them with the tag relation mutations. Same records as the REST TagRelations entity.

Queries

Fields of entities { tagRelation { … } }.

KindFieldReturns
QUERYgetById(entityId: ID!)
Returns the record with the given id, or null when there is none. Deleted records are returned as well.
TagRelationEntity
QUERYgetByIds(entityIds: [ID!]!)
Returns the records with the given ids; ids without a record are left out. Deleted records are returned as well.
[TagRelationEntity!]!
QUERYgetAll(limit: Int, offset: Int, filter: TagRelationFilterInput, orderBy: [TagRelationOrderByInput!], includeDeleted: Boolean)
Returns the records that match the filter, paged with limit and offset.
[TagRelationEntity!]!
QUERYgetByCriteria(filter: TagRelationFilterInput, orderBy: [TagRelationOrderByInput!], includeDeleted: Boolean, before: String, after: String, first: Int, last: Int)
Returns the records that match the filter as a cursor-paginated connection.
TagRelationEntityConnection
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
MUTATIONcreateTagRelation(input: CreateTagRelationInput!, validationLevel: [ValidationLevel!])Create one recordCreateTagRelationPayload
MUTATIONupdateTagRelation(input: UpdateTagRelationInput!, validationLevel: [ValidationLevel!], sessionIdToUpdate: String)Update fieldsUpdateTagRelationPayload
MUTATIONbulkUpdateTagRelation(input: [CreateOrUpdateTagRelationInput!]!, deleteInput: [DeleteTagRelationInput!], validationLevel: [ValidationLevel!], rollbackMethod: RollbackMethod, match: MatchingInput)Create or update many; per-item resultsBulkUpdateTagRelationPayload
MUTATIONdeleteTagRelation(input: DeleteTagRelationInput!)Soft-deleteDeleteTagRelationPayload

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.

TagRelationEntity object 33 fields: isDeleteProtected, id, isDeleted, …

Assignment of a tag to a record.

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.
accountAccountEntityAccount the tag is attached to, or empty when not attached to an account.
appointmentAppointmentEntityAppointment the tag is attached to, or empty when not attached to an appointment.
contactContactEntityContact the tag is attached to, or empty when not attached to a contact.
customEntityCustomEntityEntityCustom entity record the tag is attached to, or empty when not attached to a custom entity record.
emailEmailEntityEmail the tag is attached to, or empty when not attached to an email.
leadLeadEntityLead the tag is attached to, or empty when not attached to a lead.
opptyOpportunityEntityOpportunity the tag is attached to, or empty when not attached to an opportunity.
processProcessEntitySales process the tag is attached to, or empty when not attached to a process.
projectProjectEntityProject the tag is attached to, or empty when not attached to a project.
quoteQuoteEntityQuote the tag is attached to, or empty when not attached to a quote.
solutionSolutionEntitySolution the tag is attached to, or empty when not attached to a solution.
tagTagEntityTag being attached to the record.
taskTaskEntityTask the tag is attached to, or empty when not attached to a task.
accountIdIDId of the linked account.
appointmentIdIDId of the linked appointment.
contactIdIDId of the linked contact.
customEntityIdIDId of the linked custom entity record.
emailIdIDId of the linked email.
leadIdIDId of the linked lead.
opptyIdIDId of the linked opportunity.
processIdIDId of the linked sales process.
projectIdIDId of the linked project.
quoteIdIDId of the linked quote.
solutionIdIDId of the linked solution.
tagIdID!Id of the tag attached to the record.
taskIdIDId of the linked task.
revisionIntRevision when entity was lastly changed.
instancePermissions[EntityPermsEnum!]! (1 args)Permissions the current user has on this record, out of the requested ones.
TagRelationEntityConnection object pageInfo: PageInfo!, edges: [TagRelationEntityEdge]!, totalCount: Int

Paginated list of TagRelation records.

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

A Relay edge containing a TagRelationEntity and its cursor.

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

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

Input fieldTypeDescription
OR[TagRelationFilterInput!]Matches records that meet at least one of the listed filters.
AND[TagRelationFilterInput!]Matches records that meet all of the listed filters.
NOTTagRelationFilterInputMatches 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.
accountIdEntityFilterStringFieldId of the linked account.
appointmentIdEntityFilterStringFieldId of the linked appointment.
contactIdEntityFilterStringFieldId of the linked contact.
customEntityIdEntityFilterStringFieldId of the linked custom entity record.
emailIdEntityFilterStringFieldId of the linked email.
leadIdEntityFilterStringFieldId of the linked lead.
opptyIdEntityFilterStringFieldId of the linked opportunity.
processIdEntityFilterStringFieldId of the linked sales process.
projectIdEntityFilterStringFieldId of the linked project.
quoteIdEntityFilterStringFieldId of the linked quote.
solutionIdEntityFilterStringFieldId of the linked solution.
tagIdEntityFilterStringFieldId of the tag attached to the record.
taskIdEntityFilterStringFieldId of the linked task.
revisionEntityFilterNumberFieldRevision when entity was lastly changed.
accountAccountFilterInputAccount the tag is attached to, or empty when not attached to an account. Matches records where a related record meets these conditions.
appointmentAppointmentFilterInputAppointment the tag is attached to, or empty when not attached to an appointment. Matches records where a related record meets these conditions.
contactContactFilterInputContact the tag is attached to, or empty when not attached to a contact. Matches records where a related record meets these conditions.
customEntityCustomEntityFilterInputCustom entity record the tag is attached to, or empty when not attached to a custom entity record. Matches records where a related record meets these conditions.
emailEmailFilterInputEmail the tag is attached to, or empty when not attached to an email. Matches records where a related record meets these conditions.
leadLeadFilterInputLead the tag is attached to, or empty when not attached to a lead. Matches records where a related record meets these conditions.
opptyOpportunityFilterInputOpportunity the tag is attached to, or empty when not attached to an opportunity. Matches records where a related record meets these conditions.
processProcessFilterInputSales process the tag is attached to, or empty when not attached to a process. Matches records where a related record meets these conditions.
projectProjectFilterInputProject the tag is attached to, or empty when not attached to a project. Matches records where a related record meets these conditions.
quoteQuoteFilterInputQuote the tag is attached to, or empty when not attached to a quote. Matches records where a related record meets these conditions.
solutionSolutionFilterInputSolution the tag is attached to, or empty when not attached to a solution. Matches records where a related record meets these conditions.
tagTagFilterInputTag being attached to the record. Matches records where a related record meets these conditions.
taskTaskFilterInputTask the tag is attached to, or empty when not attached to a task. Matches records where a related record meets these conditions.
TagRelationOrderByInput input Asc or Desc per field

Sorting of TagRelation 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.
account[AccountOrderByNestedInput!]Account the tag is attached to, or empty when not attached to an account. Sorts by fields of the related record, listed in order of priority.
appointment[AppointmentOrderByNestedInput!]Appointment the tag is attached to, or empty when not attached to an appointment. Sorts by fields of the related record, listed in order of priority.
contact[ContactOrderByNestedInput!]Contact the tag is attached to, or empty when not attached to a contact. Sorts by fields of the related record, listed in order of priority.
customEntity[CustomEntityOrderByNestedInput!]Custom entity record the tag is attached to, or empty when not attached to a custom entity record. Sorts by fields of the related record, listed in order of priority.
email[EmailOrderByNestedInput!]Email the tag is attached to, or empty when not attached to an email. Sorts by fields of the related record, listed in order of priority.
lead[LeadOrderByNestedInput!]Lead the tag is attached to, or empty when not attached to a lead. Sorts by fields of the related record, listed in order of priority.
oppty[OpportunityOrderByNestedInput!]Opportunity the tag is attached to, or empty when not attached to an opportunity. Sorts by fields of the related record, listed in order of priority.
process[ProcessOrderByNestedInput!]Sales process the tag is attached to, or empty when not attached to a process. Sorts by fields of the related record, listed in order of priority.
project[ProjectOrderByNestedInput!]Project the tag is attached to, or empty when not attached to a project. Sorts by fields of the related record, listed in order of priority.
quote[QuoteOrderByNestedInput!]Quote the tag is attached to, or empty when not attached to a quote. Sorts by fields of the related record, listed in order of priority.
solution[SolutionOrderByNestedInput!]Solution the tag is attached to, or empty when not attached to a solution. Sorts by fields of the related record, listed in order of priority.
tag[TagOrderByNestedInput!]Tag being attached to the record. Sorts by fields of the related record, listed in order of priority.
task[TaskOrderByNestedInput!]Task the tag is attached to, or empty when not attached to a task. Sorts by fields of the related record, listed in order of priority.
accountIdOrderByEnumId of the linked account.
appointmentIdOrderByEnumId of the linked appointment.
contactIdOrderByEnumId of the linked contact.
customEntityIdOrderByEnumId of the linked custom entity record.
emailIdOrderByEnumId of the linked email.
leadIdOrderByEnumId of the linked lead.
opptyIdOrderByEnumId of the linked opportunity.
processIdOrderByEnumId of the linked sales process.
projectIdOrderByEnumId of the linked project.
quoteIdOrderByEnumId of the linked quote.
solutionIdOrderByEnumId of the linked solution.
tagIdOrderByEnumId of the tag attached to the record.
taskIdOrderByEnumId of the linked task.
revisionOrderByEnumRevision when entity was lastly changed.
CreateOrUpdateTagRelationInput input 18 fields: clientMutationId, id, modified, …

Field values of a TagRelation 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.
accountIdIDId of the linked account.
appointmentIdIDId of the linked appointment.
contactIdIDId of the linked contact.
customEntityIdIDId of the linked custom entity record.
emailIdIDId of the linked email.
leadIdIDId of the linked lead.
opptyIdIDId of the linked opportunity.
processIdIDId of the linked sales process.
projectIdIDId of the linked project.
quoteIdIDId of the linked quote.
solutionIdIDId of the linked solution.
tagIdIDId of the tag attached to the record.
taskIdIDId of the linked task.
revisionIntRevision when entity was lastly changed.
CreateTagRelationInput input 17 fields: clientMutationId, modified, created, …

Field values of a new TagRelation 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.
accountIdIDId of the linked account.
appointmentIdIDId of the linked appointment.
contactIdIDId of the linked contact.
customEntityIdIDId of the linked custom entity record.
emailIdIDId of the linked email.
leadIdIDId of the linked lead.
opptyIdIDId of the linked opportunity.
processIdIDId of the linked sales process.
projectIdIDId of the linked project.
quoteIdIDId of the linked quote.
solutionIdIDId of the linked solution.
tagIdID!Id of the tag attached to the record.
taskIdIDId of the linked task.
revisionIntRevision when entity was lastly changed.
DeleteTagRelationInput input clientMutationId: String, id: ID!

Id of the TagRelation 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.
SolutionOrderByNestedInput input 10 fields: id, isDeleted, modified, …

Sorting by a field of the related Solution record. Set exactly one field in each item.

Input fieldTypeDescription
idOrderByEnumUnique identifier of entity.
isDeletedOrderByEnumSpecifies if the entity is considered deleted.
modifiedOrderByEnumLast modification time.
createdOrderByEnumCreation time.
descriptionOrderByEnumFree-text description of the solution.
nameOrderByEnumName of the entity and its default text representation.
ownerIdOrderByEnumId of the owning user.
solutionTemplateIdOrderByEnumTemplate this solution was created from, if any.
nodeCountOrderByEnumNumber of nodes on the canvas.
statusOrderByEnumLive status derived from the activatable nodes (Automatizer, Email Sequence, Online Form): Active when all are enabled, Inactive when none are, Partial otherwise.
TagOrderByNestedInput input 12 fields: id, isDeleted, modified, …

Sorting by a field of the related Tag record. Set exactly one field in each item.

Input fieldTypeDescription
idOrderByEnumUnique identifier of entity.
isDeletedOrderByEnumSpecifies if the entity is considered deleted.
modifiedOrderByEnumLast modification time.
createdOrderByEnumCreation time.
colorOrderByEnumDisplay color of the tag, encoded as a 24-bit RGB integer: (red << 16) | (green << 8) | blue.
creatorIdOrderByEnumId of the creating user.
entityApiNameOrderByEnumFor tags scoped to custom entities, the api name of the custom entity the tag belongs to. Required for custom-entity tags and must be empty for all other tags.
isEnabledOrderByEnumWhen false, the tag is hidden in pickers and cannot be assigned to new records.
nameOrderByEnumName of the entity and its default text representation.
supportedEntitiesOrderByEnumBit flags of the entities the tag can be attached to, added together: Contact 1, Account 2, Opportunity 4, Lead 8, Project 16, Email 32, Process 64, Appointment 128, Task 256, Quote 512, CustomEntity 1024, Solution 2048.
useLangOrderByEnumWhen true, the tag name is treated as a translation key and localized in the UI; otherwise the literal name is shown.
revisionOrderByEnumRevision when entity was lastly changed.
UpdateTagRelationInput input 18 fields: clientMutationId, id, modified, …

Id of a TagRelation 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.
accountIdIDId of the linked account.
appointmentIdIDId of the linked appointment.
contactIdIDId of the linked contact.
customEntityIdIDId of the linked custom entity record.
emailIdIDId of the linked email.
leadIdIDId of the linked lead.
opptyIdIDId of the linked opportunity.
processIdIDId of the linked sales process.
projectIdIDId of the linked project.
quoteIdIDId of the linked quote.
solutionIdIDId of the linked solution.
tagIdIDId of the tag attached to the record.
taskIdIDId of the linked task.
revisionIntRevision when entity was lastly changed.
BulkUpdateTagRelationPayload object result: BulkUpdateResults!

Result of the bulkUpdateTagRelation mutation.

FieldTypeDescription
resultBulkUpdateResults!Ids of the created, updated and deleted records, and the items that failed.
CreateTagRelationPayload object tagRelation: TagRelationEntity, clientMutationId: String

Result of the createTagRelation mutation.

FieldTypeDescription
tagRelationTagRelationEntityThe 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).
DeleteTagRelationPayload object tagRelation: TagRelationEntity, clientMutationId: String

Result of the deleteTagRelation mutation.

FieldTypeDescription
tagRelationTagRelationEntityThe 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).
UpdateTagRelationPayload object tagRelation: TagRelationEntity, clientMutationId: String

Result of the updateTagRelation mutation.

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