Skip to content
Open Prescient AI
API schema

Reference for each object, enum, and scalar in the schema of the Prescient GraphQL API, with the fields and the values of each one.

The schema has 15 types. Each query page links to the types that the query uses.

An object is a set of fields that a query returns.

Used by: models.

Used by: modeledMetrics.

Used by: ModeledMetricQuery.

Used by: ModeledMetricQuery, ReportedMetricQuery.

Used by: reportedMetrics.

Used by: ReportedMetricQuery.

An enum is a fixed list of values. Write a value without quotation marks in a query, and as a string in the variables.

Used by: ModeledMetricRow.

  • The metrics are measured in new customers

  • The metrics are measured by revenue in USD

  • The metrics are measured in subscriptions

Used by: Model.

Sales channel for filtering modeled metrics output

Used by: modeledMetrics.

A scalar is one value, for example a date or a number.

Represents non-fractional signed whole numeric values. Since the value may exceed the size of a 32-bit integer, it’s encoded as a string.

Used by: modeledMetrics, reportedMetrics.

The Boolean scalar type represents true or false.

Used by: PageInfo.

The Float scalar type represents signed double-precision fractional values as specified by IEEE 754.

Used by: ModeledMetricRow, ReportedMetricRow.

An ISO 8601-encoded date

Used by: modeledMetrics, reportedMetrics, ReportedMetricRow.

An ISO 8601-encoded datetime

Used by: ModeledMetricRow.

The String scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.

Used by: channelNames, modeledMetrics, reportedMetrics, Model, ModeledMetricRow, PageInfo, ReportedMetricRow.