For AI agents: an index of this documentation is at https://developer.rippling.com/llms.txt. Public pages have a Markdown version at the same URL with .md added.

Skip to main content
api

Describe a model and its permitted fields in one request.

GET
/schemas/models/{model_rql_name}/

Use with AI:Rippling AI ChatGPT Claude Cursor

Describe a model and its permitted fields in one request.

GET
/schemas/models/{model_rql_name}/

Describe a model and its permitted fields in one request.

Required Scopes

  • schemas.read

Request

Path Parameters
    model_rql_name stringrequired

    RQL model name from

    GET /schemas/catalog/Model__on/records/
    . Describes schema, including custom models.

Query Parameters
    expand string

    Use

    fields,fields.choices
    to inline field choices;
    back_references
    is also supported. At most two levels; nested expansions require their parent.

Responses​

Describe a model and its permitted fields in one request. Example: `/schemas/models/Department/?expand=fields,fields.choices,back_references`. V2 requires the parent `fields` expansion alongside `fields.choices`. `relations.fields` contains queryable column descriptions with supported lookups and may include synthetic system columns. These descriptions are distinct from canonical `Field__on` catalog rows. Optional `relations.back_references` contains canonical field rows plus `virtual_edge` traversal metadata; catalog `Model__on` expansions return those rows without `virtual_edge`. For the model's catalog row instead, use `GET /schemas/catalog/Model__on/records/{model_rql_name}/`.
Schema
    model stringrequired

    RQL model name, for example Department.

    display_name stringrequired

    Human-readable model name.

    namespace stringrequired

    Model namespace, for example static.

    description stringrequired

    Model documentation, possibly empty.

    arql_enabled booleanrequired

    Whether analytical RQL supports this model.

    trql_enabled booleanrequired

    Whether transactional RQL supports this model.

    example_queries objectrequired
    Navigable catalog queries for model and field discovery.
      property name* string
    relations objectrequired
    Permission-filtered query descriptions in `fields`, with supported lookups and synthetic columns; these are distinct from canonical `Field__on` rows. Optional `back_references` contains canonical field rows plus `virtual_edge` traversal metadata, which catalog expansions omit. Nested pages provide continuation links; field descriptions may include expanded choices.
      fields objectrequired
      Field descriptions for query discovery, including synthetic catalog columns.
        results object[]required
        Permission-filtered field descriptions with supported lookups, including synthetic catalog columns. Descriptions have their own required properties and are distinct from canonical `Field__on` rows returned by catalog reads and expansions.
          Array [
          id stringrequired

          Row identifier; URL-encode this returned value unchanged for retrieval.

          namespace stringnullable

          Namespace that owns the catalog entry, for example static; null when no namespace is supplied.

          display_name stringrequired

          Human-readable label for this catalog entry, localized when a translation is available.

          description string

          Documentation supplied by the model or field provider; may be empty.

          rql_name stringrequired

          Canonical RQL identifier used to refer to this model or field in queries.

          arql_enabled boolean

          Whether analytical RQL supports this model or field.

          trql_enabled boolean

          Whether transactional RQL supports this model or field.

          model_reference stringnullable

          Canonical Model__on row identifier of the model that defines this field. When non-null, URL-encode the value unchanged as record_id and retrieve GET /schemas/catalog/Model__on/records/{record_id}/.

          edge_reference stringnullable

          Canonical Model__on row identifier targeted by this relationship field, or null for a scalar field. When non-null, URL-encode the value unchanged as record_id and retrieve GET /schemas/catalog/Model__on/records/{record_id}/.

          source_row_id stringnullable

          Identifier of the provider record from which this field metadata was derived; not the catalog retrieve identifier.

          report_hidden booleannullable

          Whether the provider hides this field from reporting, or null when it does not supply that setting.

          is_one_to_one_reference booleannullable

          Whether the provider classifies this relationship as one-to-one, or null when that classification is unavailable.

          semantic_type stringnullable

          Provider-defined semantic type label, for example money. This vocabulary is open. Clients must handle unknown values.

          enum_type stringnullable

          Provider-defined enum classification, for example currency_enum; not the allowed choice values. This vocabulary is open. Clients must handle unknown values.

          base_type stringnullablerequired

          Provider-defined base type label. Known examples include text and enum. This vocabulary is open. Clients must handle unknown values.

          is_list booleannullable

          Whether the field contains a list of values, or null when the provider does not supply that setting.

          is_encrypted booleannullable

          Whether the provider marks this field as encrypted, or null when that information is unavailable.

          relations object
          Requested reverse relations, with permission-filtered rows and continuation URLs.
            choices object
            Choices defined on this field
              results object[]required
              Permission-filtered metadata rows. Columns vary by catalog (`Model__on`, `Field__on`, `Choice__on`, `Category__on` or `Module__on`); `/schemas/` lists their columns. Relations contain nested pages. No sparse projection.
                Array [
                id stringrequired

                Row identifier; URL-encode this returned value unchanged for retrieval.

                value stringrequired

                Allowed choice value to use when filtering or supplying a value for the owning field.

                label stringrequired

                Human-readable choice label, localized when a translation is available.

                namespace stringnullablerequired

                Namespace that owns the catalog entry, for example static; null when no namespace is supplied.

                field stringnullablerequired

                Canonical Field__on row identifier of the field whose allowed values this choice describes. When non-null, URL-encode the value unchanged as record_id and retrieve GET /schemas/catalog/Field__on/records/{record_id}/.

                ]
              next_link stringnullablerequired

              Continuation URL with the original query, or null on the last page.

              limit integerrequired

              Requested page size, from 1 to 100; default 50.

              has_more booleanrequired

              Whether another page is available.

          supported_lookups string[]required

          Supported V2 filter operators for this field.

          source string

          Column origin. The only emitted value is system, identifying a synthetic catalog column. This property is absent for ordinary catalog-backed fields.

          ]
        next_link stringnullablerequired

        Continuation URL with the original query, or null on the last page.

        limit integerrequired

        Requested page size, from 1 to 100; default 50.

        has_more booleanrequired

        Whether another page is available.

      back_references object
      Describe-only page of canonical incoming field rows with virtual-edge traversal metadata.
        results object[]required
        Full permission-filtered `Field__on` rows whose `edge_reference` points to the described model. Catalog `Model__on.back_references` expansions return the same row shape in `SchemaFieldPage`, without this describe-only page's `virtual_edge` metadata.
          Array [
          id stringrequired

          Row identifier; URL-encode this returned value unchanged for retrieval.

          namespace stringnullablerequired

          Namespace that owns the catalog entry, for example static; null when no namespace is supplied.

          display_name stringrequired

          Human-readable label for this catalog entry, localized when a translation is available.

          description stringrequired

          Documentation supplied by the model or field provider; may be empty.

          rql_name stringrequired

          Canonical RQL identifier used to refer to this model or field in queries.

          arql_enabled booleanrequired

          Whether analytical RQL supports this model or field.

          trql_enabled booleanrequired

          Whether transactional RQL supports this model or field.

          model_reference stringnullablerequired

          Canonical Model__on row identifier of the model that defines this field. When non-null, URL-encode the value unchanged as record_id and retrieve GET /schemas/catalog/Model__on/records/{record_id}/.

          edge_reference stringnullablerequired

          Canonical Model__on row identifier targeted by this relationship field, or null for a scalar field. When non-null, URL-encode the value unchanged as record_id and retrieve GET /schemas/catalog/Model__on/records/{record_id}/.

          source_row_id stringnullablerequired

          Identifier of the provider record from which this field metadata was derived; not the catalog retrieve identifier.

          report_hidden booleannullablerequired

          Whether the provider hides this field from reporting, or null when it does not supply that setting.

          is_one_to_one_reference booleannullablerequired

          Whether the provider classifies this relationship as one-to-one, or null when that classification is unavailable.

          semantic_type stringnullablerequired

          Provider-defined semantic type label, for example money. This vocabulary is open. Clients must handle unknown values.

          enum_type stringnullablerequired

          Provider-defined enum classification, for example currency_enum; not the allowed choice values. This vocabulary is open. Clients must handle unknown values.

          base_type stringnullablerequired

          Provider-defined base type label. Known examples include text and enum. This vocabulary is open. Clients must handle unknown values.

          is_list booleannullablerequired

          Whether the field contains a list of values, or null when the provider does not supply that setting.

          is_encrypted booleannullablerequired

          Whether the provider marks this field as encrypted, or null when that information is unavailable.

          relations object
          Requested reverse relations, with permission-filtered rows and continuation URLs.
            choices object
            Choices defined on this field
              results object[]required
              Permission-filtered metadata rows. Columns vary by catalog (`Model__on`, `Field__on`, `Choice__on`, `Category__on` or `Module__on`); `/schemas/` lists their columns. Relations contain nested pages. No sparse projection.
                Array [
                id stringrequired

                Row identifier; URL-encode this returned value unchanged for retrieval.

                value stringrequired

                Allowed choice value to use when filtering or supplying a value for the owning field.

                label stringrequired

                Human-readable choice label, localized when a translation is available.

                namespace stringnullablerequired

                Namespace that owns the catalog entry, for example static; null when no namespace is supplied.

                field stringnullablerequired

                Canonical Field__on row identifier of the field whose allowed values this choice describes. When non-null, URL-encode the value unchanged as record_id and retrieve GET /schemas/catalog/Field__on/records/{record_id}/.

                ]
              next_link stringnullablerequired

              Continuation URL with the original query, or null on the last page.

              limit integerrequired

              Requested page size, from 1 to 100; default 50.

              has_more booleanrequired

              Whether another page is available.

          ]
        next_link stringnullablerequired

        Continuation URL with the original query, or null on the last page.

        limit integerrequired

        Requested page size, from 1 to 100; default 50.

        has_more booleanrequired

        Whether another page is available.

        virtual_edge objectrequired
        Relationship name, source catalog and an example traversal URL.
          name stringrequired

          Reverse relation name to pass to expand; currently back_references.

          source_model stringrequired

          Catalog on which the reverse relation is defined; currently Model__on.

          example stringrequired

          Relative API URL showing how to expand this relation on the described model's catalog record.

Loading...