Skip to main content

catalogBatches

Requires permission catalog:copilot:chat.

Lists the catalog batches the copilot applied, most recently applied first, 20 by default. Needs the catalog copilot feature on the plan and permission to chat with the copilot.

Errors: a failed call returns a GraphQL errors entry, not a field on the result, and data may be null or partial. Read the entry's extensions.code and message; every shape and code is in the Error reference.

Example:

query CatalogBatches {
catalogBatches {
id
status
appliedAt
entities
kind
rolledBackAt
}
}

Response:

{
"data": {
"catalogBatches": [
{
"id": "id",
"status": "APPLIED",
"appliedAt": 0,
"entities": {},
"kind": "BROADCAST",
"rolledBackAt": 0
}
]
}
}
catalogBatches(
input: CatalogBatchesInput
): [CatalogBatchType!]!

Arguments​

catalogBatches.input ● CatalogBatchesInput input​

Optional: how many batches to return. Defaults to 20.

Type​

CatalogBatchType object​

A batch of catalog changes made by the copilot.