Related queries and mutations in AI features. Each has its own section.
Queries
getNotebook (query)
getNotebook is a query in the Monte Carlo GraphQL API, in AI features. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.
Status: Experimental
Get a notebook by UUID
Arguments
| Argument | Type | Description |
|---|---|---|
uuid | UUID! | Notebook UUID |
Returns
Example
query GetNotebook($uuid: UUID!) {
getNotebook(uuid: $uuid) {
uuid
name
definition
createdTime
updatedTime
}
}Related types
getNotebooks (query)
getNotebooks is a query in the Monte Carlo GraphQL API, in AI features. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.
Status: Experimental
List all notebooks
Arguments
| Argument | Type | Description |
|---|---|---|
limit | Int | Max notebooks to return Default: 100. |
offset | Int | Starting index for pagination Default: 0. |
Returns
[Notebook!]
Example
query GetNotebooks {
getNotebooks {
uuid
name
definition
createdTime
updatedTime
}
}Related types
Mutations
createOrUpdateNotebook (mutation)
createOrUpdateNotebook is a mutation in the Monte Carlo GraphQL API, in AI features. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.
Status: Experimental
Create or update a notebook
Arguments
| Argument | Type | Description |
|---|---|---|
definition | JSONString! | Notebook definition |
name | String! | Display title for the notebook |
uuid | UUID | UUID of existing notebook to update. Omit to create new. |
Returns
CreateOrUpdateNotebook
Example
mutation CreateOrUpdateNotebook($definition: JSONString!, $name: String!) {
createOrUpdateNotebook(definition: $definition, name: $name) {
notebook {
uuid
name
definition
createdTime
updatedTime
}
}
}Types used only by createOrUpdateNotebook
createOrUpdateNotebookCreateOrUpdateNotebook
CreateOrUpdateNotebookObject type. Create or update a notebook
| Field | Type | Description |
|---|---|---|
notebook | Notebook! | The created/updated notebook |
Related types
deleteNotebook (mutation)
deleteNotebook is a mutation in the Monte Carlo GraphQL API, in AI features. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.
Status: Experimental
Delete a notebook
Arguments
| Argument | Type | Description |
|---|---|---|
uuid | UUID! | UUID of the notebook to delete |
Returns
DeleteNotebook
Example
mutation DeleteNotebook($uuid: UUID!) {
deleteNotebook(uuid: $uuid) {
deleted
}
}Types used only by deleteNotebook
deleteNotebookDeleteNotebook
DeleteNotebookObject type. Delete a notebook
| Field | Type | Description |
|---|---|---|
deleted | Boolean! | Whether the notebook was deleted |
Related types
Source: The GraphQL API reference
This page is generated from the GraphQL schema on each release. Changes made in ReadMe are overwritten.
