Skip to main content

Schema reference

The schema reference lists every query, mutation, type, input, enum and scalar in Owlie's GraphQL API, with the descriptions written in the schema itself.

Browse the generated schema.

The reference is generated from the same schema the API serves, so its names, arguments and types are exact. It is not written by hand, and nothing in it is rewritten for the page: a field with no description in the schema has none in the reference.

Find what you need​

The reference is grouped by kind:

  • Operations holds the queries and mutations: the fields you can put at the top of a document. Start here when you know what you want to do. Each operation lists its arguments and its return type, and links to both.
  • Types holds objects, inputs, enums, interfaces, unions and scalars. Follow an operation's return type to see which fields you can select, and an argument's input type to see what to send.
  • Deprecated holds operations that still work and have a replacement. Their description names it.

Operation and type names are exact, so if you know one from an example or an error message, such as createRequest or RequestData, look for it under its kind.

What the reference does not tell you​

A schema describes shape. For the rest, use these pages:

  • Permissions. The schema does not say which permission a field needs. A call without it fails with a message that names the permission. How to use the API explains how fields are authorized.
  • Behavior. Page sizes, filter syntax and counting are in How to use the API, and errors and limits in Errors and API limits.
  • Worked operations. The examples show complete documents with variables and responses for common tasks.

The schema in other tools​

GraphiQL, at https://<your Owlie domain>/api/graphql in a browser where you are signed in, shows the same schema with search and autocomplete, and runs operations against your organization.

The TypeScript SDK covers a chosen part of the schema as typed methods, not all of it. Its raw_query method sends any document from this reference.