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

GraphQLRepositoriestimeframe

entities.timeframe

Read timeframe records with the timeframe repository, and change them with the timeframe mutations. Same records as the REST Timeframes entity.

Queries

Fields of entities { timeframe { … } }.

KindFieldReturns
QUERYgetById(entityId: ID!)
Returns the record with the given id, or null when there is none. Deleted records are returned as well.
TimeframeEntity
QUERYgetByIds(entityIds: [ID!]!)
Returns the records with the given ids; ids without a record are left out. Deleted records are returned as well.
[TimeframeEntity!]!
QUERYgetAll(limit: Int, offset: Int, filter: TimeframeFilterInput, orderBy: [TimeframeOrderByInput!], includeDeleted: Boolean)
Returns the records that match the filter, paged with limit and offset.
[TimeframeEntity!]!
QUERYgetByCriteria(filter: TimeframeFilterInput, orderBy: [TimeframeOrderByInput!], includeDeleted: Boolean, before: String, after: String, first: Int, last: Int)
Returns the records that match the filter as a cursor-paginated connection.
TimeframeEntityConnection
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!]!

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.

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

Time a lead or opportunity has spent in a pipeline step.

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.
leadLeadEntityLead this step-time record belongs to. Set when leadOpptyId resolves to a Lead.
opptyOpportunityEntityOpportunity this step-time record belongs to. Set when leadOpptyId resolves to an Opportunity.
stepStepEntityPipeline step the lead/opportunity entered.
leadOpptyIdID!Id of the lead or opportunity the timeframe belongs to.
stepIdID!Id of the pipeline step.
timeframeInt!Number of seconds the record spent in the step (cumulative across re-entries).
instancePermissions[EntityPermsEnum!]! (1 args)Permissions the current user has on this record, out of the requested ones.
TimeframeEntityConnection object pageInfo: PageInfo!, edges: [TimeframeEntityEdge]!, totalCount: Int

Paginated list of Timeframe records.

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

A Relay edge containing a TimeframeEntity and its cursor.

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

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

Input fieldTypeDescription
OR[TimeframeFilterInput!]Matches records that meet at least one of the listed filters.
AND[TimeframeFilterInput!]Matches records that meet all of the listed filters.
NOTTimeframeFilterInputMatches 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.
leadOpptyIdEntityFilterStringFieldId of the lead or opportunity the timeframe belongs to.
stepIdEntityFilterStringFieldId of the pipeline step.
timeframeEntityFilterNumberFieldNumber of seconds the record spent in the step (cumulative across re-entries).
leadLeadFilterInputLead this step-time record belongs to. Set when leadOpptyId resolves to a Lead. Matches records where a related record meets these conditions.
opptyOpportunityFilterInputOpportunity this step-time record belongs to. Set when leadOpptyId resolves to an Opportunity. Matches records where a related record meets these conditions.
stepStepFilterInputPipeline step the lead/opportunity entered. Matches records where a related record meets these conditions.
TimeframeOrderByInput input Asc or Desc per field

Sorting of Timeframe 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.
lead[LeadOrderByNestedInput!]Lead this step-time record belongs to. Set when leadOpptyId resolves to a Lead. Sorts by fields of the related record, listed in order of priority.
oppty[OpportunityOrderByNestedInput!]Opportunity this step-time record belongs to. Set when leadOpptyId resolves to an Opportunity. Sorts by fields of the related record, listed in order of priority.
step[StepOrderByNestedInput!]Pipeline step the lead/opportunity entered. Sorts by fields of the related record, listed in order of priority.
leadOpptyIdOrderByEnumId of the lead or opportunity the timeframe belongs to.
stepIdOrderByEnumId of the pipeline step.
timeframeOrderByEnumNumber of seconds the record spent in the step (cumulative across re-entries).