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

GraphQLRepositoriescloudObjectFolder

entities.cloudObjectFolder

Read cloud object folder records with the cloudObjectFolder repository, and change them with the cloud object folder mutations. Same records as the REST CloudObjectFolders entity.

Queries

Fields of entities { cloudObjectFolder { … } }.

KindFieldReturns
QUERYgetById(entityId: ID!)
Returns the record with the given id, or null when there is none. Deleted records are returned as well.
CloudObjectFolderEntity
QUERYgetByIds(entityIds: [ID!]!)
Returns the records with the given ids; ids without a record are left out. Deleted records are returned as well.
[CloudObjectFolderEntity!]!
QUERYgetAll(limit: Int, offset: Int, filter: CloudObjectFolderFilterInput, orderBy: [CloudObjectFolderOrderByInput!], includeDeleted: Boolean)
Returns the records that match the filter, paged with limit and offset.
[CloudObjectFolderEntity!]!
QUERYgetByCriteria(filter: CloudObjectFolderFilterInput, orderBy: [CloudObjectFolderOrderByInput!], includeDeleted: Boolean, before: String, after: String, first: Int, last: Int)
Returns the records that match the filter as a cursor-paginated connection.
CloudObjectFolderEntityConnection
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
MUTATIONcreateCloudObjectFolder(input: CreateCloudObjectFolderInput!, validationLevel: [ValidationLevel!])Create one recordCreateCloudObjectFolderPayload
MUTATIONupdateCloudObjectFolder(input: UpdateCloudObjectFolderInput!, validationLevel: [ValidationLevel!], sessionIdToUpdate: String)Update fieldsUpdateCloudObjectFolderPayload
MUTATIONbulkUpdateCloudObjectFolder(input: [CreateOrUpdateCloudObjectFolderInput!]!, deleteInput: [DeleteCloudObjectFolderInput!], validationLevel: [ValidationLevel!], rollbackMethod: RollbackMethod, match: MatchingInput)Create or update many; per-item resultsBulkUpdateCloudObjectFolderPayload
MUTATIONdeleteCloudObjectFolder(input: DeleteCloudObjectFolderInput!, deleteContents: Boolean)Soft-deleteDeleteCloudObjectFolderPayload

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.

CloudObjectFolderEntity object 15 fields: isDeleteProtected, id, isDeleted, …

Folder that organizes files, either in the company documents or within 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.
onlineFormTypeOnlineFormTypeEntityOnline form template this folder is associated with, when the folder stores form submissions.
parentCloudObjectFolderCloudObjectFolderEntityParent folder, when this folder is nested. Empty for top-level folders.
entityApiNameStringAPI name of the custom entity the folder is attached to. Set only for folders on custom entity records; otherwise empty.
entityTypeBaseEntityTypeEnumEntity of the record the folder belongs to (lead, opportunity, account, contact, project, quote or custom entity). Empty for company folders; set on create only.
nameString!Name of the entity and its default text representation.
onlineFormTypeIdIDId of the online form template, or empty when not associated with a form.
parentCloudObjectFolderIdIDId of the parent folder, or empty for top-level folders.
revisionIntRevision when entity was lastly changed.
typeCloudObjectFolderType!Folder kind: Company for shared company folders, Record for folders attached to a specific record.
instancePermissions[EntityPermsEnum!]! (1 args)Permissions the current user has on this record, out of the requested ones.
CloudObjectFolderEntityConnection object pageInfo: PageInfo!, edges: [CloudObjectFolderEntityEdge]!, totalCount: Int

Paginated list of CloudObjectFolder records.

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

A Relay edge containing a CloudObjectFolderEntity and its cursor.

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

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

Input fieldTypeDescription
OR[CloudObjectFolderFilterInput!]Matches records that meet at least one of the listed filters.
AND[CloudObjectFolderFilterInput!]Matches records that meet all of the listed filters.
NOTCloudObjectFolderFilterInputMatches 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.
entityApiNameEntityFilterStringFieldAPI name of the custom entity the folder is attached to. Set only for folders on custom entity records; otherwise empty.
entityTypeBaseEntityTypeEnumFilterInputEntity of the record the folder belongs to (lead, opportunity, account, contact, project, quote or custom entity). Empty for company folders; set on create only.
nameEntityFilterStringFieldName of the entity and its default text representation.
onlineFormTypeIdEntityFilterStringFieldId of the online form template, or empty when not associated with a form.
parentCloudObjectFolderIdEntityFilterStringFieldId of the parent folder, or empty for top-level folders.
revisionEntityFilterNumberFieldRevision when entity was lastly changed.
typeCloudObjectFolderTypeFolder kind: Company for shared company folders, Record for folders attached to a specific record.
onlineFormTypeOnlineFormTypeFilterInputOnline form template this folder is associated with, when the folder stores form submissions. Matches records where a related record meets these conditions.
parentCloudObjectFolderCloudObjectFolderFilterInputParent folder, when this folder is nested. Empty for top-level folders. Matches records where a related record meets these conditions.
CloudObjectFolderOrderByInput input Asc or Desc per field

Sorting of CloudObjectFolder 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.
onlineFormType[OnlineFormTypeOrderByNestedInput!]Online form template this folder is associated with, when the folder stores form submissions. Sorts by fields of the related record, listed in order of priority.
parentCloudObjectFolder[CloudObjectFolderOrderByNestedInput!]Parent folder, when this folder is nested. Empty for top-level folders. Sorts by fields of the related record, listed in order of priority.
entityApiNameOrderByEnumAPI name of the custom entity the folder is attached to. Set only for folders on custom entity records; otherwise empty.
nameOrderByEnumName of the entity and its default text representation.
onlineFormTypeIdOrderByEnumId of the online form template, or empty when not associated with a form.
parentCloudObjectFolderIdOrderByEnumId of the parent folder, or empty for top-level folders.
revisionOrderByEnumRevision when entity was lastly changed.
typeOrderByEnumFolder kind: Company for shared company folders, Record for folders attached to a specific record.
CreateCloudObjectFolderInput input 9 fields: clientMutationId, modified, created, …

Field values of a new CloudObjectFolder 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.
entityApiNameStringAPI name of the custom entity the folder is attached to. Set only for folders on custom entity records; otherwise empty.
entityTypeBaseEntityTypeEnumEntity of the record the folder belongs to (lead, opportunity, account, contact, project, quote or custom entity). Empty for company folders; set on create only.
nameString!Name of the entity and its default text representation.
onlineFormTypeIdIDId of the online form template, or empty when not associated with a form.
parentCloudObjectFolderIdIDId of the parent folder, or empty for top-level folders.
revisionIntRevision when entity was lastly changed.
CreateOrUpdateCloudObjectFolderInput input 10 fields: clientMutationId, id, modified, …

Field values of a CloudObjectFolder 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.
entityApiNameStringAPI name of the custom entity the folder is attached to. Set only for folders on custom entity records; otherwise empty.
entityTypeBaseEntityTypeEnumEntity of the record the folder belongs to (lead, opportunity, account, contact, project, quote or custom entity). Empty for company folders; set on create only.
nameStringName of the entity and its default text representation.
onlineFormTypeIdIDId of the online form template, or empty when not associated with a form.
parentCloudObjectFolderIdIDId of the parent folder, or empty for top-level folders.
revisionIntRevision when entity was lastly changed.
DeleteCloudObjectFolderInput input clientMutationId: String, id: ID!

Id of the CloudObjectFolder 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.
UpdateCloudObjectFolderInput input 9 fields: clientMutationId, id, modified, …

Id of a CloudObjectFolder 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.
entityApiNameStringAPI name of the custom entity the folder is attached to. Set only for folders on custom entity records; otherwise empty.
nameStringName of the entity and its default text representation.
onlineFormTypeIdIDId of the online form template, or empty when not associated with a form.
parentCloudObjectFolderIdIDId of the parent folder, or empty for top-level folders.
revisionIntRevision when entity was lastly changed.
BulkUpdateCloudObjectFolderPayload object result: BulkUpdateResults!

Result of the bulkUpdateCloudObjectFolder mutation.

FieldTypeDescription
resultBulkUpdateResults!Ids of the created, updated and deleted records, and the items that failed.
CreateCloudObjectFolderPayload object cloudObjectFolder: CloudObjectFolderEntity, clientMutationId: String

Result of the createCloudObjectFolder mutation.

FieldTypeDescription
cloudObjectFolderCloudObjectFolderEntityThe 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).
DeleteCloudObjectFolderPayload object errors: Boolean!, cloudObjectFolder: CloudObjectFolderEntity!, clientMutationId: String

Result of the deleteCloudObjectFolder mutation.

FieldTypeDescription
errorsBoolean!The folder, and errors set to true when some of its contents could not be deleted; the folder is then kept.
cloudObjectFolderCloudObjectFolderEntity!The folder, and errors set to true when some of its contents could not be deleted; the folder is then kept.
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).
UpdateCloudObjectFolderPayload object cloudObjectFolder: CloudObjectFolderEntity, clientMutationId: String

Result of the updateCloudObjectFolder mutation.

FieldTypeDescription
cloudObjectFolderCloudObjectFolderEntityThe 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).
CloudObjectFolderType enum Company, Record

Kind of document folder.

ValueDescription
CompanyShared company folder, not tied to a record.
RecordFolder attached to a specific record.