Astra DB icon

Astra DB

Interact with DataStax Astra DB collections for document operations

Insert One

AI-generated

Summary

Insert a document into a specified collection in Astra DB.

Inputs

  • keyspace (required) — The name of the Astra DB keyspace.
  • collection (required) — The name of the Astra DB collection.
  • document (required) — The JSON document to be inserted into the collection.

Output shape

no body — success/failure only

Ensure that the keyspace and collection names are valid and exist in Astra DB. The operation returns no body upon successful insertion.

Discussion