younifyd
Menu

Create a new alias

Create a new alias

POST/v1/aliases

Use it in a workflow

  1. Add a step and choose the Weaviate connector.
  2. Pick the Create a new alias action (under schema).
  3. Fill in the fields below, then reference the result from later steps as {{createANewAlias.response.data}}.

Request

Request body

Enter the body as JSON in the step's Body field.

aliasstring

The unique name of the alias that serves as an alternative identifier for the collection.

classstring

The name of the collection (class) to which this alias is mapped.

json
{
  "alias": "string",
  "class": "string"
}

Response

Returns 200 with a any. Read it in later steps with {{createANewAlias.response.data.<field>}}.

Need more? See the Weaviate guide for connection setup and behaviour shared by every action.