Adding Documents
Datasaur supports adding documents into an existing project, as described here.
In this section, we'll be running through how to do this programmatically via our API, specifically through GraphQL mutation addDocumentsToProject.
Make sure you have generated your OAuth Credentials. These are crucial for authenticating and gaining access to the API capabilities.
Prepare the GraphQL payload which will be used for the API request. Below you will find a simplified version of the payload required for adding documents to a project. You can access the complete reference here.
Send the GraphQL request to submit your request. Upon successfully submitting your mutation, you will receive a
Job ID
. This ID can be used to monitor the progress.
The documents
structure follows the same format as used in the createProject
mutation. Read more here for document details.
Currently, we don't have an example API client. If you require more personalized support or guidance, please reach out to us at support@datasaur.ai.
Last updated