younifyd
Menu

Create a namespace alias

Create a namespace alias

POST/namespace-aliases

Use it in a workflow

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

Request

Request body

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

namestringrequired

The name of the alias to create. Must be 1-512 characters of printable ASCII, excluding space and `/ ? # % & = \ ; +`, and cannot be `__default__`, `.` or `..`. It shares one uniqueness space with namespace names: it cannot be the name of an existing namespace or alias, and no namespace can later be created under it.

target_namespacestringrequired

The namespace the alias resolves to. Must be an existing, active namespace in the index; an alias cannot point to another alias. To point the alias at the default namespace, use `__default__`.

json
{
  "name": "dataset",
  "target_namespace": "dataset_v1"
}

Response

Returns 200 with an object. Read it in later steps with {{createANamespaceAlias.response.data.<field>}}.

namestring

The name of the alias. Immutable after creation.

target_namespacestring

The namespace the alias resolves to. Changed only by repointing the alias. The default namespace is represented as `__default__`.

created_atstring (date-time)

The time the alias was created.

updated_atstring (date-time)

The time the alias was last repointed. Advances on every repoint, including a repoint to the alias's current target; equals `created_at` until the first repoint.

json
{
  "name": "dataset",
  "target_namespace": "dataset_v1",
  "created_at": "2026-09-01T12:00:00.000Z",
  "updated_at": "2026-09-01T12:00:00.000Z"
}

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