Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Tips

Expression Engine Functions

Since the Public API is using the C3 .ai suite AI Suite as its back-end, it can be useful to know certain aspects of the C3 .ai suite AI Suite especially if you have access to the suite documentation. The best example of this is Expression Engine Functions which are used in various places throughout C3.ai, such as the 'filter' field of the fetch spec. These functions can allow the scientist to create much better filters to ensure only the data they need is collected through the public API.

...

The 'contains(str1, str2)' function returns true if str1 contains str2 as a substring within it

Troubleshooting

Here are some issues you may encounter when working with the Public Datalake Data Lake API and their solutions.

Remember to quote strings in expressions within fetch commands.

This can result in ERROR: syntax error at or near ")"

...