List Salesforce objects

salesforceObjects(input: SalesforceObjectsInput!): SalesforceObjectsPayload!

Requires project.integrations.read.

Arguments

ArgumentTypeRequired
inputSalesforceObjectsInput!Yes

Input fields

input

SalesforceObjectsInput

FieldTypeRequiredDescription
projectReferenceString!YesProject ID
limitIntNoOpt in to paging: objects per page, 1 to 100. Omit limit and cursor to read every object.
cursorStringNoOpaque continuation from pageInfo, at most 4096 characters. A cursor without limit reads 20 objects.

Response

Returns SalesforceObjectsPayload!. Open the type for its fields and nested types.

FieldTypeDescription
data[SalesforceObject!]!Salesforce objects visible through the connected user.
totalIntSet only when limit or cursor is sent.
pageInfoConnectionPaginationSet only when limit or cursor is sent.

Types marked with ! cannot be null. Lists use [Type] notation. The type index lists all published input and response types.

Example

query.graphql
query SalesforceObjects($input: SalesforceObjectsInput!) {  salesforceObjects(input: $input) {    total    data {      name      createable      custom      deletable      deprecatedAndHidden    }    pageInfo {      hasNextPage      endCursor      hasPreviousPage      prev      startCursor    }  }}
variables.json
{  "input": {    "projectReference": "00000000-0000-4000-8000-000000000001"  }}