How to hit the Weaviate API

Weaviate Cloud clusters expose REST at /v1 and GraphQL at /v1/graphql on their own URL.

Authentication

Copy an API key from your cluster in Weaviate Cloud and send it as Authorization: Bearer <key>. In the examples it's written {{WEAVIATE_API_KEY}}; {{WEAVIATE_HOST}} is your cluster's host.

Full reference: https://docs.weaviate.io/weaviate/api/rest

Cluster info

Version and enabled modules.

curl https://{{WEAVIATE_HOST}}/v1/meta \
  -H "Authorization: Bearer {{WEAVIATE_API_KEY}}"
Run in PostTaco

List collections

curl https://{{WEAVIATE_HOST}}/v1/schema \
  -H "Authorization: Bearer {{WEAVIATE_API_KEY}}"
Run in PostTaco