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

GraphQLRepositoriesprojectObjective

entities.projectObjective

Read project objective records with the projectObjective repository, and change them with the project objective mutations. Same records as the REST ProjectObjectives entity.

Queries

Fields of entities { projectObjective { … } }.

KindFieldReturns
QUERYgetById(entityId: ID!)
Returns the record with the given id, or null when there is none. Deleted records are returned as well.
ProjectObjectiveEntity
QUERYgetByIds(entityIds: [ID!]!)
Returns the records with the given ids; ids without a record are left out. Deleted records are returned as well.
[ProjectObjectiveEntity!]!
QUERYgetAll(limit: Int, offset: Int, filter: ProjectObjectiveFilterInput, orderBy: [ProjectObjectiveOrderByInput!], includeDeleted: Boolean)
Returns the records that match the filter, paged with limit and offset.
[ProjectObjectiveEntity!]!
QUERYgetByCriteria(filter: ProjectObjectiveFilterInput, orderBy: [ProjectObjectiveOrderByInput!], includeDeleted: Boolean, before: String, after: String, first: Int, last: Int)
Returns the records that match the filter as a cursor-paginated connection.
ProjectObjectiveEntityConnection
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
MUTATIONupdateProjectObjectiveSort(input: UpdateProjectObjectiveSortInput!)Update fieldsUpdateProjectObjectiveSortPayload
MUTATIONcopyProjectObjective(input: CopyProjectObjectiveInput!)Copy a record GraphQL onlyCopyProjectObjectivePayload
MUTATIONupdateProjectObjectiveActivitiesSort(input: UpdateProjectObjectiveActivitiesSortInput!)Update fieldsUpdateProjectObjectiveActivitiesSortPayload
MUTATIONcreateProjectObjective(input: CreateProjectObjectiveInput!, validationLevel: [ValidationLevel!])Create one recordCreateProjectObjectivePayload
MUTATIONupdateProjectObjective(input: UpdateProjectObjectiveInput!, validationLevel: [ValidationLevel!], sessionIdToUpdate: String)Update fieldsUpdateProjectObjectivePayload
MUTATIONbulkUpdateProjectObjective(input: [CreateOrUpdateProjectObjectiveInput!]!, deleteInput: [DeleteProjectObjectiveInput!], validationLevel: [ValidationLevel!], rollbackMethod: RollbackMethod, match: MatchingInput)Create or update many; per-item resultsBulkUpdateProjectObjectivePayload

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.

ProjectObjectiveEntity object 12 fields: isDeleteProtected, id, isDeleted, …

Objective (goal) of a project.

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.
projectProjectEntityProject this objective belongs to.
nameString!Name of the entity and its default text representation.
projectIdID!Id of the project this objective belongs to. Set on create; cannot be changed afterwards.
sortOrderInt!Position of the row within its sibling set; lower values appear first. The platform reorders neighbouring rows automatically when a value is inserted or changed.
revisionIntRevision when entity was lastly changed.
instancePermissions[EntityPermsEnum!]! (1 args)Permissions the current user has on this record, out of the requested ones.
relatedEntitiesDrilldownCompactViewDrilldownModel! (1 args)Records of the given entity type that are related to this record, as a drilldown list.
ProjectObjectiveEntityConnection object pageInfo: PageInfo!, edges: [ProjectObjectiveEntityEdge]!, totalCount: Int

Paginated list of ProjectObjective records.

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

A Relay edge containing a ProjectObjectiveEntity and its cursor.

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

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

Input fieldTypeDescription
OR[ProjectObjectiveFilterInput!]Matches records that meet at least one of the listed filters.
AND[ProjectObjectiveFilterInput!]Matches records that meet all of the listed filters.
NOTProjectObjectiveFilterInputMatches 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.
nameEntityFilterStringFieldName of the entity and its default text representation.
projectIdEntityFilterStringFieldId of the project this objective belongs to. Set on create; cannot be changed afterwards.
sortOrderEntityFilterNumberFieldPosition of the row within its sibling set; lower values appear first. The platform reorders neighbouring rows automatically when a value is inserted or changed.
revisionEntityFilterNumberFieldRevision when entity was lastly changed.
projectProjectFilterInputProject this objective belongs to. Matches records where a related record meets these conditions.
ProjectObjectiveOrderByInput input Asc or Desc per field

Sorting of ProjectObjective 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.
project[ProjectOrderByNestedInput!]Project this objective belongs to. Sorts by fields of the related record, listed in order of priority.
nameOrderByEnumName of the entity and its default text representation.
projectIdOrderByEnumId of the project this objective belongs to. Set on create; cannot be changed afterwards.
sortOrderOrderByEnumPosition of the row within its sibling set; lower values appear first. The platform reorders neighbouring rows automatically when a value is inserted or changed.
revisionOrderByEnumRevision when entity was lastly changed.
CopyProjectObjectiveInput input copyTasks: Boolean!, id: ID!, clientMutationId: String

Parameters of the copyProjectObjective mutation.

Input fieldTypeDescription
copyTasksBoolean!When true, the objective's tasks are copied as well, as not-started tasks without dates or duration.
idID!Identifier of the ProjectObjectiveEntity to perform the action on.
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).
CreateOrUpdateProjectObjectiveInput input 8 fields: clientMutationId, id, modified, …

Field values of a ProjectObjective 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.
nameStringName of the entity and its default text representation.
projectIdIDId of the project this objective belongs to. Set on create; cannot be changed afterwards.
sortOrderIntPosition of the row within its sibling set; lower values appear first. The platform reorders neighbouring rows automatically when a value is inserted or changed.
revisionIntRevision when entity was lastly changed.
CreateProjectObjectiveInput input 7 fields: clientMutationId, modified, created, …

Field values of a new ProjectObjective 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.
nameString!Name of the entity and its default text representation.
projectIdID!Id of the project this objective belongs to. Set on create; cannot be changed afterwards.
sortOrderInt!Position of the row within its sibling set; lower values appear first. The platform reorders neighbouring rows automatically when a value is inserted or changed.
revisionIntRevision when entity was lastly changed.
DeleteProjectObjectiveInput input clientMutationId: String, id: ID!

Id of the ProjectObjective 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.
UpdateProjectObjectiveActivitiesSortInput input 6 fields: projectId, ids, beforeId, …

Parameters of the updateProjectObjectiveActivitiesSort mutation.

Input fieldTypeDescription
projectIdID!Project the activities belong to.
ids[ID!]!Activities to move; all must be linked to the project.
beforeIdIDActivity in the destination objective that the moved activities are placed before; leave empty to add them at the end.
objectiveIdIDObjective the activities are moved to; leave empty to move them out of any objective.
sessionIdToUpdateStringId of an open list view of the project's activities that is reordered to match. Integrations can leave it empty.
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).
UpdateProjectObjectiveInput input 8 fields: clientMutationId, id, modified, …

Id of a ProjectObjective 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.
nameStringName of the entity and its default text representation.
projectIdIDId of the project this objective belongs to. Set on create; cannot be changed afterwards.
sortOrderIntPosition of the row within its sibling set; lower values appear first. The platform reorders neighbouring rows automatically when a value is inserted or changed.
revisionIntRevision when entity was lastly changed.
UpdateProjectObjectiveSortInput input beforeId: ID, sessionIdToUpdate: String, id: ID!, clientMutationId: String

Parameters of the updateProjectObjectiveSort mutation.

Input fieldTypeDescription
beforeIdIDObjective of the same project that this objective is placed before; leave empty to move it to the end.
sessionIdToUpdateStringId of an open list view of the project's activities that is reordered to match. Integrations can leave it empty.
idID!Identifier of the ProjectObjectiveEntity to perform the action on.
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).
BulkUpdateProjectObjectivePayload object result: BulkUpdateResults!

Result of the bulkUpdateProjectObjective mutation.

FieldTypeDescription
resultBulkUpdateResults!Ids of the created, updated and deleted records, and the items that failed.
CopyProjectObjectivePayload object result: ProjectObjectiveEntity, clientMutationId: String

Result of the copyProjectObjective mutation.

FieldTypeDescription
resultProjectObjectiveEntityThe new objective.
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).
CreateProjectObjectivePayload object projectObjective: ProjectObjectiveEntity, clientMutationId: String

Result of the createProjectObjective mutation.

FieldTypeDescription
projectObjectiveProjectObjectiveEntityThe 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).
UpdateProjectObjectiveActivitiesSortPayload object result: Boolean, clientMutationId: String

Result of the updateProjectObjectiveActivitiesSort mutation.

FieldTypeDescription
resultBooleanTrue when the activities were moved.
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).
UpdateProjectObjectivePayload object projectObjective: ProjectObjectiveEntity, clientMutationId: String

Result of the updateProjectObjective mutation.

FieldTypeDescription
projectObjectiveProjectObjectiveEntityThe 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).
UpdateProjectObjectiveSortPayload object result: ProjectObjectiveEntity, clientMutationId: String

Result of the updateProjectObjectiveSort mutation.

FieldTypeDescription
resultProjectObjectiveEntityThe moved objective.
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).